1 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3 * doc/install.texi (*-ibm-aix*): Update assembler and exception
5 * doc/trouble.texi (Interoperation): Add libstdc++ information
7 (Misunderstandings): Add template instantiation and static template
8 member information for AIX.
10 2002-01-17 Jason Merrill <jason@redhat.com>
12 * dbxout.c (dbxout_type): Support const and volatile.
14 * except.c (add_partial_entry): Remove backwards compatibility code.
15 (end_protect_partials): Likewise.
17 2002-01-17 Jakub Jelinek <jakub@redhat.com>
19 * config/ia64/ia64.md (prologue_use): New.
20 * config/ia64/ia64.c (ia64_expand_prologue): Use
21 gen_prologue_use instead of gen_rtx_USE.
22 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
23 as CODE_FOR_pred_rel_mutex.
24 (ia64_sched_reorder2): Likewise.
26 2002-01-16 Eric Christopher <echristo@redhat.com>
28 * config/mips/r3900.h: Reformat.
29 (SUBTARGET_CPP_SIZE_SPEC): Remove.
30 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
31 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
32 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
33 * config/mips/t-elf: Remove mips3 multilib.
35 2002-01-16 H.J. Lu <hjl@gnu.org>
37 * config/mips/linux.h: Include "mips/abi64.h".
39 2002-01-16 H.J. Lu <hjl@gnu.org>
41 * config/mips/t-linux: New.
43 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
45 * config/mips/linux.h: Don't include "gofast.h".
46 (INIT_SUBTARGET_OPTABS): Removed.
48 2002-01-16 Kazu Hirata <kazu@hxi.com>
50 * config/h8300/h8300-protos.h: Replace emit_a_shift with
52 * config/h8300/h8300.c: Likewise.
53 * config/h8300/h8300.md: Likewise.
55 2002-01-16 Kazu Hirata <kazu@hxi.com>
57 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
58 spaces after an opcode name.
59 (pushqi1_h8300hs): Likewise.
60 (pushhi1_h8300hs): Likewise.
62 2002-01-16 Kazu Hirata <kazu@hxi.com>
64 * doc/extend.texi: Replace "option" with "attribute"
67 2002-01-16 Jakub Jelinek <jakub@redhat.com>
69 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
70 (and:DI () (const_int -8)).
71 (split_small_symbolic_mem_operand): Split
72 (mem (and:DI () (const_int -8)).
74 2002-01-16 Jakub Jelinek <jakub@redhat.com>
77 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
78 same way as TYPE_IMUL.
79 (ultrasparc_sched_reorder): Likewise.
80 * config/sparc/sparc.md (type): Add comment to update
81 ultrasparc_sched_reorder when making changes.
83 2002-01-16 Kazu Hirata <kazu@hxi.com>
85 * doc/invoke.texi: Change the dump file name of block
86 reordering pass from 28.bbro to 29.bbro.
89 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
91 * i386.md (minsf splitter): Fix pasto.
93 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
95 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
96 to frame pointer initialisation instruction.
97 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
98 initialisation instruction.
99 (soft_df_operand): Do not accept the IP register.
100 (nonimmediate_soft_df_operand): Do not accept the IP register.
102 2002-01-16 Jakub Jelinek <jakub@redhat.com>
105 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
106 MASK_V8 being both set.
108 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
110 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
111 insn for GOT register; add REG_MAYBE_DEAD notes instead.
112 config/s390/s390.md (call, call_value): Add GOT register to
113 CALL_INSN_FUNCTION_USAGE where needed.
114 (call_exp, call_value_exp): New.
116 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
118 * config/arm/arm.c: General formatting tidy up.
120 2002-01-16 Graham Stott <grahams@redhat.com>
122 * calls.c (try_to_integrate): Use "(size_t)" intermediate
123 cast and when casting an integer literal to "rtx" pointer.
124 (expand_call): Likewise.
125 * flow.c (try_pre_increment): Likewise.
126 (find_use_as_address): Likewise.
127 * integrate.c (expand_iline_function): Likewise.
128 * regmove.c (try_auto_increment): Likewise.
130 2002-01-16 Graham Stott <grahams@redhat.com>
132 * sched-rgn.c (passed): Use sbitmap_free.
135 (in_queue): Likewise.
136 (in_stack): Likewise.
138 2002-01-15 Eric Christopher <echristo@redhat.com>
140 * flow.c (propagate_one_insn): Change to use fatal_insn.
142 2002-01-15 Kazu Hirata <kazu@hxi.com>
144 * expmed.c (extract_fixed_bit_field): Remove unused code.
145 * system.h: Poison SLOW_ZERO_EXTEND.
146 * doc/tm.texi: Remove.
147 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
148 * config/arm/arm.h: Likewise.
149 * config/avr/avr.h: Likewise.
150 * config/clipper/clipper.h: Likewise.
151 * config/convex/convex.h: Likewise.
152 * config/d30v/d30v.h: Likewise.
153 * config/dsp16xx/dsp16xx.h: Likewise.
154 * config/elxsi/elxsi.h: Likewise.
155 * config/fr30/fr30.h: Likewise.
156 * config/h8300/h8300.h: Likewise.
157 * config/i370/i370.h: Likewise.
158 * config/i386/i386.h: Likewise.
159 * config/m68k/m68k.h: Likewise.
160 * config/mips/mips.h: Likewise.
161 * config/ns32k/ns32k.h: Likewise.
162 * config/pdp11/pdp11.h: Likewise.
163 * config/pj/pj.h: Likewise.
164 * config/s390/s390.h: Likewise.
165 * config/sh/sh.h: Likewise.
166 * config/stormy16/stormy16.h: Likewise.
167 * config/v850/v850.h: Likewise.
168 * config/vax/vax.h: Likewise.
169 * config/we32k/we32k.h: Likewise.
171 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
173 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
174 (altivec_lvsl): Change constraint to b.
175 (altivec_lvsr): Same.
176 (altivec_lvebx): Same.
177 (altivec_lvehx): Same.
178 (altivec_lvewx): Same.
179 (altivec_lvxl): Same.
181 (altivec_stvx): Add parallel.
182 (altivec_stvxl): Same.
183 (altivec_stvehx): Same.
184 (altivec_stvebx): Same.
185 (altivec_stvebx): Same.
187 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
189 * config.gcc: Change altivec.h to altivec-defs.h.
191 * config/rs6000/altivec.h: Delete.
193 * config/rs6000/altivec-defs.h: Add.
195 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
197 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
200 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
201 less than or equal to eight bytes.
203 * vax.md (andsi3): Remove constraints and change SET destination
204 operand type to nonimmediate_operand.
205 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
206 when it is a CONST_INT.
208 2002-01-15 Jason Merrill <jason@redhat.com>
210 * c-common.def (FILE_STMT): New code.
211 * c-common.c (statement_code_p): It's a statement.
212 * c-common.h (stmt_tree_s): Add x_last_filename.
213 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
214 (last_expr_filename): New macro.
215 * c-semantics.c (begin_stmt_tree): Initialize it.
216 (add_stmt): If the filename changed, also insert a
218 (expand_stmt): Handle seeing one.
220 2002-01-15 Eric Christopher <echristo@redhat.com>
222 * flow.c (propagate_one_insn): Add error message and print out
225 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
227 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
228 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
229 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
230 TRAMPOLINE_ALIGNMENT.
231 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
233 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
234 PCC_BITFIELD_TYPE_MATTERS.
235 * config/interix.h (STDC_VALUE): Remove. Use
236 STDC_0_IN_SYSTEM_HEADERS.
237 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
238 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
239 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
241 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
243 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
244 not work on this platform currently.
246 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
248 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
249 readonly_warning in _().
251 2002-01-15 Douglas B Rupp <rupp@gnat.com>
253 * gcc.c (delete_if_ordinary): Backout previous change.
255 2002-01-15 Kazu Hirata <kazu@hxi.com>
257 * config/h8300/h8300.c (print_operand): Remove support for
258 unused operand characters.
260 * read-rtl.c: Fix formatting.
263 * regclass.c: Likewise.
264 * regmove.c: Likewise.
265 * reg-stack.c: Likewise.
266 * reload1.c: Likewise.
267 * rtlanal.c: Likewise.
269 2002-01-15 Kazu Hirata <kazu@hxi.com>
271 * config/i386/i386.c: Fix formatting.
273 2002-01-15 Jakub Jelinek <jakub@redhat.com>
275 * c-typeck.c (process_init_element): Don't save_expr
276 COMPOUND_LITERAL_EXPR if just its initializer will be used.
278 2002-01-15 David Edelsohn <edelsohn@gnu.org>
280 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
281 emit optional traceback table if optimize_size or TARGET_ELF.
282 * config/rs6000/rs6000.md (prefetch): New.
284 2002-01-15 Andreas Jaeger <aj@suse.de>
286 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
288 2002-01-15 Kazu Hirata <kazu@hxi.com>
290 * mips-tfile.c: Fix formatting.
292 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
294 * unroll.c (final_reg_note_copy): Fix previous commit.
296 2002-01-14 Kazu Hirata <kazu@hxi.com>
298 * config/h8300/h8300-protos.h: Remove the prototype for
300 * config/h8300/h8300.c (eq_operator): Remove.
302 2002-01-14 Richard Henderson <rth@redhat.com>
304 * config/i386/i386.md (prefetch): Tidy.
305 (prefetch_3dnow): Fix locality operand.
307 2002-01-14 Richard Henderson <rth@redhat.com>
309 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
310 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
312 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
314 * reload1.c (reload_combine): Pass reg_sum replacement through
315 copy_rtx in loop performing multiple changes.
317 2002-01-14 Jakub Jelinek <jakub@redhat.com>
319 * except.c (remove_unreachable_regions): New.
320 (free_eh_status): Clear exception_handler_labels.
321 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
322 (find_exception_handler_labels): Don't add the same label more than
324 (remove_exception_handler_label): Don't die if
325 find_exception_handler_labels hasn't been called for the current
328 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
330 * toplev.c (rest_of_compilation): Rebuild jump labels after
333 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
335 * doc/extend.texi: Move documentation of X86 built-in functions
337 * doc/invoke.texi: From here.
338 * doc/sourcebuild.texi: Document location of documentation for
339 machine built-in functions.
341 2002-01-13 Christopher Faylor <cgf@redhat.com>
343 * cppfiles.c (TEST_THRESHOLD): New macro.
344 (SHOULD_MMAP): Ditto.
345 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
348 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
350 * unroll.c (final_reg_note_copy): Properly handle
352 (unroll_loops): Fix LOOP_CONDITION heuristics.
354 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
356 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
357 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
359 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
361 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
364 2002-01-14 Tom Rix <trix@redhat.com>
366 * config/rs6000/rs6000.md: Fix typo with sradi.
368 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
370 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
371 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
372 (clrstrdi, clrstrsi): Adapt callers.
374 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
376 (movti splitter): Never use register 0 as base register.
378 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
380 * combine.c (simplify_shift_const): Always generate new rtx
381 for shift expression instead of reusing given expression.
383 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
385 * config/alpha/alpha.c (alpha_expand_mov): Don't call
386 alpha_legitimize_address unless mode is Pmode.
388 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
390 * doc/md.texi (Modifiers): Document the '*' constraint for the
393 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
394 * doc/extend.texi (Function Attributes): 'interrupt' is valid
397 2002-01-13 Richard Henderson <rth@redhat.com>
399 * reload.c (find_reloads): Use a hard reg destination as reload reg
400 for an input reload of the source.
402 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
404 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
407 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
409 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
410 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
412 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
414 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
416 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
418 2002-01-12 Tom Rix <trix@redhat.com>
420 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
423 2002-01-12 Richard Henderson <rth@redhat.com>
425 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
427 * doc/invoke.texi: Update Alpha options.
429 * doc/invoke.texi: Update i386 built-in function lists.
431 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
433 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
436 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
438 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
439 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
440 offsets, and change line folding.
441 * optabs.c (expand_binop): Remove warnings.
442 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
444 2002-01-12 Graham Stott <grahams@redhat.com>
446 * attribs.c (handle_deprecated_attribute): constify WHAT.
447 * diagnostic.c (warn_deprecated_use): Add braces, fixes
448 dangling else warning and constify WHAT.
449 * except.h (struct function, struct inline_remap): Move
450 struct tag forward defs before all prototypes.
451 (duplicate_eh_regions): Whitespace.
453 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
455 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
457 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
459 2002-01-12 Richard Henderson <rth@redhat.com>
461 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
462 (ix86_expand_vector_move): New.
463 (bdesc_2arg): Remove andps, andnps, orps, xorps.
464 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
465 Remove old prefetch builtins. Special case the logicals removed above.
466 (ix86_expand_builtin): Likewise.
467 (safe_vector_operand): Use V4SFmode, not TImode.
468 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
469 (ix86_expand_timode_binop_builtin): New.
470 * config/i386/i386-protos.h: Update.
471 * config/i386/i386.h (enum ix86_builtins): Update.
472 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
473 Use ix86_expand_vector_move in vector move expanders.
474 (movti_internal, movti_rex64): Add xorps alternative.
475 (sse_clrv4sf): Rename and adjust from sse_clrti.
476 (prefetch): Don't work so hard.
477 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
478 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
479 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
481 2002-01-11 Richard Henderson <rth@redhat.com>
483 * config/i386/mmintrin.h: New file.
484 * config/i386/xmmintrin.h: New file.
485 * config.gcc (i?86-*-*): Add extra_headers.
486 * simplify-rtx.c (simplify_unary_operation): Handle saturating
488 (simplify_binary_operation): Handle saturating arithmetic codes.
489 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
490 not the lowpart subreg.
491 (ix86_expand_builtin): Return a TImode dummy register instead of 0
493 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
495 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
497 * conflict.c (conflict_graph_compute): Free regsets when finished.
498 * ssa.c (compute_coalesced_reg_partition): Likewise.
500 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
502 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
503 every where we allocate a register.
505 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
507 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
508 * lcm.c (compute_earliest, compute_farthest): Likewise.
510 2002-01-11 Janis Johnson <janis187@us.ibm.com>
512 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
514 2002-01-11 Janis Johnson <janis187@us.ibm.com>
516 * doc/rtl.texi (Insns): Fix 2 typos.
518 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
520 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
521 options. Use @table @gcctabopt for MMIX options. Add index
522 entries for MMIX options. Start new paragraph with first
523 heading of the machine-dependent options.
525 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
528 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
529 * combine.c (force_to_mode): Same.
530 * reload1.c (clear_reload_reg_in_use): Same.
532 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
534 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
537 2002-01-11 Andreas Jaeger <aj@suse.de>,
538 Brad Lucier <lucier@math.purdue.edu>
540 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
543 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
545 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
546 Protect with IN_LIBGCC.
547 (LINK_EH_SPEC): Add required trailing space.
549 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
551 * c-tree.h: Move function declarations so that they are listed
552 under the filename which contains them.
553 (check_identifier, finish_decl_top_level,
554 lookup_name_current_level_global, shadow_record_fields): Remove.
556 2002-01-11 Andreas Jaeger <aj@suse.de>
558 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
561 2002-01-10 Richard Henderson <rth@redhat.com>
563 * config/alpha/alpha.c (print_operand): Add 'J'.
564 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
565 new operand with the sequence number for the lituse. When splitting
566 the insns, use gen_movdi_er_high_g and generate a sequence number.
567 (gen_movdi_er_high_g): Print the sequence number if non-zero.
569 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
571 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
572 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
574 (altivec_expand_builtin): Same.
575 (altivec_expand_stv_builtin): New.
577 * config/rs6000/rs6000.h (rs6000_builtins): Same.
579 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
580 ("altivec_lvehx"): New.
581 ("altivec_lvewx"): New.
582 ("altivec_lvxl"): New.
583 ("altivec_lvx"): New.
584 ("altivec_stvx"): New.
585 ("altivec_stvebx"): New.
586 ("altivec_stvehx"): New.
587 ("altivec_stvewx"): New.
588 ("altivec_stvxl"): New.
590 2002-01-10 Richard Henderson <rth@redhat.com>
592 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
593 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
594 care not to delete instructions twice.
596 2002-01-10 Zack Weinberg <zack@codesourcery.com>
598 * toplev.c: Don't declare environ (it's not used anywhere).
599 * configure.in: Don't check for declaration of environ.
600 * config/i386/xm-mingw32.h: Don't #define environ.
601 * config.in, configure: Regenerate.
603 2002-01-10 Zack Weinberg <zack@codesourcery.com>
605 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
606 * configure: Regenerate.
608 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
609 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
610 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
612 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
613 LIMITS_H_TEST here, not in m68k/x-next.
614 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
615 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
617 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
618 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
619 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
621 * config/i386/x-djgpp: Renamed i386/t-djgpp.
622 * config/m88k/x-dolph: Renamed m88k/t-dolph.
623 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
624 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
625 replacement of quadlib.asm with quadlib.c.
627 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
628 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
629 config/rs6000/xm-beos.h: Delete file.
631 * config.gcc: Update to match above changes.
633 2002-01-10 Kazu Hirata <kazu@hxi.com>
635 * config/h8300/h8300.h: Fix comment typos.
636 * config/h8300/h8300.md: Likewise.
637 * config/h8300/lib1funcs.asm: Likewise.
639 2002-01-10 Dale Johannesen <dalej@apple.com>
642 * unroll.c (precondition_loop_p): Make *increment be the correct
643 sign when n_iterations known, to avoid confusing caller.
645 2002-01-10 Kazu Hirata <kazu@hxi.com>
647 * doc/extend.texi (deprecated): Fix a typo.
649 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
651 * basic-block.h (update_br_prob_note): Declare.
652 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
653 (try_forward_edges): Care negative frequencies and update note.
654 (outgoing_edges_match): Tweek conditional merging heuristics.
655 (try_crossjump_to_edge): use update_br_prob_note.
656 * cfglayout.c (fixup_reorder_chain): Likewise.
657 * cfrtl.c (update_br_prob_note): New.
658 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
660 * i386.c (ix86_decompose_address): Return -1 if address contains
662 (legitimate_address_p): Require ix86_decompose_address to return 1.
664 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
665 (cprop_insn): Likewise.
667 2002-01-10 Kazu Hirata <kazu@hxi.com>
669 * toplev.c: Fix formatting.
671 * tree-dump.c: Likewise.
672 * unroll.c: Likewise.
673 * unwind-dw2.c: Likewise.
674 * unwind-dw2-fde.c: Likewise.
675 * unwind-dw2-fde-glibc.c: Likewise.
676 * unwind-sjlj.c: Likewise.
678 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
680 * doc/invoke.texi: Document PDP-11 options.
682 2002-01-10 Kazu Hirata <kazu@hxi.com>
684 * config/h8300/h8300.h: Fix formatting.
686 2001-01-10 Ira Ruben <ira@apple.com>
688 Add __attribute__ ((deprecated)).
689 * extend.texi: Document __attribute__ ((deprecated)).
690 * invoke.texi: Document -Wno-deprecated-declarations.
691 * testsuite/g++.dg/other/deprecated.C: New C++ test.
692 * testsuite/gcc.dg/deprecated.c: New C test.
693 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
694 (c_common_attribute_table): Add "deprecated" entry.
695 (handle_deprecated_attribute): New function.
696 * c-decl.c (deprecated_states): New enum.
697 deprecated_state: State of "deprecated" handling.
698 (start_decl): Set deprecated_state based on attributes.
699 (grokdeclarator): Test for deprecated uses, propagate attribute.
700 * c-typeck.c (build_component_ref): Test for deprecated fields.
701 (build_external_ref): Test for deprecated primaries.
702 * diagnostic.c (warn_deprecated_use) New function to issue
703 warnings about __attribute__ ((depricated)) references.
704 * flags.h (warn_deprecated_decl): Extern declared for
705 -W[no-]deprecated-declarations option.
706 * print-tree.c (print_node): Show deprecated flag status.
707 * toplev.c (warn_deprecated_decl): Defined.
708 (W_options): Added "deprecated-declaration".
709 * toplev.h (warn_deprecated_use): Extern declared.
710 * tree.h (struct tree_common): Define deprecated_flag.
711 (TREE_DEPRECATED): New macro to access flag.
712 * cp/call.c (build_call): Test for deprecated calls.
713 * cp/class.c (add_implicitly_declared_members): Set global
714 flag to tell grokdeclarator to not issue deprecated warnings.
715 * cp/cp-tree.h: Add extern for adding_implicit_members.
716 * cp/decl.c (deprecated_states): New enum.
717 (start_decl): Set deprecated_state based on attributes.
718 (grokdeclarator): Test for deprecated uses, propagate attribute.
719 * cp/lex.c (do_identifier): Test for deprecated primaries.
720 * cp/typeck.c (build_component_ref): Test for deprecated fields.
722 2001-01-10 Ira Ruben <ira@apple.com>
724 Fix to assign attributes to inline member functions.
725 * cp/decl.c (start_method): Handle attrlist.
727 2002-01-10 Kazu Hirata <kazu@hxi.com>
729 * combine.c (expand_field_assignment): Use subreg_lsb().
731 2002-01-10 David Edelsohn <edelsohn@gnu.org>
733 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
734 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
735 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
736 Recurse for any operand of AND as long as constant is non-zero.
738 2002-01-10 Kazu Hirata <kazu@hxi.com>
740 * config/h8300/h8300.md: Remove constraints from expanders.
742 2002-01-10 Kazu Hirata <kazu@hxi.com>
744 * varasm.c: Fix formatting.
745 * varray.c: Likewise.
746 * vmsdbgout.c: Likewise.
747 * xcoffout.c: Likewise.
749 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
751 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
752 update edge probabilities to match.
754 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
756 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
758 * doc/languages.texi, doc/sourcebuild.texi: New files.
759 * doc/configfiles.texi: Make a subsubsection. Update.
760 * doc/configterms.texi: Add @node. Remove warning that this isn't
761 instructions for building GCC.
762 * doc/makefile.texi: Make a subsection.
763 * doc/gccint.texi: Update.
765 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
767 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
769 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
771 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
773 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
775 * optabs.c (expand_fix): Look for wider integer modes first.
777 * i386.md (mov?f): Avoid the fake const double trick for medium
779 (min?f*/max?f*): Prohibit memory operands for i387 variant.
780 (fop_df_4): Disable for SSE compilation.
782 2002-01-10 Graham Stott <grahams@redhat.com>
784 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
785 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
787 2002-01-10 Richard Henderson <rth@redhat.com>
789 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
791 2002-01-10 Richard Henderson <rth@redhat.com>
793 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
794 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
796 2002-01-10 Kazu Hirata <kazu@hxi.com>
798 * combine.c (can_combine_p): Fix a comment typo.
800 2002-01-09 Zack Weinberg <zack@codesourcery.com>
802 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
803 empty list correctly. Change loop index $t to $f for
804 consistency with rest of Makefile.
806 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
808 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
809 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
811 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
812 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
813 (altivec_init_builtins): Same.
814 (altivec_expand_unop_builtin): Return NULL_RTX on error.
815 (altivec_expand_binop_builtin): Same.
816 (altivec_expand_ternop_builtin): Same.
819 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
820 ("altivec_vctuxs"): Fix typo.
821 ("altivec_vnmsubfp"): Same.
822 ("altivec_dssall"): New.
823 ("altivec_mfvscr"): New.
824 ("altivec_dss"): New.
825 ("altivec_lvsl"): New.
826 ("altivec_lvsr"): New.
827 ("altivec_dstt"): New.
828 ("altivec_dstst"): New.
829 ("altivec_dststt"): New.
830 ("altivec_dst"): New.
832 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
833 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
835 2002-01-09 Richard Henderson <rth@redhat.com>
837 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
839 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
841 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
843 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
845 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
847 2002-01-09 Kazu Hirata <kazu@hxi.com>
849 * read-rtl.c: Fix formatting.
851 * regclass.c: Likewise.
852 * regrename.c: Likewise.
853 * reg-stack.c: Likewise.
854 * reload1.c: Likewise.
855 * reload.c: Likewise.
858 2002-01-09 Kazu Hirata <kazu@hxi.com>
860 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
861 to extract items in the expr_list chain.
863 2002-01-09 Richard Henderson <rth@redhat.com>
865 * config/vax/vax.c (vax_rtx_cost): Never abort.
867 * config/vax/vax.h (REAL_ARITHMETIC): Define.
869 2002-01-09 Jan Hubicka <jh@suse.cz>
871 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
873 2002-01-09 Richard Henderson <rth@redhat.com>
875 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
876 Unify code from various alternatives.
878 2002-01-09 Richard Henderson <rth@redhat.com>
880 * regrename.c (copy_value): Ignore the copy if the source register
881 is present in the value chain with a narrower mode.
883 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
885 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
886 for the c4x target. Also improve layout.
888 2002-01-09 Richard Henderson <rth@redhat.com>
890 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
891 * config/m32r/m32r.md (and ior xor splitters): Swap operands
892 to match insn patterns.
894 2002-01-09 Richard Henderson <rth@redhat.com>
896 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
897 (copyprop_hardreg_forward_1): Likewise.
899 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
901 * pa.md (decrement_and_branch_until_zero): Change predicate for
902 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
904 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
906 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
907 gets undefined. For Darwin.
909 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
911 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
913 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
915 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
917 2002-01-08 Richard Henderson <rth@redhat.com>
919 * regrename.c (copy_value): Ignore overlapping copies.
921 2002-01-08 Richard Henderson <rth@redhat.com>
923 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
924 as needed to avoid shared structure.
926 2002-01-08 Kazu Hirata <kazu@hxi.com>
928 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
931 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
933 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
934 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
935 documentation of obsolete macros.
936 * system.h: Poison these macros.
937 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
938 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
939 config/c4x/c4x.h, config/clipper/clipper.h,
940 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
941 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
942 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
943 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
944 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
945 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
946 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
947 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
948 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
949 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
950 config/sparc/sparc.h, config/stormy16/stormy16.h,
951 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
952 definitions and commented out definitions of obsolete macros.
953 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
954 of MAX_INT_TYPE_SIZE.
956 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
958 * config/s390/s390.c (s390_preferred_reload_class): Never
959 return ADDR_REGS if it isn't a subset of the given class.
960 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
961 FP_REGS, but all superclasses as well.
963 * config/s390/s390.c (s390_function_profiler): Fix thinko.
965 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
966 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
967 must not be a const_int.
969 2002-01-08 Richard Henderson <rth@redhat.com>
971 * Makefile.in (toplev.o): Depend on options.h.
972 (gcc.o): Depend on specs.h.
974 2002-01-08 Jakub Jelinek <jakub@redhat.com>
976 * expr.c (store_expr): Convert VOIDmode constants back to target's
979 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
981 * doc/invoke.texi: Markup gcc as @command. Refer to
982 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
983 of http://gcc.gnu.org/thanks.html.
985 2002-01-08 Dale Johannesen <dalej@apple.com>
987 * config/rs6000/rs6000.md: Add missing int register
988 target case to movdf_low.
990 2002-01-08 Zack Weinberg <zack@codesourcery.com>
992 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
993 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
994 (cppinit.o): Depend on except.h.
995 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
998 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
999 Don't create specs.h/options.h/gencheck.h here. Remove
1000 unnecessary variable settings from last argument of AC_OUTPUT.
1001 * config.in, configure: Regenerate.
1002 * intl.c: Hardcode package name as "gcc".
1004 * cppinit.c: Include except.h.
1005 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
1007 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
1008 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
1009 (!)USING_SJLJ_EXCEPTIONS.
1010 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
1012 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1014 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
1015 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
1016 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
1017 documentation of obsolete macros.
1018 * system.h: Poison these macros.
1019 * config/d30v/d30v.h, config/ns32k/encore.h,
1020 config/stormy16/stormy16.h: Remove definitions and commented out
1021 definitions of obsolete macros.
1023 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
1025 * objc/objc-act.c (handle_class_ref): Mark the declaration of
1026 %sobjc_class_ref_%s as used - to prevent unwanted compiler
1029 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1031 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
1032 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
1033 to insn adjusting stack/frame pointer.
1034 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
1035 accept operands that cause the insn to be non-splittable.
1037 2002-01-08 Graham Stott <grahams@redhat.com>
1039 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
1040 (C_TYPE_FIELDS_VOLATILE): Likewise.
1041 (C_TYPE_BEING_DEFINED): Likewise.
1042 (C_IS_RESERVED_WORD): Likewise.
1043 (C_TYPE_VARIABLE_SIZE): Likewise.
1044 (C_DECL_VARIABLE_SIZE): Likewise.
1045 (C_MISSING_PROTOTYPE_WARNED): Likewise.
1046 (C_SET_EXP_ORIGINAL_CODE): Likewise.
1047 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
1049 (C_DECL_ANTICIPATED): Likewise.
1050 (c_build_type_variant): Add parenthesis.
1052 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1054 * gcc.c (option_map): Remove --version.
1055 (process_command): Handle -fversion following the GNU Coding
1056 Standards. Partially addresses PR other/704.
1058 2002-01-08 Graham Stott <grahams@redhat.com>
1060 * combine.c (combine_instructions): Fix typo.
1062 2002-01-08 Graham Stott <grahams@redhat.com>
1064 * debug.h: Use "tree" and "rtx" throughout.
1066 * debug.c: Likewise.
1068 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
1070 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
1071 constant pool, use the pool's version of the symbol instead.
1073 2002-01-07 Richard Henderson <rth@redhat.com>
1075 * regrename.c (find_oldest_value_reg): Ignore the value chain if
1076 the original register was copied in a mode with a fewer number of
1077 hard registers than the desired mode.
1078 (copyprop_hardreg_forward_1): Likewise.
1079 (debug_value_data): Fix loop test.
1080 * toplev.c (parse_options_and_default_flags): Reenable
1081 -fcprop-registers at -O1.
1083 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1085 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
1086 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
1088 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
1091 * config/rs6000/rs6000.md: Add altivec predicate patterns.
1093 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
1095 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
1096 (pa_output_function_prologue): Output local label at the beginning of
1097 the prologue when profiling.
1098 (hppa_profile_hook): Use the local label rather than the function label.
1099 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
1101 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1103 * config/rs6000/rs6000.c (print_operand): Remove extra space.
1104 (altivec_expand_unop_builtin): Fix thinko.
1105 (altivec_expand_binop_builtin): Same.
1106 (altivec_expand_ternop_builtin): Same.
1107 (altivec_expand_builtin): Same.
1109 2002-01-07 Richard Henderson <rth@redhat.com>
1111 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
1113 2002-01-07 Jason Merrill <jason@redhat.com>
1115 * unwind-dw2.c (execute_cfa_program): Use < again.
1117 2002-01-07 Jakub Jelinek <jakub@redhat.com>
1119 * predict.c (combine_predictions_for_insn): Avoid division by zero.
1121 2002-01-07 Jakub Jelinek <jakub@redhat.com>
1123 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
1124 Don't allow -1 - x -> ~x simplifications in the first pass.
1126 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1128 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
1130 (altivec_expand_binop_builtin): Same.
1131 (altivec_expand_unop_builtin): Same.
1132 (print_operand): Fix typo.
1133 (bdesc_1arg): Add vupk* variants.
1135 * rs6000.h (rs6000_builtins): Add vupk* enums.
1137 * rs6000.md: Add altivec_vupk* variants.
1139 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
1141 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
1142 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
1143 and last update dates.
1145 2002-01-07 Janis Johnson <janis187@us.ibm.com>
1147 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
1149 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
1151 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
1152 * config/avr/avr.h (CPP_SPEC): Likewise.
1153 (LINK_SPEC): Likewise.
1154 (CRT_BINUTILS_SPECS): Likewise.
1155 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
1156 * doc/invoke.texi (AVR Options): Document them.
1158 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
1160 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
1163 2002-01-07 Graham Stott <grahams@redhat.com>
1165 * config/i386/i386.h: Update copyright date.
1166 (HALF_PIC_PTR): Add parenthesis.
1167 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
1168 (CONSTANT_ALIGNMENT): Add parenthesis.
1169 (DATA_ALIGNMENT): Likewise.
1170 (LOCAL_ALIGNMENT): Likewise.
1171 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
1172 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
1173 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
1174 (HARD_REGNO_NREGS): Add paranethesis.
1175 (VALID_SSE_REG_MODE): Whitespace.
1176 (VALID_MMX_REG_MODE): Whitespace.
1177 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
1178 (ix86_hard_regno_mode_ok): Add parenthesis.
1179 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
1180 (RETURN_IN_MEMORY): Whitespace.
1181 (N_REG_CLASSES): Add parenthesis.
1182 (INTEGER_CLASS_P): Add parenthesis and wrap.
1183 (FLOAT_CLASS_P): Likewise.
1184 (SSE_CLASS_P): Likewise.
1185 (MMX_CLASS_P): Likewise.
1186 (MAYBE_INTEGER_CLASS_P): Likewise.
1187 (MAYBE_FLOAT_CLASS_P): Likewise.
1188 (MAYBE_SSE_CLASS_P): Likewise.
1189 (MAYBE_MMX_CLASS_P): Likewise.
1190 (Q_CLASS_P): Likewise.
1191 (GENERAL_REGNO_P): Uppercase macro parameter.
1192 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
1193 (FP_REGNO_P): Likewise.
1194 (ANY_FP_REGNO_P): Uppercase macro parameter.
1195 (SSE_REGNO_P): Likewise.
1196 (SSE_REGNO): Likewise.
1197 (SSE_REG_P): Likewise.
1198 (SSE_FLOAT_MODE_P): Likewise.
1199 (MMX_REGNO_P): Likewise.
1200 (MMX_REG_P):Likewise.
1201 (STACK_REG_P): Likewise.
1202 (NON_STACK_REG_P): Likewise.
1203 (STACK_TOP_P): Likewise.
1204 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
1205 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
1206 (SECONDARY_MEMORY_NEEDED): Likewise.
1207 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
1208 (MD_ASM_CLOBBERS): Whitespace and wrap.
1209 (MUST_PASS_IN_STACK): Whitespace and wrap.
1210 (RETURN_POPS_ARGS): Add parenthesis.
1211 (INIT_CUMULATIVE_ARGS): Likewise.
1212 (FUNCTION_ARG): Likewise.
1213 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
1214 (SETUP_INCOMING_VARARGS): Likewise.
1215 (BUILD_VA_LIST_TYPE): Add parenthesis.
1216 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
1218 (EXPAND_BUILTIN_VA_ARG): Likewise.
1219 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
1220 (INITIALIZE_TRAMPOLINE): Add parenthesis.
1221 (INITIAL_ELIMINATION_OFFSET): Likewise.
1222 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
1223 (REGNO_OK_FOR_BASE_P): Likewise.
1224 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
1225 (REGNO_OK_FOR_DIREG_P): Likewise.
1226 (REG_OK_FOR_INDEX_P): Whitespace.
1227 (REG_OK_FOR_BASE_P): Whitespace.
1228 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
1230 (FIND_BASE_TERM): Fix typo.
1231 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
1232 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
1233 (SYMBOLIC_CONST; Whitespace.
1234 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
1235 (ENCODE_SECTION_INFO): Whitespace.
1236 (FINALIZE_PIC): Remove do { ... } while (0).
1237 (PROMOTE_MODE): Wrap in do { ... } while (0).
1238 (CONST_COSTS): Whitespace.
1239 (RTX_COSTS): Add paramethesis, whitespace and wrap.
1240 (REGISTER_MOVE_COST): Add parenthesis.
1241 (MEMORY_MOVE_COST): Likewise.
1242 (EXTRA_CC_MODES): Whitespace.
1243 (SELECT_CC_MODE): Add parenthesis and whitespace.
1244 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
1245 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
1246 (ASM_OUTPUT_LABEL): Add paramethesis.
1247 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
1248 (ASM_OUTPUT_REG_POP): Likewise.
1249 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
1250 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
1252 * config/i386/i386.c: Update copyright.
1253 (CHECK_STACK_LIMIT): Add parenthesis.
1254 (AT_BP): Uppercase macro parameter.
1255 (x86_64_int_parameter_registers): Constify.
1256 (x86_64_int_return_registers): Likewise.
1257 (ix86_compare_op0): Use rtx.
1258 (construct_container): Constify INTREG parameter.
1259 (function_arg): Use rtx.
1261 * diagnostic.h: Update copyright date.
1262 (output_buffer_state): Add parenthesis.
1263 (output_buffer_format_args): Likewise.
1265 * combine.c (combine_instructions): Replace XEXP (links, 0)
1268 2002-01-06 H.J. Lu <hjl@gnu.org>
1270 * cfgcleanup.c (thread_jump): Fix 2 typos.
1272 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
1274 * config.gcc: Add support for --enable-altivec.
1276 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
1278 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
1280 2002-01-06 Jakub Jelinek <jakub@redhat.com>
1282 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
1283 __objc_class_name_*.
1285 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
1287 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
1289 2002-01-06 Richard Henderson <rth@redhat.com>
1291 * reorg.c (emit_delay_sequence): Remove death notes, not merely
1292 nop them out. Increment label reference count for REG_LABEL.
1293 (fill_slots_from_thread): Frob label reference count around
1294 delete_related_insns.
1296 2002-01-05 Richard Henderson <rth@redhat.com>
1298 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
1301 2002-01-05 Richard Henderson <rth@redhat.com>
1303 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
1304 * integrate.c (output_inline_function): Likewise.
1305 * toplev.c (rest_of_compilation): Do it here instead. Move call
1306 to remove_unnecessary_notes after emitting abstract instance.
1307 Force an emitted nested function to have its parent emited as well.
1308 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
1310 (rtl_for_decl_location): Do not look at reload data structures
1311 before reload has run.
1313 2002-01-05 Kazu Hirata <kazu@hxi.com>
1315 * cse.c: Fix formatting.
1316 * dwarf2asm.c: Likewise.
1317 * dwarf2out.c: Likewise.
1318 * explow.c: Likewise.
1319 * expmed.c: Likewise.
1320 * function.c: Likewise.
1322 * gencheck.c: Likewise.
1323 * genrecog.c: Likewise.
1324 * ggc-common.c: Likewise.
1325 * ggc-page.c: Likewise.
1326 * global.c: Likewise.
1328 2002-01-05 Kazu Hirata <kazu@hxi.com>
1330 * combine.c: Fix formatting.
1332 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
1335 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
1337 2002-01-05 David Edelsohn <edelsohn@gnu.org>
1339 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
1340 as 1 for __powerpc64__ as well.
1342 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
1344 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
1347 2002-01-05 Daniel Berlin <dan@dberlin.org>
1349 * lcm.c: Revert change, due to performance regression it causes on
1350 SPEC because it's slightly more conservative (sigh, I hate
1353 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
1355 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
1357 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
1359 * doc/cppinternals.texi: Update.
1361 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
1363 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
1364 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
1366 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
1367 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
1368 kludge for pre-october-14th mmix versions to handle new-found bug
1369 with PUSHJ/PUSHGO and the register stack.
1370 * config/mmix/mmix.h (struct machine_function): Rename member
1371 has_call_value_without_parameters to has_call_without_parameters.
1372 All referers changed.
1373 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
1374 TARGET_MASK_BRANCH_PREDICT): New macros.
1375 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
1376 -mno-reg-stack-fill-bug-workaround.
1377 * config/mmix/mmix.md ("call"): Set struct machine member
1378 has_call_without_parameters.
1380 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
1382 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
1384 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
1386 * cfgcleanup.c: Include tm_p.h
1387 (mark_effect): Fix handling of hard register; fix handling of SET
1389 2002-01-04 Kazu Hirata <kazu@hxi.com>
1391 * config/h8300/h8300.md (anonymous patterns): Check that
1392 operands are registers before using REGNO on them.
1394 2002-01-03 Roland McGrath <roland@frob.com>
1396 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
1398 2002-01-04 Jakub Jelinek <jakub@redhat.com>
1400 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
1401 * c-common.h (genrtl_expr_stmt_value): Likewise.
1402 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
1403 (expand_expr_stmt_value): Add maybe_last argument.
1404 Don't warn about statement with no effect if it is the last statement
1405 in expression statement.
1406 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
1407 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
1408 expand_expr_stmt_value.
1409 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
1410 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
1411 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
1412 as maybe_last to expand_expr_stmt_value.
1414 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
1416 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
1417 be passed in, do not build it.
1418 (c_begin_if_stmt): New function.
1419 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
1420 * c-common.h (c_expand_start_cond): Update prototype.
1421 (c_begin_if_stmt): Prototype new function.
1422 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
1423 * c-parse.in (if_prefix): Use c_begin_if_stmt,
1424 c_begin_while_stmt and c_finish_while_stmt_cond.
1426 2002-01-04 William Cohen <wcohen@redhat.com>
1428 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
1429 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
1430 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
1431 * config/pa/som.h (ASM_FILE_START): Likewise.
1433 2001-01-04 Daniel Berlin <dan@cgsoftware.com>
1435 * lcm.c: Include df.h.
1436 Add available_transfer_function prototype.
1437 (compute_available): Rework to use iterative dataflow framework.
1438 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
1439 with bb_info in df.h
1440 (available_transfer_function): New function.
1442 * Makefile.in (lcm.o): add df.h to dependencies.
1444 2002-01-04 Richard Henderson <rth@redhat.com>
1446 * config/alpha/alpha.c (some_operand): Accept HIGH.
1447 (input_operand): Likewise; accept simple references to globals.
1448 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
1449 (alpha_const_double_ok_for_letter_p): Likewise.
1450 (alpha_extra_constraint): Likewise.
1451 (alpha_preferred_reload_class): Likewise. Do not force
1452 symbolic constants to memory.
1453 (alpha_legitimate_address_p): Accept simple references
1454 to small_symbolic_operand.
1455 (alpha_legitimize_address): New arg scratch. Be prepared to be
1456 called when no_new_pseudos. Emit simple symbolic references.
1457 Split integers into low, high, and rest.
1458 (alpha_expand_mov): Use alpha_legitimize_address.
1459 (some_small_symbolic_mem_operand): New.
1460 (split_small_symbolic_mem_operand): New.
1461 * config/alpha/alpha-protos.h: Update.
1462 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
1463 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
1464 (EXTRA_CONSTRAINT): Likewise.
1465 (PREFERRED_RELOAD_CLASS): Likewise.
1466 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
1467 (PREDICATE_CODES): Update.
1468 * config/alpha/alpha.md: New post-reload splitters to convert
1469 simplfied symbolic operands to the form that references $29.
1470 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
1471 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
1473 2002-01-03 Richard Henderson <rth@redhat.com>
1475 * local-alloc.c (function_invariant_p): Update commentary.
1477 2002-01-04 H.J. Lu <hjl@gnu.org>
1479 * toplev.c (rest_of_compilation): Fix a typo when calling
1482 2002-01-03 Kazu Hirata <kazu@hxi.com>
1484 * c-common.c: Fix formatting.
1485 * diagnostic.c: Likewise.
1486 * doloop.c: Likewise.
1487 * dwarf2out.c: Likewise.
1489 2002-01-03 Kazu Hirata <kazu@hxi.com>
1491 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
1492 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
1494 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
1496 * cpperror.c: Update comments and copyright.
1497 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
1498 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
1500 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
1502 * collect2.c (main): Use strcmp when testing for "-shared".
1504 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
1506 * cppmacro.c: Don't include intl.h. Update comments.
1507 (new_number_token): Allocate enough buffer for 64-bit unsigned
1508 integers; update prototype.
1509 * cppmain.c: Update comments.
1511 2002-01-03 William Cohen <wcohen@redhat.com>
1513 * function.h (struct function): Add profile.
1514 (current_function_profile): New.
1515 doc/extend.texi: Update documentation.
1516 * final.c (final_start_function): Use current_function_profile
1517 instead of profile_flag.
1518 (profile_after_prologue): Likewise.
1519 * function.c (expand_function_start): Likewise.
1520 (expand_function_start): Likewise.
1521 * config/alpha/alpha.c (direct_call_operand):
1522 (alpha_does_function_need_gp): Likewise.
1523 (alpha_expand_prologue): Likewise.
1524 * config/arm/arm.c (arm_expand_prologue): Likewise.
1525 thumb_expand_prologue: Likewise.
1526 * config/d30v/d30v.c (d30v_stack_info): Likewise.
1527 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
1528 (fr30_expand_prologue): Likewise.
1529 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
1530 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
1531 * config/i386/i386.h (FINALIZE_PIC): Likewise.
1532 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
1533 * config/i960/i960.c (i960_output_function_prologue): Likewise.
1534 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
1535 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
1536 (m32r_expand_prologue): Likewise.
1537 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
1538 (m88k_expand_prologue): Likewise.
1539 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
1540 * config/mips/mips.c (compute_frame_size): Likewise.
1541 (mips_expand_prologue): Likewise.
1542 (mips_can_use_return_insn): Likewise.
1543 * config/pa/elf.h (ASM_FILE_START): Likewise.
1544 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
1545 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
1546 * config/pa/som.h (ASM_FILE_START): Likewise.
1547 * config/romp/romp.c (romp_using_r14): Likewise.
1548 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
1549 (rs6000_stack_info): Likewise.
1550 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
1551 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
1552 * config/v850/v850.c (compute_register_save_size): Likewise.
1554 2002-01-03 Jakub Jelinek <jakub@redhat.com>
1556 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
1557 gen_lowpart_common fails, use gen_lowpart_SUBREG.
1559 2002-01-03 Turly O'Connor <turly@apple.com>
1561 * darwin.c (machopic_output_possible_stub_label): Don't generate
1562 stub routines for pseudo-stubs which we've just defined.
1564 2002-01-03 Kazu Hirata <kazu@hxi.com>
1566 * builtins.c: Fix formatting.
1567 * c-typeck.c: Likewise.
1568 * combine.c: Likewise.
1572 2002-01-03 Andreas Schwab <schwab@suse.de>
1574 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
1575 and return true if _cpp_push_next_buffer pushed a new include
1577 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
1578 _cpp_pop_file_buffer did not push a new file.
1579 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
1581 2002-01-02 Eric Christopher <echristo@redhat.com>
1583 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
1584 FIND_REG_INC_NOTE call. Update copyright.
1585 * loop.c (canonicalize_condition): Ditto.
1586 * reorg.c (delete_scheduled_jump): Ditto.
1588 2002-01-03 Kazu Hirata <kazu@hxi.com>
1590 * gcse.c: Fix formatting.
1592 2002-01-03 Graham Stott <grahams@redhat.com>
1594 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
1595 forward defs for struct tags rtx_def, union_tree, rtvec_def
1596 also output corresponding typedefs for rtx, tree, and rtvec.
1598 * system.h: Move forward defs for struct tags rtx_def, union_tree,
1599 rtvec_def along with corresponding typedefs for rtx, tree, and
1600 rtvec to config.h, hconfig.h, tconfig.h.
1602 2002-01-03 Graham Stott <grahams@redhat.com>
1604 * tree.h: Update copyright date.
1605 (IS_EXPR_CODE_CLASS): Add parenthesis.
1606 (TREE_SET_CODE): Add whitespace.
1607 (TREE_CHECK): Add parenthesis.
1608 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
1609 (CST_OR_CONSTRUCTOR_CHECK):
1610 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
1611 (TREE_SYMBOL_REFERENCED): Whitespace.
1612 (INT_CST_LT): Likewise.
1613 (INT_CST_LT_UNSIGNED): Likewise.
1614 (tree_real_cst): Unwrap comment.
1615 (tree_string): Likewise.
1616 (tree_complex): Likewise.
1617 (IDENTIFIER_POINTER): correct cast.
1618 (SAVE_EXPR_CONTEXT): Whitespace.
1619 (EXPR_WFL_FILENAME_NODE): Likewise.
1620 (EXPR_WFL_FILENAME): Remove parenthesis.
1621 (DECL_ORIGIN): Add parenthesis.
1622 (DECL_FROM_INLINE): Use NULL_TREE.
1623 (build_int_2): Whitespace.
1624 (build_type_variant): Add parenthesis.
1626 * gcc/jcf-parse.c: Update copyright date.
1627 (yyparse): Constify resource_filename.
1629 2002-01-03 Graham Stott <grahams@redhat.com>
1631 * rtl.h: Update copyright date.
1632 (RTL_CHECK1): Wrap long line.
1633 (RTL_CHECK2): Likewise.
1634 (RTL_CHECKC1): Wrap long line and whitespace.
1635 (RTL_CHECKC2): Likewise.
1636 (XWINT): Whitespace.
1642 (XBITMAP): Likewise.
1653 (X0BITMAP): Likewise.
1655 (X0BBDEF): Likewise.
1656 (X0ADVFLAGS): Likewise.
1657 (X0CSELIB): Likewise.
1658 (X0MEMATTR): Likewise.
1666 (XCBITMAP): Likewise.
1668 (XCBBDEF): Likewise.
1669 (XCADVFLAGS): Likewise.
1670 (XCCSELIB): Likewise.
1672 (INSN_UID): Likewise.
1673 (PREV_INSN): Likewise.
1674 (PATTERN): Likewise.
1675 (INSN_CODE): Likewise.
1676 (PUT_REG_NOTE_KIND): Likewise.
1677 (CODE_LABEL_NUMBER): Likewise.
1678 (NOTE_SOURCE_FILE): Likewise.
1679 (NOTE_BLOCK): Likewise.
1680 (NOTE_EH_HANDLER): Likewise.
1681 (NOTE_RANGE_INFO): Likewise.
1682 (NOTE_LIVE_INFO): Likewise.
1683 (NOTE_BASIC_BLOCK): Likewise.
1684 (NOTE_EXPECTED_VALUE): Likewise.
1685 (NOTE_LINE_NUMBER): Likewise.
1686 (LABEL_NAME): Likewise.
1687 (LABEL_NUSES): Likewise.
1688 (LABEL_ALTERNATE_NAME): Likewise.
1689 (ADDRESSOF_DECL): Likewise.
1690 (JUMP_LABEL): Likewise.
1691 (LABEL_NEXTREF): Likewise.
1693 (ORIGINAL_REGNO: Likewise.
1694 (HARD_REGISTER_NUM_P): Add parenthesis.
1695 (SUBREG_REG): Whitespace.
1696 (SUBREG_BYTE): Likewise.
1697 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
1698 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
1699 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
1700 (ASM_OPERANDS_INPUT_VEC): Likewise.
1701 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
1702 (ASM_OPERANDS_INPUT): Likewise.
1703 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
1704 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
1705 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
1706 (ASM_OPERANDS_INPUT_MODE): Likewise.
1707 (ASM_OPERANDS_SOURCE_FILE): Likewise.
1708 (ASM_OPERANDS_SOURCE_LINE): Likewise.
1709 (MEM_SET_IN_STRUCT_P): Minor reformat.
1710 (TRAP_CONDITION): Whitespace.
1711 (TRAP_CODE): Likewise.
1712 (COND_EXEC_TEST): Likewise.
1713 (COND_EXEC_CODE): Likewise.
1714 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
1715 (PHI_NODE_P): Add parenthesis.
1716 (plus_constant): Whitespace and add parenthesis.
1718 2002-01-03 Kazu Hirata <kazu@hxi.com>
1720 * config/avr/avr.c: Fix comment typos.
1721 * config/c4x/c4x.md: Likewise.
1722 * config/dsp16xx/dsp16xx.h: Likewise.
1723 * config/dsp16xx/dsp16xx.md: Likewise.
1724 * config/i386/i386.md: Likewise.
1725 * config/ia64/ia64.c: Likewise.
1726 * config/m32r/m32r.h: Likewise.
1727 * config/m68hc11/m68hc11.md: Likewise.
1728 * config/mmix/mmix.c: Likewise.
1729 * config/mn10200/mn10200.c: Likewise.
1730 * config/romp/romp.c: Likewise.
1731 * config/sh/sh.c: Likewise.
1732 * config/stormy16/stormy16.c: Likewise.
1733 * config/stormy16/stormy16.h: Likewise.
1734 * config/stormy16/stormy16.md: Likewise.
1736 2002-01-03 Graham Stott <grahams@redhat.com>
1738 * loop.h: Update copyright date.
1739 (LOOP_MOVABLES): Fix typo.
1740 (LOOP_REGS): Likewise.
1741 (LOOP_IVS): Likewise.
1743 2002-01-03 Graham Stott <grahams@redhat.com>
1745 * cppinit.c: Update copyright date.
1746 Don't include output.h
1747 * Makefile.in: Update copyright date.
1750 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
1753 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
1754 (-pthread) Add to RS/6000 options.
1756 2002-01-02 Kazu Hirata <kazu@hxi.com>
1758 * except.c: Fix comment typos.
1760 * varasm.c: Likewise.
1761 * doc/tm.texi: Fix a typo.
1763 2002-01-02 Jakub Jelinek <jakub@redhat.com>
1765 * c-typeck.c (output_init_element): Allow initializing static storage
1766 duration objects with compound literals.
1768 2002-01-02 Richard Henderson <rth@redhat.com>
1770 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
1773 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1775 * gcc.c (default_compilers): Const-ify.
1776 * mips-tdump.c (stab_names): Likewise.
1777 * mips-tfile.c (map_coff_types, map_coff_storage,
1778 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
1779 pseudo_ops_t, pseudo_ops): Likewise.
1780 * protoize.c (default_include): Likewise
1782 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
1783 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
1784 Add array size in declaration.
1785 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
1786 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
1787 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
1788 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
1789 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
1790 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
1791 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
1792 emtens, make_nan): Const-ify.
1793 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
1794 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
1796 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
1798 * config.gcc (ia64-*-*): Set extra_headers.
1799 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
1800 * config/alpha/t-osf: Remove.
1801 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
1803 2002-01-02 David Edelsohn <edelsohn@gnu.org>
1805 * config/rs6000/t-aix43: Revert previous change.
1807 2002-01-02 Jason Merrill <jason@redhat.com>
1809 * c-decl.c (c_expand_body): Call outlining_inline_function when
1810 emitting an inline function out of line.
1812 2002-01-02 Richard Henderson <rth@redhat.com>
1814 * dwarf2out.c (limbo_die_node): Add created_for member.
1815 (new_die): New argument created_for. Update all callers.
1816 (mark_limbo_die_list): New.
1817 (dwarf2out_init): Register limbo_die_list as a root.
1818 (dwarf2out_finish): Force insert limbo dies into their function
1821 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
1824 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
1826 2002-01-02 Kazu Hirata <kazu@hxi.com>
1828 * config/h8300/fixunssfsi.c: Update copyright.
1831 * config/h8300/h8300.c: Update copyright.
1834 2002-01-02 Kazu Hirata <kazu@hxi.com>
1836 * config/romp/romp.c: Fix comment formatting.
1837 * config/romp/romp.h: Likewise.
1838 * config/romp/romp.md: Likewise.
1839 * config/s390/s390.c: Likewise.
1840 * config/stormy16/stormy16.c: Likewise.
1841 * config/stormy16/stormy16.h: Likewise.
1843 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
1845 * c-common.h (genrtl_expr_stmt_value): Declare.
1846 * c-semantics.c (genrtl_goto_stmt): Redirect to...
1847 (genrtl_goto_stmt_value): ... this new function. Pass new
1848 argument down to expand_expr_stmt_value, taking
1849 TREE_ADDRESSABLE into account.
1850 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
1851 STMT_EXPR as addressable, i.e., one whose result we want.
1852 * expr.c (expand_expr): Don't save expression statement value
1853 of labeled_blocks or loop_exprs.
1854 * stmt.c (expand_expr_stmt): Redirect to...
1855 (expand_expr_stmt_value): ... this new function. Use new
1856 argument to tell whether to save expression value.
1857 (expand_end_stmt_expr): Reset last_expr_type and
1858 last_expr_value if we don't have either.
1859 * tree-inline.c (declare_return_variable): Mark its use
1860 statement as addressable.
1861 * tree.h: Document new use of TREE_ADDRESSABLE.
1862 (expand_expr_stmt_value): Declare.
1864 2002-01-01 Tom Rix <trix@redhat.com>
1866 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
1867 rs6000_emit_allocate_stack.
1869 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
1871 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
1872 ${srcdir}/ginclude/ to every entry in extra_headers.
1873 * configure: Regenerate.
1874 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
1875 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
1876 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
1877 * ginclude/proto.h: Rename to config/convex/proto.h.
1879 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1881 * attribs.c (handle_vector_size_attribute): Use host_integerp
1882 and tree_int_cst; remove warnings.
1883 * caller-save.c (insert_restore): Add cast to get rid of warning.
1884 (insert_save): Likewise.
1885 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
1886 * regmove.c (find_matches): Add temporary var to kill a warning.
1888 2002-01-01 Douglas B Rupp <rupp@gnat.com>
1890 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
1891 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
1892 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
1893 (vms-dwarf2eh.o): Add Makefile rule.
1894 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
1895 * config/alpha/vms-dwarf2eh.asm: New file.
1897 * gcc.c (delete_if_ordinary): Delete all versions.
1899 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1901 * config/mmix/mmix.md: Update FIXME to not mention
1903 (MMIX_rJ_REGNUM): New define_constants constant.
1904 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
1905 "*movdicc_real"): Adjust contraints formatting.
1906 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
1907 for branch prediction.
1908 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
1910 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
1911 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
1912 number. Delete related FIXMEs.
1913 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
1914 from number to MMIX_rJ_REGNUM.
1915 (TARGET_MASK_BRANCH_PREDICT): New.
1916 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
1917 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
1918 value. Add -mbranch-predict and -mno-branch-predict.
1919 (TARGET_VERSION): Drop date.
1920 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
1921 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
1922 for finding out global symbols.
1923 (mmix_asm_output_labelref): Revert condition for global symbol.
1924 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
1925 (mmix_print_operand_punct_valid_p): A '+' is valid.
1927 See ChangeLog.6 for earlier changes.