1 2002-01-29 Richard Henderson <rth@redhat.com>
3 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
5 2002-01-29 Richard Henderson <rth@redhat.com>
7 * expr.c (force_operand): Ignore flag_pic for detecting pic
9 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
10 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
11 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
12 instead of open-coded loop.
13 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
16 2002-01-29 Richard Henderson <rth@redhat.com>
18 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
19 * sched-rgn.c (propagate_deps): Update them.
20 * sched-deps.c (sched_analyze_insn): Update them. Flush the
21 clobbers list when either gets too long.
23 2002-01-29 Jakub Jelinek <jakub@redhat.com>
25 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
26 and INDEX_REGS the same as GENERAL_REGS.
27 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
29 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
31 * tree.c (build_nonstandard_integer_type): Correct prototype.
33 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
35 * config/s390/s390.md (movstrsico, movstrdix_64,
36 movstrsix_31): Remove, replace by ...
37 (movstrdi_short, movstrsi_short, movstrdi_long,
38 movstrsi_long): ... these. New.
39 (movstrdi, movstrsi): Adapt.
41 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
42 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
43 Remove unnecessary CC clobber.
44 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
45 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
47 (divmoddi4): Don't partially initialize TImode register.
49 2002-01-29 Geoffrey Keating <geoffk@redhat.com>
51 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
53 2002-01-29 Richard Henderson <rth@redhat.com>
55 * flow.c (print_rtl_and_abort): Remove.
56 (print_rtl_and_abort_fcn): Remove.
57 (verify_local_live_at_start): Use dump_bb instead.
58 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
59 (verify_wide_reg_1): Return 2 on mode test failure.
61 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
63 PR c/3325, c/3326, c/2511, c/3347
64 * c-decl.c (enum_decl_context): Remove BITFIELD.
65 (grokdeclarator): Take bitfield width as an input.
66 Ensure bitfields are given the correct type. Perform
67 bitfield width validation with build_bitfield_integer_type
68 rather than waiting for finish_struct.
69 (grok_typename, grok_typename_in_parm_context, start_decl,
70 push_parmdecl, grokfield, start_function): Update calls to
72 (build_bitfield_integer_type): New function.
73 (finish_struct): Move bitfield validation to grokdeclarator
74 and build_bitfield_integer_type.
75 * tree.c (build_nonstandard_integer_type): New function.
76 * tree.h (build_nonstandard_integer_type): New prototype.
78 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
80 2002-01-29 Jakub Jelinek <jakub@redhat.com>
83 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
84 don't ignore unrecognized -W* options.
85 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
86 * cpplib.h (cpp_handle_option): Adjust prototype.
87 * c-decl.c (c_decode_options): Pass 0 as last argument to
91 * gcc.c (cpp_unique_options): Split from cpp_options.
92 (cpp_options): Source cpp_unique_options.
93 (default_compilers): Use cpp_unique_options instead of cpp_options
94 when used together with cc1_options.
95 (static_specs): Add cpp_unique_options.
96 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
97 when used together with cc1_options.
99 2002-01-29 Kazu Hirata <kazu@hxi.com>
101 * config/h8300/h8300-protos.h: Update the prototype of
103 * config/h8300/h8300.c (output_a_shift): Remove an unused
104 argument 'insn'. Remove redundant code.
105 * config/h8300/h8300.md: Adust to the new prototype of
108 2002-01-29 Kazu Hirata <kazu@hxi.com>
110 * config/h8300/h8300-protos.h: Update the prototypes of
111 emit_a_rotate and expand_a_rotate.
112 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
113 first argument to 'enum rtx_code'.
114 (expand_a_rotate): Likewise.
116 2002-01-28 Kazu Hirata <kazu@hxi.com>
118 * config/h8300/h8300-protos.h: Update the prototype of
120 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
122 * config/h8300/h8300.md: Adjust to the new prototype.
124 2002-01-28 Kazu Hirata <kazu@hxi.com>
126 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
129 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
131 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
132 is a fixed register before returning pic_offset_table_rtx.
133 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
134 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
136 2002-01-28 Jason Merrill <jason@redhat.com>
138 * dwarf2.h (enum dwarf_call_frame_info): Add other DWARF 3 codes.
139 Sync with src version.
141 2002-01-28 Paul Koning <pkoning@equallogic.com>
143 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
145 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
146 * doc/extend.texi (__builtin_prefetch): Update documentation:
147 first argument is now const void ptr.
149 2002-01-28 Kazu Hirata <kazu@hxi.com>
151 * config/h8300/h8300-protos.h: Remove an unused prototype.
153 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
155 * toplev.c (lang_independent_init): Round up identifier size.
157 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
159 * config.gcc: Revert previous change.
161 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
163 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
165 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
167 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
168 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
169 other non-elf netbsd config frags.
170 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
171 collect2 will does that.
172 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
173 shared-lib frobbing will work.
175 2002-01-28 Kazu Hirata <kazu@hxi.com>
177 * config/h8300/h8300.h: Fix formatting.
178 * config/h8300/h8300.md: Likewise.
180 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
182 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
183 the old, removed AAA_standards fix.
184 * fixinc/fixincl.x: Rebuilt.
186 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
188 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
189 atexit call in crtbegin, hooked in after call to frame_dummy;
190 register EH before registering __fini__start.
192 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
194 * config/rs6000/altivec.h: Remove spurious semicolons.
196 2002-01-27 Kazu Hirata <kazu@hxi.com>
198 * config/h8300/h8300.md: Replace dead bit extraction patterns
201 Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
203 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
204 if not STRICT_ALIGNMENT.
205 * rtl.h (MEM_ALIGN): Likewise.
207 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
209 * doc/invoke.texi (-fdump-translation-unit): Revert this
210 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
212 2002-01-27 Kazu Hirata <kazu@hxi.com>
214 * config/h8300/h8300.md (define_constants): New.
215 (anonymous patterns) Use defined constants appropriately.
217 2002-01-27 Kazu Hirata <kazu@hxi.com>
219 * config/h8300/h8300.c (function_arg): Remove redundant code.
221 2002-01-26 Richard Henderson <rth@redhat.com>
223 * sched-deps.c (reg_pending_uses_head): New.
224 (reg_pending_barrier): Rename from reg_pending_sets_all.
225 (find_insn_list): Don't mark inline.
226 (find_insn_mem_list): Remove.
227 (add_dependence_list, add_dependence_list_and_free): New.
228 (flush_pending_lists): Replace only_write param with separate
229 for_read and for_write parameters. Update all callers. Use
230 add_dependence_list_and_free.
231 (sched_analyze_1): Do not add reg dependencies here; just set
232 the pending bits. Use add_dependence_list.
233 (sched_analyze_2): Likewise.
234 (sched_analyze_insn): Replace schedule_barrier_found with
235 reg_pending_barrier. Add all dependencies for pending reg
236 uses, sets, and clobbers.
237 (sched_analyze): Don't add reg dependencies for calls, just
238 set pending bits. Use regs_invalidated_by_call. Treat
239 sched_before_next_call as a normal list, not a fake insn.
240 (init_deps): No funny init for sched_before_next_call.
241 (free_deps): Free pending mems lists. Don't zero reg_last.
242 (init_deps_global): Init reg_pending_uses.
243 (finish_deps_global): Free it.
244 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
245 (find_insn_mem_list): Remove.
246 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
247 (propagate_deps): Use them. Zero temp mem lists.
249 2002-01-26 Richard Henderson <rth@redhat.com>
251 * Makefile.in (CRTSTUFF_CFLAGS): New.
252 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
253 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
254 crtstuff.c instead of alpha assembly version.
255 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
256 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
257 not FORCE_{INIT,FINI}_SECTION_ALIGN.
258 (__do_global_dtors_aux): Mark used.
259 (frame_dummy, __do_global_ctors_aux): Mark used.
260 (fini_dummy, init_dummy): Remove.
262 * config/alpha/crtbegin.asm: Remove file.
263 * config/alpha/crtend.asm: Remove file.
264 * config/alpha/t-crtbe: Remove file.
265 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
268 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
269 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
270 calling constructors.
271 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
273 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
274 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
275 CRT_END_INIT_DUMMY hack.
276 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
277 FORCE_{INIT,FINI}_SECTION_ALIGN.
279 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
280 FORCE_{INIT,FINI}_SECTION_ALIGN.
282 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
284 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
286 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
287 (FORCE_CODE_SECTION_ALIGN): New.
289 2002-01-26 Richard Henderson <rth@redhat.com>
291 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
293 2002-01-26 Richard Henderson <rth@redhat.com>
295 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
296 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
298 2002-01-26 Kazu Hirata <kazu@hxi.com>
300 * config/h8300/h8300.md: Remove bit extraction patterns that
302 Restrict each bit extraction pattern to a variant on which the
305 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
307 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
309 2002-01-26 Kazu Hirata <kazu@hxi.com>
311 * config/h8300/h8300.md: Remove bit test patterns that cannot
313 Restrict each bit test pattern to a variant on which the
316 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
318 * builtins.c (expand_builtin_strncat): Remove redundant check for
321 2002-01-25 David O'Brien <obrien@FreeBSD.org>
323 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
325 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
328 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
330 * dbxout.c (dbxout_init): Use assemble_name rather than just
331 stripping off the first character.
332 (dbxout_source_file): Likewise.
334 2002-01-25 DJ Delorie <dj@redhat.com>
336 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
337 using rtx_equal_p, not by comparing pointers.
339 2002-01-25 Steve Ellcey <sje@cup.hp.com>
341 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
342 for PIC_OFFSET_TABLE_REGNUM.
343 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
345 2002-01-25 David O'Brien <obrien@FreeBSD.org>
347 * config.gcc (x86_64-*-freebsd*): New target.
348 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
350 (i[34567]86-*-freebsd*): Don't include svr4.h.
351 * config/i386/freebsd64.h: New file.
353 2002-01-25 Douglas B Rupp <rupp@gnat.com>
355 * config/alpha/x-vms (version): Make static.
357 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
360 * Makefile.in (install-headers-cp): New target.
361 * config.gcc (alpha-dec-*vms*): Install headers with
364 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
366 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
369 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
371 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
373 (expand_builtin_strncat): Likewise.
374 * c-decl.c (finish_struct): Use tree_low_cst.
375 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
376 * tree.c (compare_tree_int): Likewise.
378 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
380 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
381 adjustments even if they are implemented by more than two insns.
383 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
385 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
386 * df.h (struct ref): Kill B.
387 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
389 * basic-block.h (PROP_EQUAL_NOTES): New flag.
390 * flow.c (propagate_one_insn): Use it.
391 (mark_used_regs): Handle NIL.
393 2001-01-25 Geoffrey Keating <geoffk@redhat.com>
395 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
398 2002-01-25 David Edelsohn <edelsohn@gnu.org>
400 * rs6000.md (prefetch): Make address V4SI mode so that the address
401 is restricted to legitimate form for instruction.
403 2002-01-25 Bob Wilson <bob.wilson@acm.org>
405 * doc/install.texi (xtensa-*-elf): New target.
406 (xtensa-*-linux*): New target.
407 * doc/contrib.texi: Add myself.
409 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
411 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
412 purpose register to hold an SImode (or smaller) value.
414 2002-01-25 Jakub Jelinek <jakub@redhat.com>
416 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
418 * crtstuff.c: Likewise.
420 2002-01-25 Kazu Hirata <kazu@hxi.com>
422 * config/h8300/h8300.md (negation patterns): Tighten
423 predicates to register_operand.
425 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
427 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
430 * builtins.c (expand_builtin_prefetch): Same.
432 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
434 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
437 2002-01-24 Kazu Hirata <kazu@hxi.com>
439 * config/h8300/h8300.c (print_operand): Remove support for
440 operand character 'A'.
441 * config/h8300/h8300.md (three anonymous patterns): Replace
442 operand character 'A' with either 'T' or 'S'.
444 2002-01-24 Kazu Hirata <kazu@hxi.com>
446 * config/h8300/h8300.c (print_operand): Remove support for
447 operand character 'U'.
449 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
451 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
453 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
455 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
456 values to be assigned to the stack pointer.
458 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
460 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
461 to const_double needs to be done right for big-endian systems.
463 2002-01-24 Jason Merrill <jason@redhat.com>
466 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
467 to can_throw_internal.
469 2002-01-23 Richard Henderson <rth@redhat.com>
471 * fold-const.c (fold): Change UINT_MAX test to check vs precision
472 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
474 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
476 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
477 (symGOT2reg): Use them, then set as GOT value as unchanging.
478 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
479 as a temporary, if possible.
480 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
481 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
483 2002-01-23 Kazu Hirata <kazu@hxi.com>
485 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
486 accept to accept 0x80 as operands[2].
488 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
490 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
492 2002-01-23 Richard Henderson <rth@redhat.com>
494 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
496 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
498 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
499 (parmlist_or_identifiers_1): Verify that only a parmlist follows
502 2002-01-23 Richard Henderson <rth@redhat.com>
504 * expr.c (move_by_pieces_1): Extend size before negation.
506 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
507 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
508 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
509 * config/m68k/t-m68kelf: Likewise.
511 2002-01-23 Bob Wilson <bob.wilson@acm.org>
513 * config/xtensa/elf.h: New file.
514 * config/xtensa/lib1funcs.asm: New file.
515 * config/xtensa/lib2funcs.S: New file.
516 * config/xtensa/linux.h: New file.
517 * config/xtensa/t-xtensa: New file.
518 * config/xtensa/xtensa-config.h: New file.
519 * config/xtensa/xtensa-protos.h: New file.
520 * config/xtensa/xtensa.c: New file.
521 * config/xtensa/xtensa.h: New file.
522 * config/xtensa/xtensa.md: New file.
523 * config.gcc (xtensa-*-elf*): New target.
524 (xtensa-*-linux*): New target.
525 * cse.c (canon_hash): Compare rtx pointers instead of register
526 numbers. This is required for the Xtensa port.
527 * integrate.c (copy_insn_list): Handle case where the static
528 chain is in memory and the memory address has to be copied to
530 * doc/invoke.texi (Option Summary): Add Xtensa options.
531 (Xtensa Options): New node.
532 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
534 2002-01-23 Zack Weinberg <zack@codesourcery.com>
536 * diagnostic.c (internal_error): Do ICE suppression only
537 when ENABLE_CHECKING is not defined.
539 * c-typeck.c (require_complete_type): Return error_mark_node
540 if type is error_mark_node.
542 2002-01-23 Janis Johnson <janis187@us.ibm.com>
544 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
545 -Os and issue a warning.
547 2002-01-23 Zack Weinberg <zack@codesourcery.com>
549 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
550 current (lack of) need for host configuration by hand.
552 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
553 references. Documentation of some target macros moved from
554 hostconfig.texi to tm.texi.
556 2002-01-23 Will Cohen <wcohen@redhat.com>
558 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
561 2002-01-23 Kazu Hirata <kazu@hxi.com>
563 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
566 2002-01-23 Jason Merrill <jason@redhat.com>
568 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
570 * function.c (assign_parms): Don't put args of inline functions
571 into registers when not optimizing.
573 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
575 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
576 (prologue_use): New pattern.
577 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
578 preference to gen_rtx_USE.
579 (thumb_expand_prologue): Use gen_prologue_use in preference to
581 (thumb_expand_epilogue): Use gen_prologue_use in preference to
584 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
586 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
588 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
591 * doc/extend.texi: Correct documentation of __alignof__.
593 2002-01-22 Zack Weinberg <zack@codesourcery.com>
595 * params.h: Rename arguments of DEFPARAM so that it will be
596 recognized as a translation keyword.
598 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
600 * extend.texi: Document altivec functions.
601 Fix N-bit adjectives in X86 builtin documentation.
603 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
605 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
608 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
610 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
612 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
614 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
616 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
618 2002-01-22 Richard Henderson <rth@redhat.com>
620 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
621 copy_insn not copy_rtx.
623 2002-01-23 Alan Modra <amodra@bigpond.net.au>
625 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
626 "nonzero" as that might add "1" bits. Ensure "constop" is
627 properly sign extened.
628 (force_to_mode): Tweak for sign extended constop.
630 2002-01-22 Richard Henderson <rth@redhat.com>
632 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
633 for_each_rtx instead of assuming we're already looking at the MEM.
634 (split_small_symbolic_mem_operand): Likewise.
635 * config/alpha/alpha.h (PREDICATE_CODES): Update.
636 * config/alpha/alpha.md (small symbolic memory splitters): Update.
638 2002-01-22 Richard Henderson <rth@redhat.com>
640 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
641 sequence number for the literal.
642 (divmoddi_internal_er): Likewise.
644 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
647 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
648 in LIBICONV variable.
649 * configure: Regenerated.
651 2002-01-22 Krister Walfridsson <cato@df.lth.se>
653 * dependence.c (build_def_use): Remove array_idx.
655 * dwarfout.c (last_filename): Remove.
656 (output_compile_unit_die): Remove last_filename.
658 2002-01-22 Roger Sayle <roger@eyesopen.com>
659 Richard Henderson <rth@redhat.com>
662 * fold-const.c (fold): Optimize unsigned comparisons against
663 UINT_MAX (and similar unsigned constants).
665 2002-01-22 Janis Johnson <janis187@us.ibm.com>
667 * Makefile.in (loop.o): Depend on OPTABS_H.
668 * loop.c (emit_prefetch_instructions): Check the prefetch operand
669 against the predicate.
672 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
673 for the address operand.
675 2002-01-22 Richard Henderson <rth@redhat.com>
677 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
679 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
682 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
685 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
687 * config.gcc (x86_64-*-netbsd*): New target.
688 * config/i386/netbsd64.h: New file.
690 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
692 * regrename.c (kill_value): Fix typo.
694 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
696 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
698 * config/rs6000/rs6000.h: Same.
700 * function.c (instantiate_virtual_regs): Remove
701 STARTING_FRAME_PHASE.
702 (assign_stack_local_1): Same.
703 Calculate frame phase.
705 2002-01-22 Nick Clifton <nickc@redhat.com>
707 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
708 variable declaration to outer scope in order to simplify
710 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
711 arm_hard_regno_mode_ok.
712 * config/arm/arm-protos.h: Add a prototype for
713 arm_hard_regno_mode_ok.
714 * config/arm/arm.c (soft_df_operand): Remove now redundant
715 check for DImode values using IP_REGNUM.
716 (nonimmediate_soft_df_operand): Remove now redundant check for
717 DImode values using IP_REGNUM.
718 (arm_hard_regno_mode_ok): New function. New check: make sure
719 that DImode values are not stored in IP_REGNUM.
721 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
723 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
725 2002-01-22 Jason Merrill <jason@redhat.com>
727 * c-semantics.c (genrtl_compound_stmt): Only check nesting
728 consistency if this COMPOUND_STMT is scoped.
730 2002-01-22 Kazu Hirata <kazu@hxi.com>
732 * predict.c: Fix formatting.
733 * print-tree.c: Likewise.
734 * protoize.c: Likewise.
737 * sbitmap.h: Likewise.
739 * sched-deps.c: Likewise.
740 * sched-vis.c: Likewise.
741 * sdbout.c: Likewise.
742 * sibcall.c: Likewise.
744 * ssa-ccp.c: Likewise.
745 * ssa-dce.c: Likewise.
747 * stor-layout.c: Likewise.
748 * system.h: Likewise.
750 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
752 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
753 if fits in bounds of base type.
755 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
756 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
757 (add_bound_info, default): If can't find a context, make a
759 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
761 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
763 * c-typeck.c (parser_build_binary_op): If result from
764 build_binary_op is ERROR_MARK just return error_mark_node without
767 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
769 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
770 Split a.out-specific bits into...
771 * config/netbsd-aout.h: ...this.
772 * config/netbsd-elf.h: New file.
773 * config/alpha/netbsd-elf.h: Remove.
774 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
775 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
776 (STARTFILE_SPEC): Remove redundant definition.
777 (ENDFILE_SPEC): Likewise.
778 (LINK_SPEC): Likewise.
779 (CPP_SPEC): Likewise.
780 (ASM_SPEC): Likewise.
781 (LIB_SPEC): Likewise.
782 (SWITCH_TAKES_ARG): Likewise.
783 (TARGET_MEM_FUNCTIONS): Likewise.
784 (CPP_PREDEFINES): Redefine.
785 (ASM_FINAL_SPEC): Remove redefinition.
786 (ASM_COMMENT_START): Redefine.
787 (FUNCTION_PROFILER): Define.
788 (TARGET_VERSION): Redefine.
789 Comment and formatting cleanup.
790 * config/i386/netbsd.h: Include <netbsd-aout.h>.
791 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
792 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
793 big- or little-endian.
794 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
795 * config.gcc (*-*-netbsd*): Add definitions common to all
797 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
798 gnu_ld definitions. Add netbsd-elf.h to and remove
799 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
800 tmake_file, and don't lose previous tmake_file contents.
801 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
802 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
803 gnu_ld definitions. Add netbsd-elf.h to tm_file.
804 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
805 (mipsel-*-netbsd*): Rename this to...
806 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
807 mips/little.h to tm_file for mips*el-*.
808 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
809 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
810 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
812 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
814 * pa-protos.h (reg_before_reload_operand): New function prototype.
815 * pa.c (reg_before_reload_operand): New function implementation.
816 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
819 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
821 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
823 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
825 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
826 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
827 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
828 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
829 (ENDFILE_SPEC): Undefine.
830 (STARTFILE_SPEC): Redefine for PA.
832 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
834 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
836 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
838 * config.gcc: Add entries to supported PowerPC --with-cpu
841 2002-01-21 Jakub Jelinek <jakub@redhat.com>
843 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
844 true for 64-bit mode only SSE registers in 32-bit mode.
846 2002-01-21 Kazu Hirata <kazu@hxi.com>
848 * unwind-dw2.c: Fix formatting.
849 * unwind-dw2-fde.c: Likewise.
850 * unwind-dw2-fde.h: Likewise.
851 * unwind-pe.h: Likewise.
852 * varasm.c: Likewise.
853 * varray.h: Likewise.
855 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
857 Remove workaround for register stack overwrite bug in mmix.
858 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
859 support for TARGET_REG_STACK_FILL_BUG.
860 * config/mmix/mmix.h: Remove member has_call_without_parameters.
861 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
863 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
864 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
865 -mno-reg-stack-fill-bug-workaround.
866 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
867 machine member has_call_without_parameters.
868 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
869 -mreg-stack-fill-bug-workaround and
870 -mno-reg-stack-fill-bug-workaround.
871 (MMIX Options): Ditto.
873 2002-01-21 Kazu Hirata <kazu@hxi.com>
875 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
877 Remove redundant code.
879 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
881 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
882 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
883 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
884 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
885 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
886 out target macro definitions and non-target-specific comments
887 mostly taken from old versions of the manual.
889 2002-01-20 Kazu Hirata <kazu@hxi.com>
891 * config/h8300/h8300.h: Fix comment formatting.
892 * config/ia64/aix.h: Likewise.
893 * config/ia64/ia64-protos.h: Likewise.
894 * config/ia64/ia64.c: Likewise.
895 * config/ia64/ia64.h: Likewise.
896 * config/ia64/ia64intrin.h: Likewise.
897 * config/ia64/linux.h: Likewise.
898 * config/ia64/unwind-aix.c: Likewise.
899 * config/ia64/unwind-ia64.c: Likewise.
901 2002-01-20 Kazu Hirata <kazu@hxi.com>
903 * config/h8300/h8300.c: Revise comments about shift code.
905 2002-01-20 Kazu Hirata <kazu@hxi.com>
907 * config/h8300/h8300.c (function_arg): Update a comment.
909 2002-01-20 Kazu Hirata <kazu@hxi.com>
911 * config/h8300/h8300.md: Update the comments at the beginning
914 2002-01-20 Kazu Hirata <kazu@hxi.com>
916 * config/i370/i370.c: Fix comment formatting.
917 * config/i370/i370.h: Likewise.
918 * config/i370/i370.md: Likewise.
919 * config/i370/linux.h: Likewise.
921 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
923 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
925 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
926 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
929 2002-01-20 Graham Stott <grahams@redhat.com>
931 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
933 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
935 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
937 2002-01-19 Tom Rix <trix@redhat.com>
939 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
941 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
943 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
945 * function.c (assign_stack_local_1): Adjust x_frame_offset with
946 STARTING_FRAME_PHASE.
947 (STARTING_FRAME_PHASE): New.
948 (instantiate_virtual_regs): Check saneness of
949 STARTING_FRAME_PHASE.
951 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
953 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
955 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
957 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
959 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
960 be used for bootstrapping GCC 3.0.
962 2002-01-18 Kazu Hirata <kazu@hxi.com>
964 * config/h8300/h8300.md: Fix an insn length.
966 2002-01-18 Kazu Hirata <kazu@hxi.com>
968 * bitmap.h: Fix comment formatting.
969 * combine.c: Likewise.
970 * cppfiles.c: Likewise.
971 * c-pragma.h: Likewise.
972 * c-typeck.c: Likewise.
974 * dwarf2out.c: Likewise.
975 * function.c: Likewise.
977 * genattrtab.c: Likewise.
978 * gthr-win32.h: Likewise.
979 * haifa-sched.c: Likewise.
980 * predict.c: Likewise.
981 * rtlanal.c: Likewise.
983 * unwind-dw2-fde.h: Likewise.
984 * unwind-pe.h: Likewise.
985 * vmsdbgout.c: Likewise.
987 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
989 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
990 if type_required and passed decl.
992 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
994 * config.gcc (cpu_type): Include altivec.h in powerpc
998 * config/rs6000/altivec.h: New.
1000 2002-01-17 David Edelsohn <edelsohn@gnu.org>
1002 * doc/install.texi (*-ibm-aix*): Update assembler and exception
1003 handling information.
1004 * doc/trouble.texi (Interoperation): Add libstdc++ information
1006 (Misunderstandings): Add template instantiation and static template
1007 member information for AIX.
1009 2002-01-17 Jason Merrill <jason@redhat.com>
1011 * dbxout.c (dbxout_type): Support const and volatile.
1013 * except.c (add_partial_entry): Remove backwards compatibility code.
1014 (end_protect_partials): Likewise.
1016 2002-01-17 Jakub Jelinek <jakub@redhat.com>
1018 * config/ia64/ia64.md (prologue_use): New.
1019 * config/ia64/ia64.c (ia64_expand_prologue): Use
1020 gen_prologue_use instead of gen_rtx_USE.
1021 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
1022 as CODE_FOR_pred_rel_mutex.
1023 (ia64_sched_reorder2): Likewise.
1025 2002-01-16 Eric Christopher <echristo@redhat.com>
1027 * config/mips/r3900.h: Reformat.
1028 (SUBTARGET_CPP_SIZE_SPEC): Remove.
1029 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
1030 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
1031 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
1032 * config/mips/t-elf: Remove mips3 multilib.
1034 2002-01-16 H.J. Lu <hjl@gnu.org>
1036 * config/mips/linux.h: Include "mips/abi64.h".
1038 2002-01-16 H.J. Lu <hjl@gnu.org>
1040 * config/mips/t-linux: New.
1042 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
1044 * config/mips/linux.h: Don't include "gofast.h".
1045 (INIT_SUBTARGET_OPTABS): Removed.
1047 2002-01-16 Kazu Hirata <kazu@hxi.com>
1049 * config/h8300/h8300-protos.h: Replace emit_a_shift with
1051 * config/h8300/h8300.c: Likewise.
1052 * config/h8300/h8300.md: Likewise.
1054 2002-01-16 Kazu Hirata <kazu@hxi.com>
1056 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
1057 spaces after an opcode name.
1058 (pushqi1_h8300hs): Likewise.
1059 (pushhi1_h8300hs): Likewise.
1061 2002-01-16 Kazu Hirata <kazu@hxi.com>
1063 * doc/extend.texi: Replace "option" with "attribute"
1066 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1068 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
1069 (and:DI () (const_int -8)).
1070 (split_small_symbolic_mem_operand): Split
1071 (mem (and:DI () (const_int -8)).
1073 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1076 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
1077 same way as TYPE_IMUL.
1078 (ultrasparc_sched_reorder): Likewise.
1079 * config/sparc/sparc.md (type): Add comment to update
1080 ultrasparc_sched_reorder when making changes.
1082 2002-01-16 Kazu Hirata <kazu@hxi.com>
1084 * doc/invoke.texi: Change the dump file name of block
1085 reordering pass from 28.bbro to 29.bbro.
1088 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
1090 * i386.md (minsf splitter): Fix pasto.
1092 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1094 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
1095 to frame pointer initialisation instruction.
1096 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
1097 initialisation instruction.
1098 (soft_df_operand): Do not accept the IP register.
1099 (nonimmediate_soft_df_operand): Do not accept the IP register.
1101 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1104 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
1105 MASK_V8 being both set.
1107 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
1109 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
1110 insn for GOT register; add REG_MAYBE_DEAD notes instead.
1111 config/s390/s390.md (call, call_value): Add GOT register to
1112 CALL_INSN_FUNCTION_USAGE where needed.
1113 (call_exp, call_value_exp): New.
1115 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1117 * config/arm/arm.c: General formatting tidy up.
1119 2002-01-16 Graham Stott <grahams@redhat.com>
1121 * calls.c (try_to_integrate): Use "(size_t)" intermediate
1122 cast and when casting an integer literal to "rtx" pointer.
1123 (expand_call): Likewise.
1124 * flow.c (try_pre_increment): Likewise.
1125 (find_use_as_address): Likewise.
1126 * integrate.c (expand_iline_function): Likewise.
1127 * regmove.c (try_auto_increment): Likewise.
1129 2002-01-16 Graham Stott <grahams@redhat.com>
1131 * sched-rgn.c (passed): Use sbitmap_free.
1134 (in_queue): Likewise.
1135 (in_stack): Likewise.
1137 2002-01-15 Eric Christopher <echristo@redhat.com>
1139 * flow.c (propagate_one_insn): Change to use fatal_insn.
1141 2002-01-15 Kazu Hirata <kazu@hxi.com>
1143 * expmed.c (extract_fixed_bit_field): Remove unused code.
1144 * system.h: Poison SLOW_ZERO_EXTEND.
1145 * doc/tm.texi: Remove.
1146 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
1147 * config/arm/arm.h: Likewise.
1148 * config/avr/avr.h: Likewise.
1149 * config/clipper/clipper.h: Likewise.
1150 * config/convex/convex.h: Likewise.
1151 * config/d30v/d30v.h: Likewise.
1152 * config/dsp16xx/dsp16xx.h: Likewise.
1153 * config/elxsi/elxsi.h: Likewise.
1154 * config/fr30/fr30.h: Likewise.
1155 * config/h8300/h8300.h: Likewise.
1156 * config/i370/i370.h: Likewise.
1157 * config/i386/i386.h: Likewise.
1158 * config/m68k/m68k.h: Likewise.
1159 * config/mips/mips.h: Likewise.
1160 * config/ns32k/ns32k.h: Likewise.
1161 * config/pdp11/pdp11.h: Likewise.
1162 * config/pj/pj.h: Likewise.
1163 * config/s390/s390.h: Likewise.
1164 * config/sh/sh.h: Likewise.
1165 * config/stormy16/stormy16.h: Likewise.
1166 * config/v850/v850.h: Likewise.
1167 * config/vax/vax.h: Likewise.
1168 * config/we32k/we32k.h: Likewise.
1170 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
1172 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
1173 (altivec_lvsl): Change constraint to b.
1174 (altivec_lvsr): Same.
1175 (altivec_lvebx): Same.
1176 (altivec_lvehx): Same.
1177 (altivec_lvewx): Same.
1178 (altivec_lvxl): Same.
1179 (altivec_lvx): Same.
1180 (altivec_stvx): Add parallel.
1181 (altivec_stvxl): Same.
1182 (altivec_stvehx): Same.
1183 (altivec_stvebx): Same.
1184 (altivec_stvebx): Same.
1186 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
1188 * config.gcc: Change altivec.h to altivec-defs.h.
1190 * config/rs6000/altivec.h: Delete.
1192 * config/rs6000/altivec-defs.h: Add.
1194 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1196 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
1199 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
1200 less than or equal to eight bytes.
1202 * vax.md (andsi3): Remove constraints and change SET destination
1203 operand type to nonimmediate_operand.
1204 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
1205 when it is a CONST_INT.
1207 2002-01-15 Jason Merrill <jason@redhat.com>
1209 * c-common.def (FILE_STMT): New code.
1210 * c-common.c (statement_code_p): It's a statement.
1211 * c-common.h (stmt_tree_s): Add x_last_filename.
1212 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
1213 (last_expr_filename): New macro.
1214 * c-semantics.c (begin_stmt_tree): Initialize it.
1215 (add_stmt): If the filename changed, also insert a
1217 (expand_stmt): Handle seeing one.
1219 2002-01-15 Eric Christopher <echristo@redhat.com>
1221 * flow.c (propagate_one_insn): Add error message and print out
1224 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1226 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
1227 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
1228 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
1229 TRAMPOLINE_ALIGNMENT.
1230 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
1232 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
1233 PCC_BITFIELD_TYPE_MATTERS.
1234 * config/interix.h (STDC_VALUE): Remove. Use
1235 STDC_0_IN_SYSTEM_HEADERS.
1236 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
1237 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
1238 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
1240 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
1242 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
1243 not work on this platform currently.
1245 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1247 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
1248 readonly_warning in _().
1250 2002-01-15 Douglas B Rupp <rupp@gnat.com>
1252 * gcc.c (delete_if_ordinary): Backout previous change.
1254 2002-01-15 Kazu Hirata <kazu@hxi.com>
1256 * config/h8300/h8300.c (print_operand): Remove support for
1257 unused operand characters.
1259 * read-rtl.c: Fix formatting.
1261 * recog.c: Likewise.
1262 * regclass.c: Likewise.
1263 * regmove.c: Likewise.
1264 * reg-stack.c: Likewise.
1265 * reload1.c: Likewise.
1266 * rtlanal.c: Likewise.
1268 2002-01-15 Kazu Hirata <kazu@hxi.com>
1270 * config/i386/i386.c: Fix formatting.
1272 2002-01-15 Jakub Jelinek <jakub@redhat.com>
1274 * c-typeck.c (process_init_element): Don't save_expr
1275 COMPOUND_LITERAL_EXPR if just its initializer will be used.
1277 2002-01-15 David Edelsohn <edelsohn@gnu.org>
1279 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
1280 emit optional traceback table if optimize_size or TARGET_ELF.
1281 * config/rs6000/rs6000.md (prefetch): New.
1283 2002-01-15 Andreas Jaeger <aj@suse.de>
1285 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
1287 2002-01-15 Kazu Hirata <kazu@hxi.com>
1289 * mips-tfile.c: Fix formatting.
1291 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
1293 * unroll.c (final_reg_note_copy): Fix previous commit.
1295 2002-01-14 Kazu Hirata <kazu@hxi.com>
1297 * config/h8300/h8300-protos.h: Remove the prototype for
1299 * config/h8300/h8300.c (eq_operator): Remove.
1301 2002-01-14 Richard Henderson <rth@redhat.com>
1303 * config/i386/i386.md (prefetch): Tidy.
1304 (prefetch_3dnow): Fix locality operand.
1306 2002-01-14 Richard Henderson <rth@redhat.com>
1308 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
1309 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
1311 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
1313 * reload1.c (reload_combine): Pass reg_sum replacement through
1314 copy_rtx in loop performing multiple changes.
1316 2002-01-14 Jakub Jelinek <jakub@redhat.com>
1318 * except.c (remove_unreachable_regions): New.
1319 (free_eh_status): Clear exception_handler_labels.
1320 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
1321 (find_exception_handler_labels): Don't add the same label more than
1323 (remove_exception_handler_label): Don't die if
1324 find_exception_handler_labels hasn't been called for the current
1327 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
1329 * toplev.c (rest_of_compilation): Rebuild jump labels after
1332 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
1334 * doc/extend.texi: Move documentation of X86 built-in functions
1336 * doc/invoke.texi: From here.
1337 * doc/sourcebuild.texi: Document location of documentation for
1338 machine built-in functions.
1340 2002-01-13 Christopher Faylor <cgf@redhat.com>
1342 * cppfiles.c (TEST_THRESHOLD): New macro.
1343 (SHOULD_MMAP): Ditto.
1344 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
1347 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
1349 * unroll.c (final_reg_note_copy): Properly handle
1351 (unroll_loops): Fix LOOP_CONDITION heuristics.
1353 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
1355 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
1356 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
1358 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
1360 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
1363 2002-01-14 Tom Rix <trix@redhat.com>
1365 * config/rs6000/rs6000.md: Fix typo with sradi.
1367 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
1369 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
1370 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
1371 (clrstrdi, clrstrsi): Adapt callers.
1373 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
1375 (movti splitter): Never use register 0 as base register.
1377 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
1379 * combine.c (simplify_shift_const): Always generate new rtx
1380 for shift expression instead of reusing given expression.
1382 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1384 * config/alpha/alpha.c (alpha_expand_mov): Don't call
1385 alpha_legitimize_address unless mode is Pmode.
1387 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
1389 * doc/md.texi (Modifiers): Document the '*' constraint for the
1392 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
1393 * doc/extend.texi (Function Attributes): 'interrupt' is valid
1396 2002-01-13 Richard Henderson <rth@redhat.com>
1398 * reload.c (find_reloads): Use a hard reg destination as reload reg
1399 for an input reload of the source.
1401 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1403 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
1406 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
1408 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1409 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1411 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
1413 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1415 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
1417 2002-01-12 Tom Rix <trix@redhat.com>
1419 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
1422 2002-01-12 Richard Henderson <rth@redhat.com>
1424 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
1426 * doc/invoke.texi: Update Alpha options.
1428 * doc/invoke.texi: Update i386 built-in function lists.
1430 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
1432 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
1433 referencing outside.
1435 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1437 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
1438 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
1439 offsets, and change line folding.
1440 * optabs.c (expand_binop): Remove warnings.
1441 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
1443 2002-01-12 Graham Stott <grahams@redhat.com>
1445 * attribs.c (handle_deprecated_attribute): constify WHAT.
1446 * diagnostic.c (warn_deprecated_use): Add braces, fixes
1447 dangling else warning and constify WHAT.
1448 * except.h (struct function, struct inline_remap): Move
1449 struct tag forward defs before all prototypes.
1450 (duplicate_eh_regions): Whitespace.
1452 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
1454 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
1455 MODE_BASE_REG_CLASS.
1456 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
1458 2002-01-12 Richard Henderson <rth@redhat.com>
1460 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
1461 (ix86_expand_vector_move): New.
1462 (bdesc_2arg): Remove andps, andnps, orps, xorps.
1463 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
1464 Remove old prefetch builtins. Special case the logicals removed above.
1465 (ix86_expand_builtin): Likewise.
1466 (safe_vector_operand): Use V4SFmode, not TImode.
1467 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
1468 (ix86_expand_timode_binop_builtin): New.
1469 * config/i386/i386-protos.h: Update.
1470 * config/i386/i386.h (enum ix86_builtins): Update.
1471 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
1472 Use ix86_expand_vector_move in vector move expanders.
1473 (movti_internal, movti_rex64): Add xorps alternative.
1474 (sse_clrv4sf): Rename and adjust from sse_clrti.
1475 (prefetch): Don't work so hard.
1476 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
1477 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
1478 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
1480 2002-01-11 Richard Henderson <rth@redhat.com>
1482 * config/i386/mmintrin.h: New file.
1483 * config/i386/xmmintrin.h: New file.
1484 * config.gcc (i?86-*-*): Add extra_headers.
1485 * simplify-rtx.c (simplify_unary_operation): Handle saturating
1487 (simplify_binary_operation): Handle saturating arithmetic codes.
1488 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
1489 not the lowpart subreg.
1490 (ix86_expand_builtin): Return a TImode dummy register instead of 0
1492 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
1494 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1496 * conflict.c (conflict_graph_compute): Free regsets when finished.
1497 * ssa.c (compute_coalesced_reg_partition): Likewise.
1499 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1501 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
1502 every where we allocate a register.
1504 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1506 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
1507 * lcm.c (compute_earliest, compute_farthest): Likewise.
1509 2002-01-11 Janis Johnson <janis187@us.ibm.com>
1511 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
1513 2002-01-11 Janis Johnson <janis187@us.ibm.com>
1515 * doc/rtl.texi (Insns): Fix 2 typos.
1517 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1519 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
1520 options. Use @table @gcctabopt for MMIX options. Add index
1521 entries for MMIX options. Start new paragraph with first
1522 heading of the machine-dependent options.
1524 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
1527 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
1528 * combine.c (force_to_mode): Same.
1529 * reload1.c (clear_reload_reg_in_use): Same.
1531 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
1533 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
1536 2002-01-11 Andreas Jaeger <aj@suse.de>,
1537 Brad Lucier <lucier@math.purdue.edu>
1539 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
1542 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
1544 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
1545 Protect with IN_LIBGCC.
1546 (LINK_EH_SPEC): Add required trailing space.
1548 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
1550 * c-tree.h: Move function declarations so that they are listed
1551 under the filename which contains them.
1552 (check_identifier, finish_decl_top_level,
1553 lookup_name_current_level_global, shadow_record_fields): Remove.
1555 2002-01-11 Andreas Jaeger <aj@suse.de>
1557 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
1560 2002-01-10 Richard Henderson <rth@redhat.com>
1562 * config/alpha/alpha.c (print_operand): Add 'J'.
1563 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
1564 new operand with the sequence number for the lituse. When splitting
1565 the insns, use gen_movdi_er_high_g and generate a sequence number.
1566 (gen_movdi_er_high_g): Print the sequence number if non-zero.
1568 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
1570 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
1571 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
1573 (altivec_expand_builtin): Same.
1574 (altivec_expand_stv_builtin): New.
1576 * config/rs6000/rs6000.h (rs6000_builtins): Same.
1578 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
1579 ("altivec_lvehx"): New.
1580 ("altivec_lvewx"): New.
1581 ("altivec_lvxl"): New.
1582 ("altivec_lvx"): New.
1583 ("altivec_stvx"): New.
1584 ("altivec_stvebx"): New.
1585 ("altivec_stvehx"): New.
1586 ("altivec_stvewx"): New.
1587 ("altivec_stvxl"): New.
1589 2002-01-10 Richard Henderson <rth@redhat.com>
1591 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
1592 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
1593 care not to delete instructions twice.
1595 2002-01-10 Zack Weinberg <zack@codesourcery.com>
1597 * toplev.c: Don't declare environ (it's not used anywhere).
1598 * configure.in: Don't check for declaration of environ.
1599 * config/i386/xm-mingw32.h: Don't #define environ.
1600 * config.in, configure: Regenerate.
1602 2002-01-10 Zack Weinberg <zack@codesourcery.com>
1604 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
1605 * configure: Regenerate.
1607 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
1608 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
1609 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
1611 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
1612 LIMITS_H_TEST here, not in m68k/x-next.
1613 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
1614 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
1616 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
1617 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
1618 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
1620 * config/i386/x-djgpp: Renamed i386/t-djgpp.
1621 * config/m88k/x-dolph: Renamed m88k/t-dolph.
1622 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
1623 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
1624 replacement of quadlib.asm with quadlib.c.
1626 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
1627 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
1628 config/rs6000/xm-beos.h: Delete file.
1630 * config.gcc: Update to match above changes.
1632 2002-01-10 Kazu Hirata <kazu@hxi.com>
1634 * config/h8300/h8300.h: Fix comment typos.
1635 * config/h8300/h8300.md: Likewise.
1636 * config/h8300/lib1funcs.asm: Likewise.
1638 2002-01-10 Dale Johannesen <dalej@apple.com>
1640 PR optimization/5269
1641 * unroll.c (precondition_loop_p): Make *increment be the correct
1642 sign when n_iterations known, to avoid confusing caller.
1644 2002-01-10 Kazu Hirata <kazu@hxi.com>
1646 * doc/extend.texi (deprecated): Fix a typo.
1648 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
1650 * basic-block.h (update_br_prob_note): Declare.
1651 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
1652 (try_forward_edges): Care negative frequencies and update note.
1653 (outgoing_edges_match): Tweek conditional merging heuristics.
1654 (try_crossjump_to_edge): use update_br_prob_note.
1655 * cfglayout.c (fixup_reorder_chain): Likewise.
1656 * cfrtl.c (update_br_prob_note): New.
1657 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
1659 * i386.c (ix86_decompose_address): Return -1 if address contains
1661 (legitimate_address_p): Require ix86_decompose_address to return 1.
1663 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
1664 (cprop_insn): Likewise.
1666 2002-01-10 Kazu Hirata <kazu@hxi.com>
1668 * toplev.c: Fix formatting.
1670 * tree-dump.c: Likewise.
1671 * unroll.c: Likewise.
1672 * unwind-dw2.c: Likewise.
1673 * unwind-dw2-fde.c: Likewise.
1674 * unwind-dw2-fde-glibc.c: Likewise.
1675 * unwind-sjlj.c: Likewise.
1677 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1679 * doc/invoke.texi: Document PDP-11 options.
1681 2002-01-10 Kazu Hirata <kazu@hxi.com>
1683 * config/h8300/h8300.h: Fix formatting.
1685 2001-01-10 Ira Ruben <ira@apple.com>
1687 Add __attribute__ ((deprecated)).
1688 * extend.texi: Document __attribute__ ((deprecated)).
1689 * invoke.texi: Document -Wno-deprecated-declarations.
1690 * testsuite/g++.dg/other/deprecated.C: New C++ test.
1691 * testsuite/gcc.dg/deprecated.c: New C test.
1692 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
1693 (c_common_attribute_table): Add "deprecated" entry.
1694 (handle_deprecated_attribute): New function.
1695 * c-decl.c (deprecated_states): New enum.
1696 deprecated_state: State of "deprecated" handling.
1697 (start_decl): Set deprecated_state based on attributes.
1698 (grokdeclarator): Test for deprecated uses, propagate attribute.
1699 * c-typeck.c (build_component_ref): Test for deprecated fields.
1700 (build_external_ref): Test for deprecated primaries.
1701 * diagnostic.c (warn_deprecated_use) New function to issue
1702 warnings about __attribute__ ((depricated)) references.
1703 * flags.h (warn_deprecated_decl): Extern declared for
1704 -W[no-]deprecated-declarations option.
1705 * print-tree.c (print_node): Show deprecated flag status.
1706 * toplev.c (warn_deprecated_decl): Defined.
1707 (W_options): Added "deprecated-declaration".
1708 * toplev.h (warn_deprecated_use): Extern declared.
1709 * tree.h (struct tree_common): Define deprecated_flag.
1710 (TREE_DEPRECATED): New macro to access flag.
1711 * cp/call.c (build_call): Test for deprecated calls.
1712 * cp/class.c (add_implicitly_declared_members): Set global
1713 flag to tell grokdeclarator to not issue deprecated warnings.
1714 * cp/cp-tree.h: Add extern for adding_implicit_members.
1715 * cp/decl.c (deprecated_states): New enum.
1716 (start_decl): Set deprecated_state based on attributes.
1717 (grokdeclarator): Test for deprecated uses, propagate attribute.
1718 * cp/lex.c (do_identifier): Test for deprecated primaries.
1719 * cp/typeck.c (build_component_ref): Test for deprecated fields.
1721 2001-01-10 Ira Ruben <ira@apple.com>
1723 Fix to assign attributes to inline member functions.
1724 * cp/decl.c (start_method): Handle attrlist.
1726 2002-01-10 Kazu Hirata <kazu@hxi.com>
1728 * combine.c (expand_field_assignment): Use subreg_lsb().
1730 2002-01-10 David Edelsohn <edelsohn@gnu.org>
1732 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
1733 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
1734 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
1735 Recurse for any operand of AND as long as constant is non-zero.
1737 2002-01-10 Kazu Hirata <kazu@hxi.com>
1739 * config/h8300/h8300.md: Remove constraints from expanders.
1741 2002-01-10 Kazu Hirata <kazu@hxi.com>
1743 * varasm.c: Fix formatting.
1744 * varray.c: Likewise.
1745 * vmsdbgout.c: Likewise.
1746 * xcoffout.c: Likewise.
1748 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
1750 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
1751 update edge probabilities to match.
1753 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1755 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
1757 * doc/languages.texi, doc/sourcebuild.texi: New files.
1758 * doc/configfiles.texi: Make a subsubsection. Update.
1759 * doc/configterms.texi: Add @node. Remove warning that this isn't
1760 instructions for building GCC.
1761 * doc/makefile.texi: Make a subsection.
1762 * doc/gccint.texi: Update.
1764 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
1766 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
1768 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
1770 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
1772 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
1774 * optabs.c (expand_fix): Look for wider integer modes first.
1776 * i386.md (mov?f): Avoid the fake const double trick for medium
1778 (min?f*/max?f*): Prohibit memory operands for i387 variant.
1779 (fop_df_4): Disable for SSE compilation.
1781 2002-01-10 Graham Stott <grahams@redhat.com>
1783 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
1784 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
1786 2002-01-10 Richard Henderson <rth@redhat.com>
1788 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
1790 2002-01-10 Richard Henderson <rth@redhat.com>
1792 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
1793 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
1795 2002-01-10 Kazu Hirata <kazu@hxi.com>
1797 * combine.c (can_combine_p): Fix a comment typo.
1799 2002-01-09 Zack Weinberg <zack@codesourcery.com>
1801 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
1802 empty list correctly. Change loop index $t to $f for
1803 consistency with rest of Makefile.
1805 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
1807 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
1808 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1810 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
1811 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
1812 (altivec_init_builtins): Same.
1813 (altivec_expand_unop_builtin): Return NULL_RTX on error.
1814 (altivec_expand_binop_builtin): Same.
1815 (altivec_expand_ternop_builtin): Same.
1818 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
1819 ("altivec_vctuxs"): Fix typo.
1820 ("altivec_vnmsubfp"): Same.
1821 ("altivec_dssall"): New.
1822 ("altivec_mfvscr"): New.
1823 ("altivec_dss"): New.
1824 ("altivec_lvsl"): New.
1825 ("altivec_lvsr"): New.
1826 ("altivec_dstt"): New.
1827 ("altivec_dstst"): New.
1828 ("altivec_dststt"): New.
1829 ("altivec_dst"): New.
1831 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
1832 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1834 2002-01-09 Richard Henderson <rth@redhat.com>
1836 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
1838 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
1840 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
1842 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
1844 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
1846 2002-01-09 Kazu Hirata <kazu@hxi.com>
1848 * read-rtl.c: Fix formatting.
1850 * regclass.c: Likewise.
1851 * regrename.c: Likewise.
1852 * reg-stack.c: Likewise.
1853 * reload1.c: Likewise.
1854 * reload.c: Likewise.
1857 2002-01-09 Kazu Hirata <kazu@hxi.com>
1859 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
1860 to extract items in the expr_list chain.
1862 2002-01-09 Richard Henderson <rth@redhat.com>
1864 * config/vax/vax.c (vax_rtx_cost): Never abort.
1866 * config/vax/vax.h (REAL_ARITHMETIC): Define.
1868 2002-01-09 Jan Hubicka <jh@suse.cz>
1870 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
1872 2002-01-09 Richard Henderson <rth@redhat.com>
1874 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
1875 Unify code from various alternatives.
1877 2002-01-09 Richard Henderson <rth@redhat.com>
1879 * regrename.c (copy_value): Ignore the copy if the source register
1880 is present in the value chain with a narrower mode.
1882 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1884 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
1885 for the c4x target. Also improve layout.
1887 2002-01-09 Richard Henderson <rth@redhat.com>
1889 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
1890 * config/m32r/m32r.md (and ior xor splitters): Swap operands
1891 to match insn patterns.
1893 2002-01-09 Richard Henderson <rth@redhat.com>
1895 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
1896 (copyprop_hardreg_forward_1): Likewise.
1898 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
1900 * pa.md (decrement_and_branch_until_zero): Change predicate for
1901 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
1903 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1905 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
1906 gets undefined. For Darwin.
1908 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1910 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
1912 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1914 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
1916 2002-01-08 Richard Henderson <rth@redhat.com>
1918 * regrename.c (copy_value): Ignore overlapping copies.
1920 2002-01-08 Richard Henderson <rth@redhat.com>
1922 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
1923 as needed to avoid shared structure.
1925 2002-01-08 Kazu Hirata <kazu@hxi.com>
1927 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
1930 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1932 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
1933 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
1934 documentation of obsolete macros.
1935 * system.h: Poison these macros.
1936 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
1937 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
1938 config/c4x/c4x.h, config/clipper/clipper.h,
1939 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
1940 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
1941 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
1942 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
1943 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
1944 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
1945 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
1946 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
1947 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
1948 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
1949 config/sparc/sparc.h, config/stormy16/stormy16.h,
1950 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
1951 definitions and commented out definitions of obsolete macros.
1952 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
1953 of MAX_INT_TYPE_SIZE.
1955 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1957 * config/s390/s390.c (s390_preferred_reload_class): Never
1958 return ADDR_REGS if it isn't a subset of the given class.
1959 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
1960 FP_REGS, but all superclasses as well.
1962 * config/s390/s390.c (s390_function_profiler): Fix thinko.
1964 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
1965 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
1966 must not be a const_int.
1968 2002-01-08 Richard Henderson <rth@redhat.com>
1970 * Makefile.in (toplev.o): Depend on options.h.
1971 (gcc.o): Depend on specs.h.
1973 2002-01-08 Jakub Jelinek <jakub@redhat.com>
1975 * expr.c (store_expr): Convert VOIDmode constants back to target's
1978 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1980 * doc/invoke.texi: Markup gcc as @command. Refer to
1981 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
1982 of http://gcc.gnu.org/thanks.html.
1984 2002-01-08 Dale Johannesen <dalej@apple.com>
1986 * config/rs6000/rs6000.md: Add missing int register
1987 target case to movdf_low.
1989 2002-01-08 Zack Weinberg <zack@codesourcery.com>
1991 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
1992 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
1993 (cppinit.o): Depend on except.h.
1994 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
1995 s-specs): New rules.
1997 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
1998 Don't create specs.h/options.h/gencheck.h here. Remove
1999 unnecessary variable settings from last argument of AC_OUTPUT.
2000 * config.in, configure: Regenerate.
2001 * intl.c: Hardcode package name as "gcc".
2003 * cppinit.c: Include except.h.
2004 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
2006 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
2007 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
2008 (!)USING_SJLJ_EXCEPTIONS.
2009 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
2011 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2013 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
2014 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
2015 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
2016 documentation of obsolete macros.
2017 * system.h: Poison these macros.
2018 * config/d30v/d30v.h, config/ns32k/encore.h,
2019 config/stormy16/stormy16.h: Remove definitions and commented out
2020 definitions of obsolete macros.
2022 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
2024 * objc/objc-act.c (handle_class_ref): Mark the declaration of
2025 %sobjc_class_ref_%s as used - to prevent unwanted compiler
2028 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
2030 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
2031 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
2032 to insn adjusting stack/frame pointer.
2033 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
2034 accept operands that cause the insn to be non-splittable.
2036 2002-01-08 Graham Stott <grahams@redhat.com>
2038 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
2039 (C_TYPE_FIELDS_VOLATILE): Likewise.
2040 (C_TYPE_BEING_DEFINED): Likewise.
2041 (C_IS_RESERVED_WORD): Likewise.
2042 (C_TYPE_VARIABLE_SIZE): Likewise.
2043 (C_DECL_VARIABLE_SIZE): Likewise.
2044 (C_MISSING_PROTOTYPE_WARNED): Likewise.
2045 (C_SET_EXP_ORIGINAL_CODE): Likewise.
2046 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
2048 (C_DECL_ANTICIPATED): Likewise.
2049 (c_build_type_variant): Add parenthesis.
2051 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2053 * gcc.c (option_map): Remove --version.
2054 (process_command): Handle -fversion following the GNU Coding
2055 Standards. Partially addresses PR other/704.
2057 2002-01-08 Graham Stott <grahams@redhat.com>
2059 * combine.c (combine_instructions): Fix typo.
2061 2002-01-08 Graham Stott <grahams@redhat.com>
2063 * debug.h: Use "tree" and "rtx" throughout.
2065 * debug.c: Likewise.
2067 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
2069 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
2070 constant pool, use the pool's version of the symbol instead.
2072 2002-01-07 Richard Henderson <rth@redhat.com>
2074 * regrename.c (find_oldest_value_reg): Ignore the value chain if
2075 the original register was copied in a mode with a fewer number of
2076 hard registers than the desired mode.
2077 (copyprop_hardreg_forward_1): Likewise.
2078 (debug_value_data): Fix loop test.
2079 * toplev.c (parse_options_and_default_flags): Reenable
2080 -fcprop-registers at -O1.
2082 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2084 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
2085 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
2087 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
2090 * config/rs6000/rs6000.md: Add altivec predicate patterns.
2092 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
2094 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
2095 (pa_output_function_prologue): Output local label at the beginning of
2096 the prologue when profiling.
2097 (hppa_profile_hook): Use the local label rather than the function label.
2098 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
2100 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2102 * config/rs6000/rs6000.c (print_operand): Remove extra space.
2103 (altivec_expand_unop_builtin): Fix thinko.
2104 (altivec_expand_binop_builtin): Same.
2105 (altivec_expand_ternop_builtin): Same.
2106 (altivec_expand_builtin): Same.
2108 2002-01-07 Richard Henderson <rth@redhat.com>
2110 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
2112 2002-01-07 Jason Merrill <jason@redhat.com>
2114 * unwind-dw2.c (execute_cfa_program): Use < again.
2116 2002-01-07 Jakub Jelinek <jakub@redhat.com>
2118 * predict.c (combine_predictions_for_insn): Avoid division by zero.
2120 2002-01-07 Jakub Jelinek <jakub@redhat.com>
2122 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
2123 Don't allow -1 - x -> ~x simplifications in the first pass.
2125 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2127 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
2129 (altivec_expand_binop_builtin): Same.
2130 (altivec_expand_unop_builtin): Same.
2131 (print_operand): Fix typo.
2132 (bdesc_1arg): Add vupk* variants.
2134 * rs6000.h (rs6000_builtins): Add vupk* enums.
2136 * rs6000.md: Add altivec_vupk* variants.
2138 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
2140 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
2141 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
2142 and last update dates.
2144 2002-01-07 Janis Johnson <janis187@us.ibm.com>
2146 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
2148 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
2150 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
2151 * config/avr/avr.h (CPP_SPEC): Likewise.
2152 (LINK_SPEC): Likewise.
2153 (CRT_BINUTILS_SPECS): Likewise.
2154 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
2155 * doc/invoke.texi (AVR Options): Document them.
2157 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
2159 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
2162 2002-01-07 Graham Stott <grahams@redhat.com>
2164 * config/i386/i386.h: Update copyright date.
2165 (HALF_PIC_PTR): Add parenthesis.
2166 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
2167 (CONSTANT_ALIGNMENT): Add parenthesis.
2168 (DATA_ALIGNMENT): Likewise.
2169 (LOCAL_ALIGNMENT): Likewise.
2170 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
2171 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
2172 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
2173 (HARD_REGNO_NREGS): Add paranethesis.
2174 (VALID_SSE_REG_MODE): Whitespace.
2175 (VALID_MMX_REG_MODE): Whitespace.
2176 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
2177 (ix86_hard_regno_mode_ok): Add parenthesis.
2178 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
2179 (RETURN_IN_MEMORY): Whitespace.
2180 (N_REG_CLASSES): Add parenthesis.
2181 (INTEGER_CLASS_P): Add parenthesis and wrap.
2182 (FLOAT_CLASS_P): Likewise.
2183 (SSE_CLASS_P): Likewise.
2184 (MMX_CLASS_P): Likewise.
2185 (MAYBE_INTEGER_CLASS_P): Likewise.
2186 (MAYBE_FLOAT_CLASS_P): Likewise.
2187 (MAYBE_SSE_CLASS_P): Likewise.
2188 (MAYBE_MMX_CLASS_P): Likewise.
2189 (Q_CLASS_P): Likewise.
2190 (GENERAL_REGNO_P): Uppercase macro parameter.
2191 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
2192 (FP_REGNO_P): Likewise.
2193 (ANY_FP_REGNO_P): Uppercase macro parameter.
2194 (SSE_REGNO_P): Likewise.
2195 (SSE_REGNO): Likewise.
2196 (SSE_REG_P): Likewise.
2197 (SSE_FLOAT_MODE_P): Likewise.
2198 (MMX_REGNO_P): Likewise.
2199 (MMX_REG_P):Likewise.
2200 (STACK_REG_P): Likewise.
2201 (NON_STACK_REG_P): Likewise.
2202 (STACK_TOP_P): Likewise.
2203 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
2204 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
2205 (SECONDARY_MEMORY_NEEDED): Likewise.
2206 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
2207 (MD_ASM_CLOBBERS): Whitespace and wrap.
2208 (MUST_PASS_IN_STACK): Whitespace and wrap.
2209 (RETURN_POPS_ARGS): Add parenthesis.
2210 (INIT_CUMULATIVE_ARGS): Likewise.
2211 (FUNCTION_ARG): Likewise.
2212 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
2213 (SETUP_INCOMING_VARARGS): Likewise.
2214 (BUILD_VA_LIST_TYPE): Add parenthesis.
2215 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
2217 (EXPAND_BUILTIN_VA_ARG): Likewise.
2218 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
2219 (INITIALIZE_TRAMPOLINE): Add parenthesis.
2220 (INITIAL_ELIMINATION_OFFSET): Likewise.
2221 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
2222 (REGNO_OK_FOR_BASE_P): Likewise.
2223 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
2224 (REGNO_OK_FOR_DIREG_P): Likewise.
2225 (REG_OK_FOR_INDEX_P): Whitespace.
2226 (REG_OK_FOR_BASE_P): Whitespace.
2227 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
2229 (FIND_BASE_TERM): Fix typo.
2230 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
2231 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
2232 (SYMBOLIC_CONST; Whitespace.
2233 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
2234 (ENCODE_SECTION_INFO): Whitespace.
2235 (FINALIZE_PIC): Remove do { ... } while (0).
2236 (PROMOTE_MODE): Wrap in do { ... } while (0).
2237 (CONST_COSTS): Whitespace.
2238 (RTX_COSTS): Add paramethesis, whitespace and wrap.
2239 (REGISTER_MOVE_COST): Add parenthesis.
2240 (MEMORY_MOVE_COST): Likewise.
2241 (EXTRA_CC_MODES): Whitespace.
2242 (SELECT_CC_MODE): Add parenthesis and whitespace.
2243 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
2244 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
2245 (ASM_OUTPUT_LABEL): Add paramethesis.
2246 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
2247 (ASM_OUTPUT_REG_POP): Likewise.
2248 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
2249 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
2251 * config/i386/i386.c: Update copyright.
2252 (CHECK_STACK_LIMIT): Add parenthesis.
2253 (AT_BP): Uppercase macro parameter.
2254 (x86_64_int_parameter_registers): Constify.
2255 (x86_64_int_return_registers): Likewise.
2256 (ix86_compare_op0): Use rtx.
2257 (construct_container): Constify INTREG parameter.
2258 (function_arg): Use rtx.
2260 * diagnostic.h: Update copyright date.
2261 (output_buffer_state): Add parenthesis.
2262 (output_buffer_format_args): Likewise.
2264 * combine.c (combine_instructions): Replace XEXP (links, 0)
2267 2002-01-06 H.J. Lu <hjl@gnu.org>
2269 * cfgcleanup.c (thread_jump): Fix 2 typos.
2271 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
2273 * config.gcc: Add support for --enable-altivec.
2275 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2277 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
2279 2002-01-06 Jakub Jelinek <jakub@redhat.com>
2281 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
2282 __objc_class_name_*.
2284 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2286 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
2288 2002-01-06 Richard Henderson <rth@redhat.com>
2290 * reorg.c (emit_delay_sequence): Remove death notes, not merely
2291 nop them out. Increment label reference count for REG_LABEL.
2292 (fill_slots_from_thread): Frob label reference count around
2293 delete_related_insns.
2295 2002-01-05 Richard Henderson <rth@redhat.com>
2297 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
2300 2002-01-05 Richard Henderson <rth@redhat.com>
2302 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
2303 * integrate.c (output_inline_function): Likewise.
2304 * toplev.c (rest_of_compilation): Do it here instead. Move call
2305 to remove_unnecessary_notes after emitting abstract instance.
2306 Force an emitted nested function to have its parent emited as well.
2307 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
2309 (rtl_for_decl_location): Do not look at reload data structures
2310 before reload has run.
2312 2002-01-05 Kazu Hirata <kazu@hxi.com>
2314 * cse.c: Fix formatting.
2315 * dwarf2asm.c: Likewise.
2316 * dwarf2out.c: Likewise.
2317 * explow.c: Likewise.
2318 * expmed.c: Likewise.
2319 * function.c: Likewise.
2321 * gencheck.c: Likewise.
2322 * genrecog.c: Likewise.
2323 * ggc-common.c: Likewise.
2324 * ggc-page.c: Likewise.
2325 * global.c: Likewise.
2327 2002-01-05 Kazu Hirata <kazu@hxi.com>
2329 * combine.c: Fix formatting.
2331 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
2334 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
2336 2002-01-05 David Edelsohn <edelsohn@gnu.org>
2338 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
2339 as 1 for __powerpc64__ as well.
2341 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
2343 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
2346 2002-01-05 Daniel Berlin <dan@dberlin.org>
2348 * lcm.c: Revert change, due to performance regression it causes on
2349 SPEC because it's slightly more conservative (sigh, I hate
2352 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
2354 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
2356 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
2358 * doc/cppinternals.texi: Update.
2360 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
2362 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
2363 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
2365 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
2366 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
2367 kludge for pre-october-14th mmix versions to handle new-found bug
2368 with PUSHJ/PUSHGO and the register stack.
2369 * config/mmix/mmix.h (struct machine_function): Rename member
2370 has_call_value_without_parameters to has_call_without_parameters.
2371 All referers changed.
2372 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
2373 TARGET_MASK_BRANCH_PREDICT): New macros.
2374 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
2375 -mno-reg-stack-fill-bug-workaround.
2376 * config/mmix/mmix.md ("call"): Set struct machine member
2377 has_call_without_parameters.
2379 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
2381 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
2383 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
2385 * cfgcleanup.c: Include tm_p.h
2386 (mark_effect): Fix handling of hard register; fix handling of SET
2388 2002-01-04 Kazu Hirata <kazu@hxi.com>
2390 * config/h8300/h8300.md (anonymous patterns): Check that
2391 operands are registers before using REGNO on them.
2393 2002-01-03 Roland McGrath <roland@frob.com>
2395 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
2397 2002-01-04 Jakub Jelinek <jakub@redhat.com>
2399 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
2400 * c-common.h (genrtl_expr_stmt_value): Likewise.
2401 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
2402 (expand_expr_stmt_value): Add maybe_last argument.
2403 Don't warn about statement with no effect if it is the last statement
2404 in expression statement.
2405 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
2406 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
2407 expand_expr_stmt_value.
2408 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
2409 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
2410 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
2411 as maybe_last to expand_expr_stmt_value.
2413 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
2415 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
2416 be passed in, do not build it.
2417 (c_begin_if_stmt): New function.
2418 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2419 * c-common.h (c_expand_start_cond): Update prototype.
2420 (c_begin_if_stmt): Prototype new function.
2421 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2422 * c-parse.in (if_prefix): Use c_begin_if_stmt,
2423 c_begin_while_stmt and c_finish_while_stmt_cond.
2425 2002-01-04 William Cohen <wcohen@redhat.com>
2427 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
2428 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2429 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2430 * config/pa/som.h (ASM_FILE_START): Likewise.
2432 2001-01-04 Daniel Berlin <dan@cgsoftware.com>
2434 * lcm.c: Include df.h.
2435 Add available_transfer_function prototype.
2436 (compute_available): Rework to use iterative dataflow framework.
2437 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
2438 with bb_info in df.h
2439 (available_transfer_function): New function.
2441 * Makefile.in (lcm.o): add df.h to dependencies.
2443 2002-01-04 Richard Henderson <rth@redhat.com>
2445 * config/alpha/alpha.c (some_operand): Accept HIGH.
2446 (input_operand): Likewise; accept simple references to globals.
2447 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
2448 (alpha_const_double_ok_for_letter_p): Likewise.
2449 (alpha_extra_constraint): Likewise.
2450 (alpha_preferred_reload_class): Likewise. Do not force
2451 symbolic constants to memory.
2452 (alpha_legitimate_address_p): Accept simple references
2453 to small_symbolic_operand.
2454 (alpha_legitimize_address): New arg scratch. Be prepared to be
2455 called when no_new_pseudos. Emit simple symbolic references.
2456 Split integers into low, high, and rest.
2457 (alpha_expand_mov): Use alpha_legitimize_address.
2458 (some_small_symbolic_mem_operand): New.
2459 (split_small_symbolic_mem_operand): New.
2460 * config/alpha/alpha-protos.h: Update.
2461 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
2462 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
2463 (EXTRA_CONSTRAINT): Likewise.
2464 (PREFERRED_RELOAD_CLASS): Likewise.
2465 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
2466 (PREDICATE_CODES): Update.
2467 * config/alpha/alpha.md: New post-reload splitters to convert
2468 simplfied symbolic operands to the form that references $29.
2469 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
2470 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
2472 2002-01-03 Richard Henderson <rth@redhat.com>
2474 * local-alloc.c (function_invariant_p): Update commentary.
2476 2002-01-04 H.J. Lu <hjl@gnu.org>
2478 * toplev.c (rest_of_compilation): Fix a typo when calling
2481 2002-01-03 Kazu Hirata <kazu@hxi.com>
2483 * c-common.c: Fix formatting.
2484 * diagnostic.c: Likewise.
2485 * doloop.c: Likewise.
2486 * dwarf2out.c: Likewise.
2488 2002-01-03 Kazu Hirata <kazu@hxi.com>
2490 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
2491 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
2493 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2495 * cpperror.c: Update comments and copyright.
2496 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
2497 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
2499 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
2501 * collect2.c (main): Use strcmp when testing for "-shared".
2503 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2505 * cppmacro.c: Don't include intl.h. Update comments.
2506 (new_number_token): Allocate enough buffer for 64-bit unsigned
2507 integers; update prototype.
2508 * cppmain.c: Update comments.
2510 2002-01-03 William Cohen <wcohen@redhat.com>
2512 * function.h (struct function): Add profile.
2513 (current_function_profile): New.
2514 doc/extend.texi: Update documentation.
2515 * final.c (final_start_function): Use current_function_profile
2516 instead of profile_flag.
2517 (profile_after_prologue): Likewise.
2518 * function.c (expand_function_start): Likewise.
2519 (expand_function_start): Likewise.
2520 * config/alpha/alpha.c (direct_call_operand):
2521 (alpha_does_function_need_gp): Likewise.
2522 (alpha_expand_prologue): Likewise.
2523 * config/arm/arm.c (arm_expand_prologue): Likewise.
2524 thumb_expand_prologue: Likewise.
2525 * config/d30v/d30v.c (d30v_stack_info): Likewise.
2526 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
2527 (fr30_expand_prologue): Likewise.
2528 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
2529 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
2530 * config/i386/i386.h (FINALIZE_PIC): Likewise.
2531 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
2532 * config/i960/i960.c (i960_output_function_prologue): Likewise.
2533 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
2534 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
2535 (m32r_expand_prologue): Likewise.
2536 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
2537 (m88k_expand_prologue): Likewise.
2538 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
2539 * config/mips/mips.c (compute_frame_size): Likewise.
2540 (mips_expand_prologue): Likewise.
2541 (mips_can_use_return_insn): Likewise.
2542 * config/pa/elf.h (ASM_FILE_START): Likewise.
2543 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2544 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2545 * config/pa/som.h (ASM_FILE_START): Likewise.
2546 * config/romp/romp.c (romp_using_r14): Likewise.
2547 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
2548 (rs6000_stack_info): Likewise.
2549 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2550 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
2551 * config/v850/v850.c (compute_register_save_size): Likewise.
2553 2002-01-03 Jakub Jelinek <jakub@redhat.com>
2555 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
2556 gen_lowpart_common fails, use gen_lowpart_SUBREG.
2558 2002-01-03 Turly O'Connor <turly@apple.com>
2560 * darwin.c (machopic_output_possible_stub_label): Don't generate
2561 stub routines for pseudo-stubs which we've just defined.
2563 2002-01-03 Kazu Hirata <kazu@hxi.com>
2565 * builtins.c: Fix formatting.
2566 * c-typeck.c: Likewise.
2567 * combine.c: Likewise.
2571 2002-01-03 Andreas Schwab <schwab@suse.de>
2573 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
2574 and return true if _cpp_push_next_buffer pushed a new include
2576 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
2577 _cpp_pop_file_buffer did not push a new file.
2578 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
2580 2002-01-02 Eric Christopher <echristo@redhat.com>
2582 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
2583 FIND_REG_INC_NOTE call. Update copyright.
2584 * loop.c (canonicalize_condition): Ditto.
2585 * reorg.c (delete_scheduled_jump): Ditto.
2587 2002-01-03 Kazu Hirata <kazu@hxi.com>
2589 * gcse.c: Fix formatting.
2591 2002-01-03 Graham Stott <grahams@redhat.com>
2593 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
2594 forward defs for struct tags rtx_def, union_tree, rtvec_def
2595 also output corresponding typedefs for rtx, tree, and rtvec.
2597 * system.h: Move forward defs for struct tags rtx_def, union_tree,
2598 rtvec_def along with corresponding typedefs for rtx, tree, and
2599 rtvec to config.h, hconfig.h, tconfig.h.
2601 2002-01-03 Graham Stott <grahams@redhat.com>
2603 * tree.h: Update copyright date.
2604 (IS_EXPR_CODE_CLASS): Add parenthesis.
2605 (TREE_SET_CODE): Add whitespace.
2606 (TREE_CHECK): Add parenthesis.
2607 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
2608 (CST_OR_CONSTRUCTOR_CHECK):
2609 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
2610 (TREE_SYMBOL_REFERENCED): Whitespace.
2611 (INT_CST_LT): Likewise.
2612 (INT_CST_LT_UNSIGNED): Likewise.
2613 (tree_real_cst): Unwrap comment.
2614 (tree_string): Likewise.
2615 (tree_complex): Likewise.
2616 (IDENTIFIER_POINTER): correct cast.
2617 (SAVE_EXPR_CONTEXT): Whitespace.
2618 (EXPR_WFL_FILENAME_NODE): Likewise.
2619 (EXPR_WFL_FILENAME): Remove parenthesis.
2620 (DECL_ORIGIN): Add parenthesis.
2621 (DECL_FROM_INLINE): Use NULL_TREE.
2622 (build_int_2): Whitespace.
2623 (build_type_variant): Add parenthesis.
2625 * gcc/jcf-parse.c: Update copyright date.
2626 (yyparse): Constify resource_filename.
2628 2002-01-03 Graham Stott <grahams@redhat.com>
2630 * rtl.h: Update copyright date.
2631 (RTL_CHECK1): Wrap long line.
2632 (RTL_CHECK2): Likewise.
2633 (RTL_CHECKC1): Wrap long line and whitespace.
2634 (RTL_CHECKC2): Likewise.
2635 (XWINT): Whitespace.
2641 (XBITMAP): Likewise.
2652 (X0BITMAP): Likewise.
2654 (X0BBDEF): Likewise.
2655 (X0ADVFLAGS): Likewise.
2656 (X0CSELIB): Likewise.
2657 (X0MEMATTR): Likewise.
2665 (XCBITMAP): Likewise.
2667 (XCBBDEF): Likewise.
2668 (XCADVFLAGS): Likewise.
2669 (XCCSELIB): Likewise.
2671 (INSN_UID): Likewise.
2672 (PREV_INSN): Likewise.
2673 (PATTERN): Likewise.
2674 (INSN_CODE): Likewise.
2675 (PUT_REG_NOTE_KIND): Likewise.
2676 (CODE_LABEL_NUMBER): Likewise.
2677 (NOTE_SOURCE_FILE): Likewise.
2678 (NOTE_BLOCK): Likewise.
2679 (NOTE_EH_HANDLER): Likewise.
2680 (NOTE_RANGE_INFO): Likewise.
2681 (NOTE_LIVE_INFO): Likewise.
2682 (NOTE_BASIC_BLOCK): Likewise.
2683 (NOTE_EXPECTED_VALUE): Likewise.
2684 (NOTE_LINE_NUMBER): Likewise.
2685 (LABEL_NAME): Likewise.
2686 (LABEL_NUSES): Likewise.
2687 (LABEL_ALTERNATE_NAME): Likewise.
2688 (ADDRESSOF_DECL): Likewise.
2689 (JUMP_LABEL): Likewise.
2690 (LABEL_NEXTREF): Likewise.
2692 (ORIGINAL_REGNO: Likewise.
2693 (HARD_REGISTER_NUM_P): Add parenthesis.
2694 (SUBREG_REG): Whitespace.
2695 (SUBREG_BYTE): Likewise.
2696 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
2697 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
2698 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
2699 (ASM_OPERANDS_INPUT_VEC): Likewise.
2700 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
2701 (ASM_OPERANDS_INPUT): Likewise.
2702 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
2703 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
2704 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
2705 (ASM_OPERANDS_INPUT_MODE): Likewise.
2706 (ASM_OPERANDS_SOURCE_FILE): Likewise.
2707 (ASM_OPERANDS_SOURCE_LINE): Likewise.
2708 (MEM_SET_IN_STRUCT_P): Minor reformat.
2709 (TRAP_CONDITION): Whitespace.
2710 (TRAP_CODE): Likewise.
2711 (COND_EXEC_TEST): Likewise.
2712 (COND_EXEC_CODE): Likewise.
2713 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
2714 (PHI_NODE_P): Add parenthesis.
2715 (plus_constant): Whitespace and add parenthesis.
2717 2002-01-03 Kazu Hirata <kazu@hxi.com>
2719 * config/avr/avr.c: Fix comment typos.
2720 * config/c4x/c4x.md: Likewise.
2721 * config/dsp16xx/dsp16xx.h: Likewise.
2722 * config/dsp16xx/dsp16xx.md: Likewise.
2723 * config/i386/i386.md: Likewise.
2724 * config/ia64/ia64.c: Likewise.
2725 * config/m32r/m32r.h: Likewise.
2726 * config/m68hc11/m68hc11.md: Likewise.
2727 * config/mmix/mmix.c: Likewise.
2728 * config/mn10200/mn10200.c: Likewise.
2729 * config/romp/romp.c: Likewise.
2730 * config/sh/sh.c: Likewise.
2731 * config/stormy16/stormy16.c: Likewise.
2732 * config/stormy16/stormy16.h: Likewise.
2733 * config/stormy16/stormy16.md: Likewise.
2735 2002-01-03 Graham Stott <grahams@redhat.com>
2737 * loop.h: Update copyright date.
2738 (LOOP_MOVABLES): Fix typo.
2739 (LOOP_REGS): Likewise.
2740 (LOOP_IVS): Likewise.
2742 2002-01-03 Graham Stott <grahams@redhat.com>
2744 * cppinit.c: Update copyright date.
2745 Don't include output.h
2746 * Makefile.in: Update copyright date.
2749 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
2752 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
2753 (-pthread) Add to RS/6000 options.
2755 2002-01-02 Kazu Hirata <kazu@hxi.com>
2757 * except.c: Fix comment typos.
2759 * varasm.c: Likewise.
2760 * doc/tm.texi: Fix a typo.
2762 2002-01-02 Jakub Jelinek <jakub@redhat.com>
2764 * c-typeck.c (output_init_element): Allow initializing static storage
2765 duration objects with compound literals.
2767 2002-01-02 Richard Henderson <rth@redhat.com>
2769 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
2772 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2774 * gcc.c (default_compilers): Const-ify.
2775 * mips-tdump.c (stab_names): Likewise.
2776 * mips-tfile.c (map_coff_types, map_coff_storage,
2777 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
2778 pseudo_ops_t, pseudo_ops): Likewise.
2779 * protoize.c (default_include): Likewise
2781 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
2782 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
2783 Add array size in declaration.
2784 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
2785 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
2786 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
2787 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
2788 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
2789 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
2790 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
2791 emtens, make_nan): Const-ify.
2792 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
2793 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
2795 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
2797 * config.gcc (ia64-*-*): Set extra_headers.
2798 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
2799 * config/alpha/t-osf: Remove.
2800 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
2802 2002-01-02 David Edelsohn <edelsohn@gnu.org>
2804 * config/rs6000/t-aix43: Revert previous change.
2806 2002-01-02 Jason Merrill <jason@redhat.com>
2808 * c-decl.c (c_expand_body): Call outlining_inline_function when
2809 emitting an inline function out of line.
2811 2002-01-02 Richard Henderson <rth@redhat.com>
2813 * dwarf2out.c (limbo_die_node): Add created_for member.
2814 (new_die): New argument created_for. Update all callers.
2815 (mark_limbo_die_list): New.
2816 (dwarf2out_init): Register limbo_die_list as a root.
2817 (dwarf2out_finish): Force insert limbo dies into their function
2820 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
2823 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
2825 2002-01-02 Kazu Hirata <kazu@hxi.com>
2827 * config/h8300/fixunssfsi.c: Update copyright.
2830 * config/h8300/h8300.c: Update copyright.
2833 2002-01-02 Kazu Hirata <kazu@hxi.com>
2835 * config/romp/romp.c: Fix comment formatting.
2836 * config/romp/romp.h: Likewise.
2837 * config/romp/romp.md: Likewise.
2838 * config/s390/s390.c: Likewise.
2839 * config/stormy16/stormy16.c: Likewise.
2840 * config/stormy16/stormy16.h: Likewise.
2842 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
2844 * c-common.h (genrtl_expr_stmt_value): Declare.
2845 * c-semantics.c (genrtl_goto_stmt): Redirect to...
2846 (genrtl_goto_stmt_value): ... this new function. Pass new
2847 argument down to expand_expr_stmt_value, taking
2848 TREE_ADDRESSABLE into account.
2849 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
2850 STMT_EXPR as addressable, i.e., one whose result we want.
2851 * expr.c (expand_expr): Don't save expression statement value
2852 of labeled_blocks or loop_exprs.
2853 * stmt.c (expand_expr_stmt): Redirect to...
2854 (expand_expr_stmt_value): ... this new function. Use new
2855 argument to tell whether to save expression value.
2856 (expand_end_stmt_expr): Reset last_expr_type and
2857 last_expr_value if we don't have either.
2858 * tree-inline.c (declare_return_variable): Mark its use
2859 statement as addressable.
2860 * tree.h: Document new use of TREE_ADDRESSABLE.
2861 (expand_expr_stmt_value): Declare.
2863 2002-01-01 Tom Rix <trix@redhat.com>
2865 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
2866 rs6000_emit_allocate_stack.
2868 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
2870 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
2871 ${srcdir}/ginclude/ to every entry in extra_headers.
2872 * configure: Regenerate.
2873 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
2874 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
2875 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
2876 * ginclude/proto.h: Rename to config/convex/proto.h.
2878 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2880 * attribs.c (handle_vector_size_attribute): Use host_integerp
2881 and tree_int_cst; remove warnings.
2882 * caller-save.c (insert_restore): Add cast to get rid of warning.
2883 (insert_save): Likewise.
2884 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
2885 * regmove.c (find_matches): Add temporary var to kill a warning.
2887 2002-01-01 Douglas B Rupp <rupp@gnat.com>
2889 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
2890 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
2891 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
2892 (vms-dwarf2eh.o): Add Makefile rule.
2893 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
2894 * config/alpha/vms-dwarf2eh.asm: New file.
2896 * gcc.c (delete_if_ordinary): Delete all versions.
2898 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
2900 * config/mmix/mmix.md: Update FIXME to not mention
2902 (MMIX_rJ_REGNUM): New define_constants constant.
2903 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
2904 "*movdicc_real"): Adjust contraints formatting.
2905 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
2906 for branch prediction.
2907 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
2909 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
2910 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
2911 number. Delete related FIXMEs.
2912 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
2913 from number to MMIX_rJ_REGNUM.
2914 (TARGET_MASK_BRANCH_PREDICT): New.
2915 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
2916 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
2917 value. Add -mbranch-predict and -mno-branch-predict.
2918 (TARGET_VERSION): Drop date.
2919 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
2920 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
2921 for finding out global symbols.
2922 (mmix_asm_output_labelref): Revert condition for global symbol.
2923 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
2924 (mmix_print_operand_punct_valid_p): A '+' is valid.
2926 See ChangeLog.6 for earlier changes.