1 2002-01-29 Richard Henderson <rth@redhat.com>
3 * flow.c (print_rtl_and_abort): Remove.
4 (print_rtl_and_abort_fcn): Remove.
5 (verify_local_live_at_start): Use dump_bb instead.
6 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
7 (verify_wide_reg_1): Return 2 on mode test failure.
9 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
11 PR c/3325, c/3326, c/2511, c/3347
12 * c-decl.c (enum_decl_context): Remove BITFIELD.
13 (grokdeclarator): Take bitfield width as an input.
14 Ensure bitfields are given the correct type. Perform
15 bitfield width validation with build_bitfield_integer_type
16 rather than waiting for finish_struct.
17 (grok_typename, grok_typename_in_parm_context, start_decl,
18 push_parmdecl, grokfield, start_function): Update calls to
20 (build_bitfield_integer_type): New function.
21 (finish_struct): Move bitfield validation to grokdeclarator
22 and build_bitfield_integer_type.
23 * tree.c (build_nonstandard_integer_type): New function.
24 * tree.h (build_nonstandard_integer_type): New prototype.
26 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
28 2002-01-29 Jakub Jelinek <jakub@redhat.com>
31 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
32 don't ignore unrecognized -W* options.
33 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
34 * cpplib.h (cpp_handle_option): Adjust prototype.
35 * c-decl.c (c_decode_options): Pass 0 as last argument to
39 * gcc.c (cpp_unique_options): Split from cpp_options.
40 (cpp_options): Source cpp_unique_options.
41 (default_compilers): Use cpp_unique_options instead of cpp_options
42 when used together with cc1_options.
43 (static_specs): Add cpp_unique_options.
44 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
45 when used together with cc1_options.
47 2002-01-29 Kazu Hirata <kazu@hxi.com>
49 * config/h8300/h8300-protos.h: Update the prototype of
51 * config/h8300/h8300.c (output_a_shift): Remove an unused
52 argument 'insn'. Remove redundant code.
53 * config/h8300/h8300.md: Adust to the new prototype of
56 2002-01-29 Kazu Hirata <kazu@hxi.com>
58 * config/h8300/h8300-protos.h: Update the prototypes of
59 emit_a_rotate and expand_a_rotate.
60 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
61 first argument to 'enum rtx_code'.
62 (expand_a_rotate): Likewise.
64 2002-01-28 Kazu Hirata <kazu@hxi.com>
66 * config/h8300/h8300-protos.h: Update the prototype of
68 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
70 * config/h8300/h8300.md: Adjust to the new prototype.
72 2002-01-28 Kazu Hirata <kazu@hxi.com>
74 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
77 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
79 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
80 is a fixed register before returning pic_offset_table_rtx.
81 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
82 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
84 2002-01-28 Jason Merrill <jason@redhat.com>
86 * dwarf2.h (enum dwarf_call_frame_info): Add other DWARF 3 codes.
87 Sync with src version.
89 2002-01-28 Paul Koning <pkoning@equallogic.com>
91 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
93 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
94 * doc/extend.texi (__builtin_prefetch): Update documentation:
95 first argument is now const void ptr.
97 2002-01-28 Kazu Hirata <kazu@hxi.com>
99 * config/h8300/h8300-protos.h: Remove an unused prototype.
101 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
103 * toplev.c (lang_independent_init): Round up identifier size.
105 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
107 * config.gcc: Revert previous change.
109 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
111 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
113 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
115 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
116 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
117 other non-elf netbsd config frags.
118 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
119 collect2 will does that.
120 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
121 shared-lib frobbing will work.
123 2002-01-28 Kazu Hirata <kazu@hxi.com>
125 * config/h8300/h8300.h: Fix formatting.
126 * config/h8300/h8300.md: Likewise.
128 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
130 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
131 the old, removed AAA_standards fix.
132 * fixinc/fixincl.x: Rebuilt.
134 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
136 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
137 atexit call in crtbegin, hooked in after call to frame_dummy;
138 register EH before registering __fini__start.
140 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
142 * config/rs6000/altivec.h: Remove spurious semicolons.
144 2002-01-27 Kazu Hirata <kazu@hxi.com>
146 * config/h8300/h8300.md: Replace dead bit extraction patterns
149 Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
151 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
152 if not STRICT_ALIGNMENT.
153 * rtl.h (MEM_ALIGN): Likewise.
155 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
157 * doc/invoke.texi (-fdump-translation-unit): Revert this
158 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
160 2002-01-27 Kazu Hirata <kazu@hxi.com>
162 * config/h8300/h8300.md (define_constants): New.
163 (anonymous patterns) Use defined constants appropriately.
165 2002-01-27 Kazu Hirata <kazu@hxi.com>
167 * config/h8300/h8300.c (function_arg): Remove redundant code.
169 2002-01-26 Richard Henderson <rth@redhat.com>
171 * sched-deps.c (reg_pending_uses_head): New.
172 (reg_pending_barrier): Rename from reg_pending_sets_all.
173 (find_insn_list): Don't mark inline.
174 (find_insn_mem_list): Remove.
175 (add_dependence_list, add_dependence_list_and_free): New.
176 (flush_pending_lists): Replace only_write param with separate
177 for_read and for_write parameters. Update all callers. Use
178 add_dependence_list_and_free.
179 (sched_analyze_1): Do not add reg dependencies here; just set
180 the pending bits. Use add_dependence_list.
181 (sched_analyze_2): Likewise.
182 (sched_analyze_insn): Replace schedule_barrier_found with
183 reg_pending_barrier. Add all dependencies for pending reg
184 uses, sets, and clobbers.
185 (sched_analyze): Don't add reg dependencies for calls, just
186 set pending bits. Use regs_invalidated_by_call. Treat
187 sched_before_next_call as a normal list, not a fake insn.
188 (init_deps): No funny init for sched_before_next_call.
189 (free_deps): Free pending mems lists. Don't zero reg_last.
190 (init_deps_global): Init reg_pending_uses.
191 (finish_deps_global): Free it.
192 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
193 (find_insn_mem_list): Remove.
194 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
195 (propagate_deps): Use them. Zero temp mem lists.
197 2002-01-26 Richard Henderson <rth@redhat.com>
199 * Makefile.in (CRTSTUFF_CFLAGS): New.
200 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
201 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
202 crtstuff.c instead of alpha assembly version.
203 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
204 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
205 not FORCE_{INIT,FINI}_SECTION_ALIGN.
206 (__do_global_dtors_aux): Mark used.
207 (frame_dummy, __do_global_ctors_aux): Mark used.
208 (fini_dummy, init_dummy): Remove.
210 * config/alpha/crtbegin.asm: Remove file.
211 * config/alpha/crtend.asm: Remove file.
212 * config/alpha/t-crtbe: Remove file.
213 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
216 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
217 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
218 calling constructors.
219 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
221 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
222 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
223 CRT_END_INIT_DUMMY hack.
224 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
225 FORCE_{INIT,FINI}_SECTION_ALIGN.
227 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
228 FORCE_{INIT,FINI}_SECTION_ALIGN.
230 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
232 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
234 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
235 (FORCE_CODE_SECTION_ALIGN): New.
237 2002-01-26 Richard Henderson <rth@redhat.com>
239 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
241 2002-01-26 Richard Henderson <rth@redhat.com>
243 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
244 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
246 2002-01-26 Kazu Hirata <kazu@hxi.com>
248 * config/h8300/h8300.md: Remove bit extraction patterns that
250 Restrict each bit extraction pattern to a variant on which the
253 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
255 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
257 2002-01-26 Kazu Hirata <kazu@hxi.com>
259 * config/h8300/h8300.md: Remove bit test patterns that cannot
261 Restrict each bit test pattern to a variant on which the
264 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
266 * builtins.c (expand_builtin_strncat): Remove redundant check for
269 2002-01-25 David O'Brien <obrien@FreeBSD.org>
271 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
273 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
276 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
278 * dbxout.c (dbxout_init): Use assemble_name rather than just
279 stripping off the first character.
280 (dbxout_source_file): Likewise.
282 2002-01-25 DJ Delorie <dj@redhat.com>
284 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
285 using rtx_equal_p, not by comparing pointers.
287 2002-01-25 Steve Ellcey <sje@cup.hp.com>
289 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
290 for PIC_OFFSET_TABLE_REGNUM.
291 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
293 2002-01-25 David O'Brien <obrien@FreeBSD.org>
295 * config.gcc (x86_64-*-freebsd*): New target.
296 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
298 (i[34567]86-*-freebsd*): Don't include svr4.h.
299 * config/i386/freebsd64.h: New file.
301 2002-01-25 Douglas B Rupp <rupp@gnat.com>
303 * config/alpha/x-vms (version): Make static.
305 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
308 * Makefile.in (install-headers-cp): New target.
309 * config.gcc (alpha-dec-*vms*): Install headers with
312 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
314 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
317 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
319 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
321 (expand_builtin_strncat): Likewise.
322 * c-decl.c (finish_struct): Use tree_low_cst.
323 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
324 * tree.c (compare_tree_int): Likewise.
326 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
328 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
329 adjustments even if they are implemented by more than two insns.
331 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
333 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
334 * df.h (struct ref): Kill B.
335 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
337 * basic-block.h (PROP_EQUAL_NOTES): New flag.
338 * flow.c (propagate_one_insn): Use it.
339 (mark_used_regs): Handle NIL.
341 2001-01-25 Geoffrey Keating <geoffk@redhat.com>
343 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
346 2002-01-25 David Edelsohn <edelsohn@gnu.org>
348 * rs6000.md (prefetch): Make address V4SI mode so that the address
349 is restricted to legitimate form for instruction.
351 2002-01-25 Bob Wilson <bob.wilson@acm.org>
353 * doc/install.texi (xtensa-*-elf): New target.
354 (xtensa-*-linux*): New target.
355 * doc/contrib.texi: Add myself.
357 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
359 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
360 purpose register to hold an SImode (or smaller) value.
362 2002-01-25 Jakub Jelinek <jakub@redhat.com>
364 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
366 * crtstuff.c: Likewise.
368 2002-01-25 Kazu Hirata <kazu@hxi.com>
370 * config/h8300/h8300.md (negation patterns): Tighten
371 predicates to register_operand.
373 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
375 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
378 * builtins.c (expand_builtin_prefetch): Same.
380 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
382 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
385 2002-01-24 Kazu Hirata <kazu@hxi.com>
387 * config/h8300/h8300.c (print_operand): Remove support for
388 operand character 'A'.
389 * config/h8300/h8300.md (three anonymous patterns): Replace
390 operand character 'A' with either 'T' or 'S'.
392 2002-01-24 Kazu Hirata <kazu@hxi.com>
394 * config/h8300/h8300.c (print_operand): Remove support for
395 operand character 'U'.
397 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
399 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
401 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
403 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
404 values to be assigned to the stack pointer.
406 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
408 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
409 to const_double needs to be done right for big-endian systems.
411 2002-01-24 Jason Merrill <jason@redhat.com>
414 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
415 to can_throw_internal.
417 2002-01-23 Richard Henderson <rth@redhat.com>
419 * fold-const.c (fold): Change UINT_MAX test to check vs precision
420 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
422 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
424 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
425 (symGOT2reg): Use them, then set as GOT value as unchanging.
426 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
427 as a temporary, if possible.
428 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
429 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
431 2002-01-23 Kazu Hirata <kazu@hxi.com>
433 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
434 accept to accept 0x80 as operands[2].
436 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
438 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
440 2002-01-23 Richard Henderson <rth@redhat.com>
442 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
444 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
446 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
447 (parmlist_or_identifiers_1): Verify that only a parmlist follows
450 2002-01-23 Richard Henderson <rth@redhat.com>
452 * expr.c (move_by_pieces_1): Extend size before negation.
454 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
455 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
456 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
457 * config/m68k/t-m68kelf: Likewise.
459 2002-01-23 Bob Wilson <bob.wilson@acm.org>
461 * config/xtensa/elf.h: New file.
462 * config/xtensa/lib1funcs.asm: New file.
463 * config/xtensa/lib2funcs.S: New file.
464 * config/xtensa/linux.h: New file.
465 * config/xtensa/t-xtensa: New file.
466 * config/xtensa/xtensa-config.h: New file.
467 * config/xtensa/xtensa-protos.h: New file.
468 * config/xtensa/xtensa.c: New file.
469 * config/xtensa/xtensa.h: New file.
470 * config/xtensa/xtensa.md: New file.
471 * config.gcc (xtensa-*-elf*): New target.
472 (xtensa-*-linux*): New target.
473 * cse.c (canon_hash): Compare rtx pointers instead of register
474 numbers. This is required for the Xtensa port.
475 * integrate.c (copy_insn_list): Handle case where the static
476 chain is in memory and the memory address has to be copied to
478 * doc/invoke.texi (Option Summary): Add Xtensa options.
479 (Xtensa Options): New node.
480 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
482 2002-01-23 Zack Weinberg <zack@codesourcery.com>
484 * diagnostic.c (internal_error): Do ICE suppression only
485 when ENABLE_CHECKING is not defined.
487 * c-typeck.c (require_complete_type): Return error_mark_node
488 if type is error_mark_node.
490 2002-01-23 Janis Johnson <janis187@us.ibm.com>
492 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
493 -Os and issue a warning.
495 2002-01-23 Zack Weinberg <zack@codesourcery.com>
497 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
498 current (lack of) need for host configuration by hand.
500 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
501 references. Documentation of some target macros moved from
502 hostconfig.texi to tm.texi.
504 2002-01-23 Will Cohen <wcohen@redhat.com>
506 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
509 2002-01-23 Kazu Hirata <kazu@hxi.com>
511 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
514 2002-01-23 Jason Merrill <jason@redhat.com>
516 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
518 * function.c (assign_parms): Don't put args of inline functions
519 into registers when not optimizing.
521 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
523 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
524 (prologue_use): New pattern.
525 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
526 preference to gen_rtx_USE.
527 (thumb_expand_prologue): Use gen_prologue_use in preference to
529 (thumb_expand_epilogue): Use gen_prologue_use in preference to
532 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
534 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
536 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
539 * doc/extend.texi: Correct documentation of __alignof__.
541 2002-01-22 Zack Weinberg <zack@codesourcery.com>
543 * params.h: Rename arguments of DEFPARAM so that it will be
544 recognized as a translation keyword.
546 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
548 * extend.texi: Document altivec functions.
549 Fix N-bit adjectives in X86 builtin documentation.
551 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
553 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
556 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
558 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
560 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
562 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
564 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
566 2002-01-22 Richard Henderson <rth@redhat.com>
568 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
569 copy_insn not copy_rtx.
571 2002-01-23 Alan Modra <amodra@bigpond.net.au>
573 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
574 "nonzero" as that might add "1" bits. Ensure "constop" is
575 properly sign extened.
576 (force_to_mode): Tweak for sign extended constop.
578 2002-01-22 Richard Henderson <rth@redhat.com>
580 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
581 for_each_rtx instead of assuming we're already looking at the MEM.
582 (split_small_symbolic_mem_operand): Likewise.
583 * config/alpha/alpha.h (PREDICATE_CODES): Update.
584 * config/alpha/alpha.md (small symbolic memory splitters): Update.
586 2002-01-22 Richard Henderson <rth@redhat.com>
588 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
589 sequence number for the literal.
590 (divmoddi_internal_er): Likewise.
592 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
595 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
596 in LIBICONV variable.
597 * configure: Regenerated.
599 2002-01-22 Krister Walfridsson <cato@df.lth.se>
601 * dependence.c (build_def_use): Remove array_idx.
603 * dwarfout.c (last_filename): Remove.
604 (output_compile_unit_die): Remove last_filename.
606 2002-01-22 Roger Sayle <roger@eyesopen.com>
607 Richard Henderson <rth@redhat.com>
610 * fold-const.c (fold): Optimize unsigned comparisons against
611 UINT_MAX (and similar unsigned constants).
613 2002-01-22 Janis Johnson <janis187@us.ibm.com>
615 * Makefile.in (loop.o): Depend on OPTABS_H.
616 * loop.c (emit_prefetch_instructions): Check the prefetch operand
617 against the predicate.
620 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
621 for the address operand.
623 2002-01-22 Richard Henderson <rth@redhat.com>
625 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
627 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
630 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
633 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
635 * config.gcc (x86_64-*-netbsd*): New target.
636 * config/i386/netbsd64.h: New file.
638 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
640 * regrename.c (kill_value): Fix typo.
642 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
644 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
646 * config/rs6000/rs6000.h: Same.
648 * function.c (instantiate_virtual_regs): Remove
649 STARTING_FRAME_PHASE.
650 (assign_stack_local_1): Same.
651 Calculate frame phase.
653 2002-01-22 Nick Clifton <nickc@redhat.com>
655 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
656 variable declaration to outer scope in order to simplify
658 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
659 arm_hard_regno_mode_ok.
660 * config/arm/arm-protos.h: Add a prototype for
661 arm_hard_regno_mode_ok.
662 * config/arm/arm.c (soft_df_operand): Remove now redundant
663 check for DImode values using IP_REGNUM.
664 (nonimmediate_soft_df_operand): Remove now redundant check for
665 DImode values using IP_REGNUM.
666 (arm_hard_regno_mode_ok): New function. New check: make sure
667 that DImode values are not stored in IP_REGNUM.
669 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
671 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
673 2002-01-22 Jason Merrill <jason@redhat.com>
675 * c-semantics.c (genrtl_compound_stmt): Only check nesting
676 consistency if this COMPOUND_STMT is scoped.
678 2002-01-22 Kazu Hirata <kazu@hxi.com>
680 * predict.c: Fix formatting.
681 * print-tree.c: Likewise.
682 * protoize.c: Likewise.
685 * sbitmap.h: Likewise.
687 * sched-deps.c: Likewise.
688 * sched-vis.c: Likewise.
689 * sdbout.c: Likewise.
690 * sibcall.c: Likewise.
692 * ssa-ccp.c: Likewise.
693 * ssa-dce.c: Likewise.
695 * stor-layout.c: Likewise.
696 * system.h: Likewise.
698 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
700 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
701 if fits in bounds of base type.
703 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
704 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
705 (add_bound_info, default): If can't find a context, make a
707 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
709 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
711 * c-typeck.c (parser_build_binary_op): If result from
712 build_binary_op is ERROR_MARK just return error_mark_node without
715 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
717 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
718 Split a.out-specific bits into...
719 * config/netbsd-aout.h: ...this.
720 * config/netbsd-elf.h: New file.
721 * config/alpha/netbsd-elf.h: Remove.
722 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
723 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
724 (STARTFILE_SPEC): Remove redundant definition.
725 (ENDFILE_SPEC): Likewise.
726 (LINK_SPEC): Likewise.
727 (CPP_SPEC): Likewise.
728 (ASM_SPEC): Likewise.
729 (LIB_SPEC): Likewise.
730 (SWITCH_TAKES_ARG): Likewise.
731 (TARGET_MEM_FUNCTIONS): Likewise.
732 (CPP_PREDEFINES): Redefine.
733 (ASM_FINAL_SPEC): Remove redefinition.
734 (ASM_COMMENT_START): Redefine.
735 (FUNCTION_PROFILER): Define.
736 (TARGET_VERSION): Redefine.
737 Comment and formatting cleanup.
738 * config/i386/netbsd.h: Include <netbsd-aout.h>.
739 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
740 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
741 big- or little-endian.
742 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
743 * config.gcc (*-*-netbsd*): Add definitions common to all
745 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
746 gnu_ld definitions. Add netbsd-elf.h to and remove
747 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
748 tmake_file, and don't lose previous tmake_file contents.
749 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
750 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
751 gnu_ld definitions. Add netbsd-elf.h to tm_file.
752 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
753 (mipsel-*-netbsd*): Rename this to...
754 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
755 mips/little.h to tm_file for mips*el-*.
756 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
757 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
758 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
760 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
762 * pa-protos.h (reg_before_reload_operand): New function prototype.
763 * pa.c (reg_before_reload_operand): New function implementation.
764 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
767 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
769 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
771 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
773 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
774 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
775 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
776 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
777 (ENDFILE_SPEC): Undefine.
778 (STARTFILE_SPEC): Redefine for PA.
780 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
782 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
784 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
786 * config.gcc: Add entries to supported PowerPC --with-cpu
789 2002-01-21 Jakub Jelinek <jakub@redhat.com>
791 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
792 true for 64-bit mode only SSE registers in 32-bit mode.
794 2002-01-21 Kazu Hirata <kazu@hxi.com>
796 * unwind-dw2.c: Fix formatting.
797 * unwind-dw2-fde.c: Likewise.
798 * unwind-dw2-fde.h: Likewise.
799 * unwind-pe.h: Likewise.
800 * varasm.c: Likewise.
801 * varray.h: Likewise.
803 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
805 Remove workaround for register stack overwrite bug in mmix.
806 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
807 support for TARGET_REG_STACK_FILL_BUG.
808 * config/mmix/mmix.h: Remove member has_call_without_parameters.
809 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
811 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
812 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
813 -mno-reg-stack-fill-bug-workaround.
814 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
815 machine member has_call_without_parameters.
816 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
817 -mreg-stack-fill-bug-workaround and
818 -mno-reg-stack-fill-bug-workaround.
819 (MMIX Options): Ditto.
821 2002-01-21 Kazu Hirata <kazu@hxi.com>
823 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
825 Remove redundant code.
827 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
829 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
830 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
831 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
832 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
833 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
834 out target macro definitions and non-target-specific comments
835 mostly taken from old versions of the manual.
837 2002-01-20 Kazu Hirata <kazu@hxi.com>
839 * config/h8300/h8300.h: Fix comment formatting.
840 * config/ia64/aix.h: Likewise.
841 * config/ia64/ia64-protos.h: Likewise.
842 * config/ia64/ia64.c: Likewise.
843 * config/ia64/ia64.h: Likewise.
844 * config/ia64/ia64intrin.h: Likewise.
845 * config/ia64/linux.h: Likewise.
846 * config/ia64/unwind-aix.c: Likewise.
847 * config/ia64/unwind-ia64.c: Likewise.
849 2002-01-20 Kazu Hirata <kazu@hxi.com>
851 * config/h8300/h8300.c: Revise comments about shift code.
853 2002-01-20 Kazu Hirata <kazu@hxi.com>
855 * config/h8300/h8300.c (function_arg): Update a comment.
857 2002-01-20 Kazu Hirata <kazu@hxi.com>
859 * config/h8300/h8300.md: Update the comments at the beginning
862 2002-01-20 Kazu Hirata <kazu@hxi.com>
864 * config/i370/i370.c: Fix comment formatting.
865 * config/i370/i370.h: Likewise.
866 * config/i370/i370.md: Likewise.
867 * config/i370/linux.h: Likewise.
869 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
871 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
873 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
874 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
877 2002-01-20 Graham Stott <grahams@redhat.com>
879 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
881 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
883 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
885 2002-01-19 Tom Rix <trix@redhat.com>
887 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
889 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
891 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
893 * function.c (assign_stack_local_1): Adjust x_frame_offset with
894 STARTING_FRAME_PHASE.
895 (STARTING_FRAME_PHASE): New.
896 (instantiate_virtual_regs): Check saneness of
897 STARTING_FRAME_PHASE.
899 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
901 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
903 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
905 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
907 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
908 be used for bootstrapping GCC 3.0.
910 2002-01-18 Kazu Hirata <kazu@hxi.com>
912 * config/h8300/h8300.md: Fix an insn length.
914 2002-01-18 Kazu Hirata <kazu@hxi.com>
916 * bitmap.h: Fix comment formatting.
917 * combine.c: Likewise.
918 * cppfiles.c: Likewise.
919 * c-pragma.h: Likewise.
920 * c-typeck.c: Likewise.
922 * dwarf2out.c: Likewise.
923 * function.c: Likewise.
925 * genattrtab.c: Likewise.
926 * gthr-win32.h: Likewise.
927 * haifa-sched.c: Likewise.
928 * predict.c: Likewise.
929 * rtlanal.c: Likewise.
931 * unwind-dw2-fde.h: Likewise.
932 * unwind-pe.h: Likewise.
933 * vmsdbgout.c: Likewise.
935 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
937 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
938 if type_required and passed decl.
940 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
942 * config.gcc (cpu_type): Include altivec.h in powerpc
946 * config/rs6000/altivec.h: New.
948 2002-01-17 David Edelsohn <edelsohn@gnu.org>
950 * doc/install.texi (*-ibm-aix*): Update assembler and exception
951 handling information.
952 * doc/trouble.texi (Interoperation): Add libstdc++ information
954 (Misunderstandings): Add template instantiation and static template
955 member information for AIX.
957 2002-01-17 Jason Merrill <jason@redhat.com>
959 * dbxout.c (dbxout_type): Support const and volatile.
961 * except.c (add_partial_entry): Remove backwards compatibility code.
962 (end_protect_partials): Likewise.
964 2002-01-17 Jakub Jelinek <jakub@redhat.com>
966 * config/ia64/ia64.md (prologue_use): New.
967 * config/ia64/ia64.c (ia64_expand_prologue): Use
968 gen_prologue_use instead of gen_rtx_USE.
969 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
970 as CODE_FOR_pred_rel_mutex.
971 (ia64_sched_reorder2): Likewise.
973 2002-01-16 Eric Christopher <echristo@redhat.com>
975 * config/mips/r3900.h: Reformat.
976 (SUBTARGET_CPP_SIZE_SPEC): Remove.
977 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
978 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
979 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
980 * config/mips/t-elf: Remove mips3 multilib.
982 2002-01-16 H.J. Lu <hjl@gnu.org>
984 * config/mips/linux.h: Include "mips/abi64.h".
986 2002-01-16 H.J. Lu <hjl@gnu.org>
988 * config/mips/t-linux: New.
990 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
992 * config/mips/linux.h: Don't include "gofast.h".
993 (INIT_SUBTARGET_OPTABS): Removed.
995 2002-01-16 Kazu Hirata <kazu@hxi.com>
997 * config/h8300/h8300-protos.h: Replace emit_a_shift with
999 * config/h8300/h8300.c: Likewise.
1000 * config/h8300/h8300.md: Likewise.
1002 2002-01-16 Kazu Hirata <kazu@hxi.com>
1004 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
1005 spaces after an opcode name.
1006 (pushqi1_h8300hs): Likewise.
1007 (pushhi1_h8300hs): Likewise.
1009 2002-01-16 Kazu Hirata <kazu@hxi.com>
1011 * doc/extend.texi: Replace "option" with "attribute"
1014 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1016 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
1017 (and:DI () (const_int -8)).
1018 (split_small_symbolic_mem_operand): Split
1019 (mem (and:DI () (const_int -8)).
1021 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1024 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
1025 same way as TYPE_IMUL.
1026 (ultrasparc_sched_reorder): Likewise.
1027 * config/sparc/sparc.md (type): Add comment to update
1028 ultrasparc_sched_reorder when making changes.
1030 2002-01-16 Kazu Hirata <kazu@hxi.com>
1032 * doc/invoke.texi: Change the dump file name of block
1033 reordering pass from 28.bbro to 29.bbro.
1036 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
1038 * i386.md (minsf splitter): Fix pasto.
1040 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1042 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
1043 to frame pointer initialisation instruction.
1044 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
1045 initialisation instruction.
1046 (soft_df_operand): Do not accept the IP register.
1047 (nonimmediate_soft_df_operand): Do not accept the IP register.
1049 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1052 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
1053 MASK_V8 being both set.
1055 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
1057 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
1058 insn for GOT register; add REG_MAYBE_DEAD notes instead.
1059 config/s390/s390.md (call, call_value): Add GOT register to
1060 CALL_INSN_FUNCTION_USAGE where needed.
1061 (call_exp, call_value_exp): New.
1063 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1065 * config/arm/arm.c: General formatting tidy up.
1067 2002-01-16 Graham Stott <grahams@redhat.com>
1069 * calls.c (try_to_integrate): Use "(size_t)" intermediate
1070 cast and when casting an integer literal to "rtx" pointer.
1071 (expand_call): Likewise.
1072 * flow.c (try_pre_increment): Likewise.
1073 (find_use_as_address): Likewise.
1074 * integrate.c (expand_iline_function): Likewise.
1075 * regmove.c (try_auto_increment): Likewise.
1077 2002-01-16 Graham Stott <grahams@redhat.com>
1079 * sched-rgn.c (passed): Use sbitmap_free.
1082 (in_queue): Likewise.
1083 (in_stack): Likewise.
1085 2002-01-15 Eric Christopher <echristo@redhat.com>
1087 * flow.c (propagate_one_insn): Change to use fatal_insn.
1089 2002-01-15 Kazu Hirata <kazu@hxi.com>
1091 * expmed.c (extract_fixed_bit_field): Remove unused code.
1092 * system.h: Poison SLOW_ZERO_EXTEND.
1093 * doc/tm.texi: Remove.
1094 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
1095 * config/arm/arm.h: Likewise.
1096 * config/avr/avr.h: Likewise.
1097 * config/clipper/clipper.h: Likewise.
1098 * config/convex/convex.h: Likewise.
1099 * config/d30v/d30v.h: Likewise.
1100 * config/dsp16xx/dsp16xx.h: Likewise.
1101 * config/elxsi/elxsi.h: Likewise.
1102 * config/fr30/fr30.h: Likewise.
1103 * config/h8300/h8300.h: Likewise.
1104 * config/i370/i370.h: Likewise.
1105 * config/i386/i386.h: Likewise.
1106 * config/m68k/m68k.h: Likewise.
1107 * config/mips/mips.h: Likewise.
1108 * config/ns32k/ns32k.h: Likewise.
1109 * config/pdp11/pdp11.h: Likewise.
1110 * config/pj/pj.h: Likewise.
1111 * config/s390/s390.h: Likewise.
1112 * config/sh/sh.h: Likewise.
1113 * config/stormy16/stormy16.h: Likewise.
1114 * config/v850/v850.h: Likewise.
1115 * config/vax/vax.h: Likewise.
1116 * config/we32k/we32k.h: Likewise.
1118 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
1120 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
1121 (altivec_lvsl): Change constraint to b.
1122 (altivec_lvsr): Same.
1123 (altivec_lvebx): Same.
1124 (altivec_lvehx): Same.
1125 (altivec_lvewx): Same.
1126 (altivec_lvxl): Same.
1127 (altivec_lvx): Same.
1128 (altivec_stvx): Add parallel.
1129 (altivec_stvxl): Same.
1130 (altivec_stvehx): Same.
1131 (altivec_stvebx): Same.
1132 (altivec_stvebx): Same.
1134 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
1136 * config.gcc: Change altivec.h to altivec-defs.h.
1138 * config/rs6000/altivec.h: Delete.
1140 * config/rs6000/altivec-defs.h: Add.
1142 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1144 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
1147 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
1148 less than or equal to eight bytes.
1150 * vax.md (andsi3): Remove constraints and change SET destination
1151 operand type to nonimmediate_operand.
1152 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
1153 when it is a CONST_INT.
1155 2002-01-15 Jason Merrill <jason@redhat.com>
1157 * c-common.def (FILE_STMT): New code.
1158 * c-common.c (statement_code_p): It's a statement.
1159 * c-common.h (stmt_tree_s): Add x_last_filename.
1160 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
1161 (last_expr_filename): New macro.
1162 * c-semantics.c (begin_stmt_tree): Initialize it.
1163 (add_stmt): If the filename changed, also insert a
1165 (expand_stmt): Handle seeing one.
1167 2002-01-15 Eric Christopher <echristo@redhat.com>
1169 * flow.c (propagate_one_insn): Add error message and print out
1172 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1174 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
1175 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
1176 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
1177 TRAMPOLINE_ALIGNMENT.
1178 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
1180 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
1181 PCC_BITFIELD_TYPE_MATTERS.
1182 * config/interix.h (STDC_VALUE): Remove. Use
1183 STDC_0_IN_SYSTEM_HEADERS.
1184 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
1185 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
1186 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
1188 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
1190 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
1191 not work on this platform currently.
1193 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1195 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
1196 readonly_warning in _().
1198 2002-01-15 Douglas B Rupp <rupp@gnat.com>
1200 * gcc.c (delete_if_ordinary): Backout previous change.
1202 2002-01-15 Kazu Hirata <kazu@hxi.com>
1204 * config/h8300/h8300.c (print_operand): Remove support for
1205 unused operand characters.
1207 * read-rtl.c: Fix formatting.
1209 * recog.c: Likewise.
1210 * regclass.c: Likewise.
1211 * regmove.c: Likewise.
1212 * reg-stack.c: Likewise.
1213 * reload1.c: Likewise.
1214 * rtlanal.c: Likewise.
1216 2002-01-15 Kazu Hirata <kazu@hxi.com>
1218 * config/i386/i386.c: Fix formatting.
1220 2002-01-15 Jakub Jelinek <jakub@redhat.com>
1222 * c-typeck.c (process_init_element): Don't save_expr
1223 COMPOUND_LITERAL_EXPR if just its initializer will be used.
1225 2002-01-15 David Edelsohn <edelsohn@gnu.org>
1227 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
1228 emit optional traceback table if optimize_size or TARGET_ELF.
1229 * config/rs6000/rs6000.md (prefetch): New.
1231 2002-01-15 Andreas Jaeger <aj@suse.de>
1233 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
1235 2002-01-15 Kazu Hirata <kazu@hxi.com>
1237 * mips-tfile.c: Fix formatting.
1239 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
1241 * unroll.c (final_reg_note_copy): Fix previous commit.
1243 2002-01-14 Kazu Hirata <kazu@hxi.com>
1245 * config/h8300/h8300-protos.h: Remove the prototype for
1247 * config/h8300/h8300.c (eq_operator): Remove.
1249 2002-01-14 Richard Henderson <rth@redhat.com>
1251 * config/i386/i386.md (prefetch): Tidy.
1252 (prefetch_3dnow): Fix locality operand.
1254 2002-01-14 Richard Henderson <rth@redhat.com>
1256 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
1257 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
1259 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
1261 * reload1.c (reload_combine): Pass reg_sum replacement through
1262 copy_rtx in loop performing multiple changes.
1264 2002-01-14 Jakub Jelinek <jakub@redhat.com>
1266 * except.c (remove_unreachable_regions): New.
1267 (free_eh_status): Clear exception_handler_labels.
1268 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
1269 (find_exception_handler_labels): Don't add the same label more than
1271 (remove_exception_handler_label): Don't die if
1272 find_exception_handler_labels hasn't been called for the current
1275 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
1277 * toplev.c (rest_of_compilation): Rebuild jump labels after
1280 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
1282 * doc/extend.texi: Move documentation of X86 built-in functions
1284 * doc/invoke.texi: From here.
1285 * doc/sourcebuild.texi: Document location of documentation for
1286 machine built-in functions.
1288 2002-01-13 Christopher Faylor <cgf@redhat.com>
1290 * cppfiles.c (TEST_THRESHOLD): New macro.
1291 (SHOULD_MMAP): Ditto.
1292 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
1295 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
1297 * unroll.c (final_reg_note_copy): Properly handle
1299 (unroll_loops): Fix LOOP_CONDITION heuristics.
1301 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
1303 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
1304 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
1306 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
1308 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
1311 2002-01-14 Tom Rix <trix@redhat.com>
1313 * config/rs6000/rs6000.md: Fix typo with sradi.
1315 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
1317 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
1318 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
1319 (clrstrdi, clrstrsi): Adapt callers.
1321 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
1323 (movti splitter): Never use register 0 as base register.
1325 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
1327 * combine.c (simplify_shift_const): Always generate new rtx
1328 for shift expression instead of reusing given expression.
1330 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1332 * config/alpha/alpha.c (alpha_expand_mov): Don't call
1333 alpha_legitimize_address unless mode is Pmode.
1335 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
1337 * doc/md.texi (Modifiers): Document the '*' constraint for the
1340 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
1341 * doc/extend.texi (Function Attributes): 'interrupt' is valid
1344 2002-01-13 Richard Henderson <rth@redhat.com>
1346 * reload.c (find_reloads): Use a hard reg destination as reload reg
1347 for an input reload of the source.
1349 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1351 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
1354 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
1356 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1357 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1359 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
1361 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1363 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
1365 2002-01-12 Tom Rix <trix@redhat.com>
1367 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
1370 2002-01-12 Richard Henderson <rth@redhat.com>
1372 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
1374 * doc/invoke.texi: Update Alpha options.
1376 * doc/invoke.texi: Update i386 built-in function lists.
1378 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
1380 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
1381 referencing outside.
1383 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1385 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
1386 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
1387 offsets, and change line folding.
1388 * optabs.c (expand_binop): Remove warnings.
1389 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
1391 2002-01-12 Graham Stott <grahams@redhat.com>
1393 * attribs.c (handle_deprecated_attribute): constify WHAT.
1394 * diagnostic.c (warn_deprecated_use): Add braces, fixes
1395 dangling else warning and constify WHAT.
1396 * except.h (struct function, struct inline_remap): Move
1397 struct tag forward defs before all prototypes.
1398 (duplicate_eh_regions): Whitespace.
1400 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
1402 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
1403 MODE_BASE_REG_CLASS.
1404 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
1406 2002-01-12 Richard Henderson <rth@redhat.com>
1408 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
1409 (ix86_expand_vector_move): New.
1410 (bdesc_2arg): Remove andps, andnps, orps, xorps.
1411 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
1412 Remove old prefetch builtins. Special case the logicals removed above.
1413 (ix86_expand_builtin): Likewise.
1414 (safe_vector_operand): Use V4SFmode, not TImode.
1415 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
1416 (ix86_expand_timode_binop_builtin): New.
1417 * config/i386/i386-protos.h: Update.
1418 * config/i386/i386.h (enum ix86_builtins): Update.
1419 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
1420 Use ix86_expand_vector_move in vector move expanders.
1421 (movti_internal, movti_rex64): Add xorps alternative.
1422 (sse_clrv4sf): Rename and adjust from sse_clrti.
1423 (prefetch): Don't work so hard.
1424 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
1425 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
1426 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
1428 2002-01-11 Richard Henderson <rth@redhat.com>
1430 * config/i386/mmintrin.h: New file.
1431 * config/i386/xmmintrin.h: New file.
1432 * config.gcc (i?86-*-*): Add extra_headers.
1433 * simplify-rtx.c (simplify_unary_operation): Handle saturating
1435 (simplify_binary_operation): Handle saturating arithmetic codes.
1436 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
1437 not the lowpart subreg.
1438 (ix86_expand_builtin): Return a TImode dummy register instead of 0
1440 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
1442 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1444 * conflict.c (conflict_graph_compute): Free regsets when finished.
1445 * ssa.c (compute_coalesced_reg_partition): Likewise.
1447 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1449 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
1450 every where we allocate a register.
1452 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1454 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
1455 * lcm.c (compute_earliest, compute_farthest): Likewise.
1457 2002-01-11 Janis Johnson <janis187@us.ibm.com>
1459 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
1461 2002-01-11 Janis Johnson <janis187@us.ibm.com>
1463 * doc/rtl.texi (Insns): Fix 2 typos.
1465 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1467 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
1468 options. Use @table @gcctabopt for MMIX options. Add index
1469 entries for MMIX options. Start new paragraph with first
1470 heading of the machine-dependent options.
1472 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
1475 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
1476 * combine.c (force_to_mode): Same.
1477 * reload1.c (clear_reload_reg_in_use): Same.
1479 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
1481 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
1484 2002-01-11 Andreas Jaeger <aj@suse.de>,
1485 Brad Lucier <lucier@math.purdue.edu>
1487 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
1490 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
1492 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
1493 Protect with IN_LIBGCC.
1494 (LINK_EH_SPEC): Add required trailing space.
1496 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
1498 * c-tree.h: Move function declarations so that they are listed
1499 under the filename which contains them.
1500 (check_identifier, finish_decl_top_level,
1501 lookup_name_current_level_global, shadow_record_fields): Remove.
1503 2002-01-11 Andreas Jaeger <aj@suse.de>
1505 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
1508 2002-01-10 Richard Henderson <rth@redhat.com>
1510 * config/alpha/alpha.c (print_operand): Add 'J'.
1511 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
1512 new operand with the sequence number for the lituse. When splitting
1513 the insns, use gen_movdi_er_high_g and generate a sequence number.
1514 (gen_movdi_er_high_g): Print the sequence number if non-zero.
1516 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
1518 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
1519 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
1521 (altivec_expand_builtin): Same.
1522 (altivec_expand_stv_builtin): New.
1524 * config/rs6000/rs6000.h (rs6000_builtins): Same.
1526 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
1527 ("altivec_lvehx"): New.
1528 ("altivec_lvewx"): New.
1529 ("altivec_lvxl"): New.
1530 ("altivec_lvx"): New.
1531 ("altivec_stvx"): New.
1532 ("altivec_stvebx"): New.
1533 ("altivec_stvehx"): New.
1534 ("altivec_stvewx"): New.
1535 ("altivec_stvxl"): New.
1537 2002-01-10 Richard Henderson <rth@redhat.com>
1539 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
1540 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
1541 care not to delete instructions twice.
1543 2002-01-10 Zack Weinberg <zack@codesourcery.com>
1545 * toplev.c: Don't declare environ (it's not used anywhere).
1546 * configure.in: Don't check for declaration of environ.
1547 * config/i386/xm-mingw32.h: Don't #define environ.
1548 * config.in, configure: Regenerate.
1550 2002-01-10 Zack Weinberg <zack@codesourcery.com>
1552 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
1553 * configure: Regenerate.
1555 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
1556 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
1557 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
1559 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
1560 LIMITS_H_TEST here, not in m68k/x-next.
1561 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
1562 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
1564 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
1565 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
1566 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
1568 * config/i386/x-djgpp: Renamed i386/t-djgpp.
1569 * config/m88k/x-dolph: Renamed m88k/t-dolph.
1570 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
1571 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
1572 replacement of quadlib.asm with quadlib.c.
1574 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
1575 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
1576 config/rs6000/xm-beos.h: Delete file.
1578 * config.gcc: Update to match above changes.
1580 2002-01-10 Kazu Hirata <kazu@hxi.com>
1582 * config/h8300/h8300.h: Fix comment typos.
1583 * config/h8300/h8300.md: Likewise.
1584 * config/h8300/lib1funcs.asm: Likewise.
1586 2002-01-10 Dale Johannesen <dalej@apple.com>
1588 PR optimization/5269
1589 * unroll.c (precondition_loop_p): Make *increment be the correct
1590 sign when n_iterations known, to avoid confusing caller.
1592 2002-01-10 Kazu Hirata <kazu@hxi.com>
1594 * doc/extend.texi (deprecated): Fix a typo.
1596 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
1598 * basic-block.h (update_br_prob_note): Declare.
1599 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
1600 (try_forward_edges): Care negative frequencies and update note.
1601 (outgoing_edges_match): Tweek conditional merging heuristics.
1602 (try_crossjump_to_edge): use update_br_prob_note.
1603 * cfglayout.c (fixup_reorder_chain): Likewise.
1604 * cfrtl.c (update_br_prob_note): New.
1605 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
1607 * i386.c (ix86_decompose_address): Return -1 if address contains
1609 (legitimate_address_p): Require ix86_decompose_address to return 1.
1611 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
1612 (cprop_insn): Likewise.
1614 2002-01-10 Kazu Hirata <kazu@hxi.com>
1616 * toplev.c: Fix formatting.
1618 * tree-dump.c: Likewise.
1619 * unroll.c: Likewise.
1620 * unwind-dw2.c: Likewise.
1621 * unwind-dw2-fde.c: Likewise.
1622 * unwind-dw2-fde-glibc.c: Likewise.
1623 * unwind-sjlj.c: Likewise.
1625 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1627 * doc/invoke.texi: Document PDP-11 options.
1629 2002-01-10 Kazu Hirata <kazu@hxi.com>
1631 * config/h8300/h8300.h: Fix formatting.
1633 2001-01-10 Ira Ruben <ira@apple.com>
1635 Add __attribute__ ((deprecated)).
1636 * extend.texi: Document __attribute__ ((deprecated)).
1637 * invoke.texi: Document -Wno-deprecated-declarations.
1638 * testsuite/g++.dg/other/deprecated.C: New C++ test.
1639 * testsuite/gcc.dg/deprecated.c: New C test.
1640 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
1641 (c_common_attribute_table): Add "deprecated" entry.
1642 (handle_deprecated_attribute): New function.
1643 * c-decl.c (deprecated_states): New enum.
1644 deprecated_state: State of "deprecated" handling.
1645 (start_decl): Set deprecated_state based on attributes.
1646 (grokdeclarator): Test for deprecated uses, propagate attribute.
1647 * c-typeck.c (build_component_ref): Test for deprecated fields.
1648 (build_external_ref): Test for deprecated primaries.
1649 * diagnostic.c (warn_deprecated_use) New function to issue
1650 warnings about __attribute__ ((depricated)) references.
1651 * flags.h (warn_deprecated_decl): Extern declared for
1652 -W[no-]deprecated-declarations option.
1653 * print-tree.c (print_node): Show deprecated flag status.
1654 * toplev.c (warn_deprecated_decl): Defined.
1655 (W_options): Added "deprecated-declaration".
1656 * toplev.h (warn_deprecated_use): Extern declared.
1657 * tree.h (struct tree_common): Define deprecated_flag.
1658 (TREE_DEPRECATED): New macro to access flag.
1659 * cp/call.c (build_call): Test for deprecated calls.
1660 * cp/class.c (add_implicitly_declared_members): Set global
1661 flag to tell grokdeclarator to not issue deprecated warnings.
1662 * cp/cp-tree.h: Add extern for adding_implicit_members.
1663 * cp/decl.c (deprecated_states): New enum.
1664 (start_decl): Set deprecated_state based on attributes.
1665 (grokdeclarator): Test for deprecated uses, propagate attribute.
1666 * cp/lex.c (do_identifier): Test for deprecated primaries.
1667 * cp/typeck.c (build_component_ref): Test for deprecated fields.
1669 2001-01-10 Ira Ruben <ira@apple.com>
1671 Fix to assign attributes to inline member functions.
1672 * cp/decl.c (start_method): Handle attrlist.
1674 2002-01-10 Kazu Hirata <kazu@hxi.com>
1676 * combine.c (expand_field_assignment): Use subreg_lsb().
1678 2002-01-10 David Edelsohn <edelsohn@gnu.org>
1680 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
1681 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
1682 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
1683 Recurse for any operand of AND as long as constant is non-zero.
1685 2002-01-10 Kazu Hirata <kazu@hxi.com>
1687 * config/h8300/h8300.md: Remove constraints from expanders.
1689 2002-01-10 Kazu Hirata <kazu@hxi.com>
1691 * varasm.c: Fix formatting.
1692 * varray.c: Likewise.
1693 * vmsdbgout.c: Likewise.
1694 * xcoffout.c: Likewise.
1696 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
1698 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
1699 update edge probabilities to match.
1701 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1703 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
1705 * doc/languages.texi, doc/sourcebuild.texi: New files.
1706 * doc/configfiles.texi: Make a subsubsection. Update.
1707 * doc/configterms.texi: Add @node. Remove warning that this isn't
1708 instructions for building GCC.
1709 * doc/makefile.texi: Make a subsection.
1710 * doc/gccint.texi: Update.
1712 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
1714 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
1716 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
1718 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
1720 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
1722 * optabs.c (expand_fix): Look for wider integer modes first.
1724 * i386.md (mov?f): Avoid the fake const double trick for medium
1726 (min?f*/max?f*): Prohibit memory operands for i387 variant.
1727 (fop_df_4): Disable for SSE compilation.
1729 2002-01-10 Graham Stott <grahams@redhat.com>
1731 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
1732 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
1734 2002-01-10 Richard Henderson <rth@redhat.com>
1736 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
1738 2002-01-10 Richard Henderson <rth@redhat.com>
1740 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
1741 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
1743 2002-01-10 Kazu Hirata <kazu@hxi.com>
1745 * combine.c (can_combine_p): Fix a comment typo.
1747 2002-01-09 Zack Weinberg <zack@codesourcery.com>
1749 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
1750 empty list correctly. Change loop index $t to $f for
1751 consistency with rest of Makefile.
1753 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
1755 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
1756 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1758 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
1759 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
1760 (altivec_init_builtins): Same.
1761 (altivec_expand_unop_builtin): Return NULL_RTX on error.
1762 (altivec_expand_binop_builtin): Same.
1763 (altivec_expand_ternop_builtin): Same.
1766 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
1767 ("altivec_vctuxs"): Fix typo.
1768 ("altivec_vnmsubfp"): Same.
1769 ("altivec_dssall"): New.
1770 ("altivec_mfvscr"): New.
1771 ("altivec_dss"): New.
1772 ("altivec_lvsl"): New.
1773 ("altivec_lvsr"): New.
1774 ("altivec_dstt"): New.
1775 ("altivec_dstst"): New.
1776 ("altivec_dststt"): New.
1777 ("altivec_dst"): New.
1779 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
1780 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1782 2002-01-09 Richard Henderson <rth@redhat.com>
1784 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
1786 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
1788 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
1790 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
1792 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
1794 2002-01-09 Kazu Hirata <kazu@hxi.com>
1796 * read-rtl.c: Fix formatting.
1798 * regclass.c: Likewise.
1799 * regrename.c: Likewise.
1800 * reg-stack.c: Likewise.
1801 * reload1.c: Likewise.
1802 * reload.c: Likewise.
1805 2002-01-09 Kazu Hirata <kazu@hxi.com>
1807 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
1808 to extract items in the expr_list chain.
1810 2002-01-09 Richard Henderson <rth@redhat.com>
1812 * config/vax/vax.c (vax_rtx_cost): Never abort.
1814 * config/vax/vax.h (REAL_ARITHMETIC): Define.
1816 2002-01-09 Jan Hubicka <jh@suse.cz>
1818 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
1820 2002-01-09 Richard Henderson <rth@redhat.com>
1822 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
1823 Unify code from various alternatives.
1825 2002-01-09 Richard Henderson <rth@redhat.com>
1827 * regrename.c (copy_value): Ignore the copy if the source register
1828 is present in the value chain with a narrower mode.
1830 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1832 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
1833 for the c4x target. Also improve layout.
1835 2002-01-09 Richard Henderson <rth@redhat.com>
1837 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
1838 * config/m32r/m32r.md (and ior xor splitters): Swap operands
1839 to match insn patterns.
1841 2002-01-09 Richard Henderson <rth@redhat.com>
1843 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
1844 (copyprop_hardreg_forward_1): Likewise.
1846 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
1848 * pa.md (decrement_and_branch_until_zero): Change predicate for
1849 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
1851 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1853 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
1854 gets undefined. For Darwin.
1856 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1858 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
1860 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1862 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
1864 2002-01-08 Richard Henderson <rth@redhat.com>
1866 * regrename.c (copy_value): Ignore overlapping copies.
1868 2002-01-08 Richard Henderson <rth@redhat.com>
1870 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
1871 as needed to avoid shared structure.
1873 2002-01-08 Kazu Hirata <kazu@hxi.com>
1875 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
1878 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1880 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
1881 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
1882 documentation of obsolete macros.
1883 * system.h: Poison these macros.
1884 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
1885 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
1886 config/c4x/c4x.h, config/clipper/clipper.h,
1887 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
1888 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
1889 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
1890 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
1891 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
1892 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
1893 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
1894 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
1895 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
1896 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
1897 config/sparc/sparc.h, config/stormy16/stormy16.h,
1898 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
1899 definitions and commented out definitions of obsolete macros.
1900 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
1901 of MAX_INT_TYPE_SIZE.
1903 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1905 * config/s390/s390.c (s390_preferred_reload_class): Never
1906 return ADDR_REGS if it isn't a subset of the given class.
1907 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
1908 FP_REGS, but all superclasses as well.
1910 * config/s390/s390.c (s390_function_profiler): Fix thinko.
1912 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
1913 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
1914 must not be a const_int.
1916 2002-01-08 Richard Henderson <rth@redhat.com>
1918 * Makefile.in (toplev.o): Depend on options.h.
1919 (gcc.o): Depend on specs.h.
1921 2002-01-08 Jakub Jelinek <jakub@redhat.com>
1923 * expr.c (store_expr): Convert VOIDmode constants back to target's
1926 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1928 * doc/invoke.texi: Markup gcc as @command. Refer to
1929 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
1930 of http://gcc.gnu.org/thanks.html.
1932 2002-01-08 Dale Johannesen <dalej@apple.com>
1934 * config/rs6000/rs6000.md: Add missing int register
1935 target case to movdf_low.
1937 2002-01-08 Zack Weinberg <zack@codesourcery.com>
1939 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
1940 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
1941 (cppinit.o): Depend on except.h.
1942 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
1943 s-specs): New rules.
1945 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
1946 Don't create specs.h/options.h/gencheck.h here. Remove
1947 unnecessary variable settings from last argument of AC_OUTPUT.
1948 * config.in, configure: Regenerate.
1949 * intl.c: Hardcode package name as "gcc".
1951 * cppinit.c: Include except.h.
1952 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
1954 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
1955 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
1956 (!)USING_SJLJ_EXCEPTIONS.
1957 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
1959 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1961 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
1962 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
1963 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
1964 documentation of obsolete macros.
1965 * system.h: Poison these macros.
1966 * config/d30v/d30v.h, config/ns32k/encore.h,
1967 config/stormy16/stormy16.h: Remove definitions and commented out
1968 definitions of obsolete macros.
1970 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
1972 * objc/objc-act.c (handle_class_ref): Mark the declaration of
1973 %sobjc_class_ref_%s as used - to prevent unwanted compiler
1976 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1978 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
1979 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
1980 to insn adjusting stack/frame pointer.
1981 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
1982 accept operands that cause the insn to be non-splittable.
1984 2002-01-08 Graham Stott <grahams@redhat.com>
1986 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
1987 (C_TYPE_FIELDS_VOLATILE): Likewise.
1988 (C_TYPE_BEING_DEFINED): Likewise.
1989 (C_IS_RESERVED_WORD): Likewise.
1990 (C_TYPE_VARIABLE_SIZE): Likewise.
1991 (C_DECL_VARIABLE_SIZE): Likewise.
1992 (C_MISSING_PROTOTYPE_WARNED): Likewise.
1993 (C_SET_EXP_ORIGINAL_CODE): Likewise.
1994 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
1996 (C_DECL_ANTICIPATED): Likewise.
1997 (c_build_type_variant): Add parenthesis.
1999 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2001 * gcc.c (option_map): Remove --version.
2002 (process_command): Handle -fversion following the GNU Coding
2003 Standards. Partially addresses PR other/704.
2005 2002-01-08 Graham Stott <grahams@redhat.com>
2007 * combine.c (combine_instructions): Fix typo.
2009 2002-01-08 Graham Stott <grahams@redhat.com>
2011 * debug.h: Use "tree" and "rtx" throughout.
2013 * debug.c: Likewise.
2015 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
2017 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
2018 constant pool, use the pool's version of the symbol instead.
2020 2002-01-07 Richard Henderson <rth@redhat.com>
2022 * regrename.c (find_oldest_value_reg): Ignore the value chain if
2023 the original register was copied in a mode with a fewer number of
2024 hard registers than the desired mode.
2025 (copyprop_hardreg_forward_1): Likewise.
2026 (debug_value_data): Fix loop test.
2027 * toplev.c (parse_options_and_default_flags): Reenable
2028 -fcprop-registers at -O1.
2030 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2032 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
2033 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
2035 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
2038 * config/rs6000/rs6000.md: Add altivec predicate patterns.
2040 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
2042 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
2043 (pa_output_function_prologue): Output local label at the beginning of
2044 the prologue when profiling.
2045 (hppa_profile_hook): Use the local label rather than the function label.
2046 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
2048 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2050 * config/rs6000/rs6000.c (print_operand): Remove extra space.
2051 (altivec_expand_unop_builtin): Fix thinko.
2052 (altivec_expand_binop_builtin): Same.
2053 (altivec_expand_ternop_builtin): Same.
2054 (altivec_expand_builtin): Same.
2056 2002-01-07 Richard Henderson <rth@redhat.com>
2058 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
2060 2002-01-07 Jason Merrill <jason@redhat.com>
2062 * unwind-dw2.c (execute_cfa_program): Use < again.
2064 2002-01-07 Jakub Jelinek <jakub@redhat.com>
2066 * predict.c (combine_predictions_for_insn): Avoid division by zero.
2068 2002-01-07 Jakub Jelinek <jakub@redhat.com>
2070 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
2071 Don't allow -1 - x -> ~x simplifications in the first pass.
2073 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2075 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
2077 (altivec_expand_binop_builtin): Same.
2078 (altivec_expand_unop_builtin): Same.
2079 (print_operand): Fix typo.
2080 (bdesc_1arg): Add vupk* variants.
2082 * rs6000.h (rs6000_builtins): Add vupk* enums.
2084 * rs6000.md: Add altivec_vupk* variants.
2086 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
2088 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
2089 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
2090 and last update dates.
2092 2002-01-07 Janis Johnson <janis187@us.ibm.com>
2094 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
2096 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
2098 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
2099 * config/avr/avr.h (CPP_SPEC): Likewise.
2100 (LINK_SPEC): Likewise.
2101 (CRT_BINUTILS_SPECS): Likewise.
2102 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
2103 * doc/invoke.texi (AVR Options): Document them.
2105 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
2107 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
2110 2002-01-07 Graham Stott <grahams@redhat.com>
2112 * config/i386/i386.h: Update copyright date.
2113 (HALF_PIC_PTR): Add parenthesis.
2114 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
2115 (CONSTANT_ALIGNMENT): Add parenthesis.
2116 (DATA_ALIGNMENT): Likewise.
2117 (LOCAL_ALIGNMENT): Likewise.
2118 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
2119 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
2120 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
2121 (HARD_REGNO_NREGS): Add paranethesis.
2122 (VALID_SSE_REG_MODE): Whitespace.
2123 (VALID_MMX_REG_MODE): Whitespace.
2124 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
2125 (ix86_hard_regno_mode_ok): Add parenthesis.
2126 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
2127 (RETURN_IN_MEMORY): Whitespace.
2128 (N_REG_CLASSES): Add parenthesis.
2129 (INTEGER_CLASS_P): Add parenthesis and wrap.
2130 (FLOAT_CLASS_P): Likewise.
2131 (SSE_CLASS_P): Likewise.
2132 (MMX_CLASS_P): Likewise.
2133 (MAYBE_INTEGER_CLASS_P): Likewise.
2134 (MAYBE_FLOAT_CLASS_P): Likewise.
2135 (MAYBE_SSE_CLASS_P): Likewise.
2136 (MAYBE_MMX_CLASS_P): Likewise.
2137 (Q_CLASS_P): Likewise.
2138 (GENERAL_REGNO_P): Uppercase macro parameter.
2139 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
2140 (FP_REGNO_P): Likewise.
2141 (ANY_FP_REGNO_P): Uppercase macro parameter.
2142 (SSE_REGNO_P): Likewise.
2143 (SSE_REGNO): Likewise.
2144 (SSE_REG_P): Likewise.
2145 (SSE_FLOAT_MODE_P): Likewise.
2146 (MMX_REGNO_P): Likewise.
2147 (MMX_REG_P):Likewise.
2148 (STACK_REG_P): Likewise.
2149 (NON_STACK_REG_P): Likewise.
2150 (STACK_TOP_P): Likewise.
2151 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
2152 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
2153 (SECONDARY_MEMORY_NEEDED): Likewise.
2154 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
2155 (MD_ASM_CLOBBERS): Whitespace and wrap.
2156 (MUST_PASS_IN_STACK): Whitespace and wrap.
2157 (RETURN_POPS_ARGS): Add parenthesis.
2158 (INIT_CUMULATIVE_ARGS): Likewise.
2159 (FUNCTION_ARG): Likewise.
2160 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
2161 (SETUP_INCOMING_VARARGS): Likewise.
2162 (BUILD_VA_LIST_TYPE): Add parenthesis.
2163 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
2165 (EXPAND_BUILTIN_VA_ARG): Likewise.
2166 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
2167 (INITIALIZE_TRAMPOLINE): Add parenthesis.
2168 (INITIAL_ELIMINATION_OFFSET): Likewise.
2169 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
2170 (REGNO_OK_FOR_BASE_P): Likewise.
2171 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
2172 (REGNO_OK_FOR_DIREG_P): Likewise.
2173 (REG_OK_FOR_INDEX_P): Whitespace.
2174 (REG_OK_FOR_BASE_P): Whitespace.
2175 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
2177 (FIND_BASE_TERM): Fix typo.
2178 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
2179 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
2180 (SYMBOLIC_CONST; Whitespace.
2181 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
2182 (ENCODE_SECTION_INFO): Whitespace.
2183 (FINALIZE_PIC): Remove do { ... } while (0).
2184 (PROMOTE_MODE): Wrap in do { ... } while (0).
2185 (CONST_COSTS): Whitespace.
2186 (RTX_COSTS): Add paramethesis, whitespace and wrap.
2187 (REGISTER_MOVE_COST): Add parenthesis.
2188 (MEMORY_MOVE_COST): Likewise.
2189 (EXTRA_CC_MODES): Whitespace.
2190 (SELECT_CC_MODE): Add parenthesis and whitespace.
2191 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
2192 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
2193 (ASM_OUTPUT_LABEL): Add paramethesis.
2194 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
2195 (ASM_OUTPUT_REG_POP): Likewise.
2196 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
2197 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
2199 * config/i386/i386.c: Update copyright.
2200 (CHECK_STACK_LIMIT): Add parenthesis.
2201 (AT_BP): Uppercase macro parameter.
2202 (x86_64_int_parameter_registers): Constify.
2203 (x86_64_int_return_registers): Likewise.
2204 (ix86_compare_op0): Use rtx.
2205 (construct_container): Constify INTREG parameter.
2206 (function_arg): Use rtx.
2208 * diagnostic.h: Update copyright date.
2209 (output_buffer_state): Add parenthesis.
2210 (output_buffer_format_args): Likewise.
2212 * combine.c (combine_instructions): Replace XEXP (links, 0)
2215 2002-01-06 H.J. Lu <hjl@gnu.org>
2217 * cfgcleanup.c (thread_jump): Fix 2 typos.
2219 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
2221 * config.gcc: Add support for --enable-altivec.
2223 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2225 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
2227 2002-01-06 Jakub Jelinek <jakub@redhat.com>
2229 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
2230 __objc_class_name_*.
2232 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2234 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
2236 2002-01-06 Richard Henderson <rth@redhat.com>
2238 * reorg.c (emit_delay_sequence): Remove death notes, not merely
2239 nop them out. Increment label reference count for REG_LABEL.
2240 (fill_slots_from_thread): Frob label reference count around
2241 delete_related_insns.
2243 2002-01-05 Richard Henderson <rth@redhat.com>
2245 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
2248 2002-01-05 Richard Henderson <rth@redhat.com>
2250 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
2251 * integrate.c (output_inline_function): Likewise.
2252 * toplev.c (rest_of_compilation): Do it here instead. Move call
2253 to remove_unnecessary_notes after emitting abstract instance.
2254 Force an emitted nested function to have its parent emited as well.
2255 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
2257 (rtl_for_decl_location): Do not look at reload data structures
2258 before reload has run.
2260 2002-01-05 Kazu Hirata <kazu@hxi.com>
2262 * cse.c: Fix formatting.
2263 * dwarf2asm.c: Likewise.
2264 * dwarf2out.c: Likewise.
2265 * explow.c: Likewise.
2266 * expmed.c: Likewise.
2267 * function.c: Likewise.
2269 * gencheck.c: Likewise.
2270 * genrecog.c: Likewise.
2271 * ggc-common.c: Likewise.
2272 * ggc-page.c: Likewise.
2273 * global.c: Likewise.
2275 2002-01-05 Kazu Hirata <kazu@hxi.com>
2277 * combine.c: Fix formatting.
2279 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
2282 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
2284 2002-01-05 David Edelsohn <edelsohn@gnu.org>
2286 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
2287 as 1 for __powerpc64__ as well.
2289 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
2291 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
2294 2002-01-05 Daniel Berlin <dan@dberlin.org>
2296 * lcm.c: Revert change, due to performance regression it causes on
2297 SPEC because it's slightly more conservative (sigh, I hate
2300 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
2302 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
2304 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
2306 * doc/cppinternals.texi: Update.
2308 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
2310 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
2311 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
2313 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
2314 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
2315 kludge for pre-october-14th mmix versions to handle new-found bug
2316 with PUSHJ/PUSHGO and the register stack.
2317 * config/mmix/mmix.h (struct machine_function): Rename member
2318 has_call_value_without_parameters to has_call_without_parameters.
2319 All referers changed.
2320 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
2321 TARGET_MASK_BRANCH_PREDICT): New macros.
2322 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
2323 -mno-reg-stack-fill-bug-workaround.
2324 * config/mmix/mmix.md ("call"): Set struct machine member
2325 has_call_without_parameters.
2327 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
2329 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
2331 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
2333 * cfgcleanup.c: Include tm_p.h
2334 (mark_effect): Fix handling of hard register; fix handling of SET
2336 2002-01-04 Kazu Hirata <kazu@hxi.com>
2338 * config/h8300/h8300.md (anonymous patterns): Check that
2339 operands are registers before using REGNO on them.
2341 2002-01-03 Roland McGrath <roland@frob.com>
2343 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
2345 2002-01-04 Jakub Jelinek <jakub@redhat.com>
2347 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
2348 * c-common.h (genrtl_expr_stmt_value): Likewise.
2349 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
2350 (expand_expr_stmt_value): Add maybe_last argument.
2351 Don't warn about statement with no effect if it is the last statement
2352 in expression statement.
2353 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
2354 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
2355 expand_expr_stmt_value.
2356 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
2357 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
2358 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
2359 as maybe_last to expand_expr_stmt_value.
2361 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
2363 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
2364 be passed in, do not build it.
2365 (c_begin_if_stmt): New function.
2366 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2367 * c-common.h (c_expand_start_cond): Update prototype.
2368 (c_begin_if_stmt): Prototype new function.
2369 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2370 * c-parse.in (if_prefix): Use c_begin_if_stmt,
2371 c_begin_while_stmt and c_finish_while_stmt_cond.
2373 2002-01-04 William Cohen <wcohen@redhat.com>
2375 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
2376 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2377 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2378 * config/pa/som.h (ASM_FILE_START): Likewise.
2380 2001-01-04 Daniel Berlin <dan@cgsoftware.com>
2382 * lcm.c: Include df.h.
2383 Add available_transfer_function prototype.
2384 (compute_available): Rework to use iterative dataflow framework.
2385 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
2386 with bb_info in df.h
2387 (available_transfer_function): New function.
2389 * Makefile.in (lcm.o): add df.h to dependencies.
2391 2002-01-04 Richard Henderson <rth@redhat.com>
2393 * config/alpha/alpha.c (some_operand): Accept HIGH.
2394 (input_operand): Likewise; accept simple references to globals.
2395 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
2396 (alpha_const_double_ok_for_letter_p): Likewise.
2397 (alpha_extra_constraint): Likewise.
2398 (alpha_preferred_reload_class): Likewise. Do not force
2399 symbolic constants to memory.
2400 (alpha_legitimate_address_p): Accept simple references
2401 to small_symbolic_operand.
2402 (alpha_legitimize_address): New arg scratch. Be prepared to be
2403 called when no_new_pseudos. Emit simple symbolic references.
2404 Split integers into low, high, and rest.
2405 (alpha_expand_mov): Use alpha_legitimize_address.
2406 (some_small_symbolic_mem_operand): New.
2407 (split_small_symbolic_mem_operand): New.
2408 * config/alpha/alpha-protos.h: Update.
2409 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
2410 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
2411 (EXTRA_CONSTRAINT): Likewise.
2412 (PREFERRED_RELOAD_CLASS): Likewise.
2413 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
2414 (PREDICATE_CODES): Update.
2415 * config/alpha/alpha.md: New post-reload splitters to convert
2416 simplfied symbolic operands to the form that references $29.
2417 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
2418 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
2420 2002-01-03 Richard Henderson <rth@redhat.com>
2422 * local-alloc.c (function_invariant_p): Update commentary.
2424 2002-01-04 H.J. Lu <hjl@gnu.org>
2426 * toplev.c (rest_of_compilation): Fix a typo when calling
2429 2002-01-03 Kazu Hirata <kazu@hxi.com>
2431 * c-common.c: Fix formatting.
2432 * diagnostic.c: Likewise.
2433 * doloop.c: Likewise.
2434 * dwarf2out.c: Likewise.
2436 2002-01-03 Kazu Hirata <kazu@hxi.com>
2438 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
2439 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
2441 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2443 * cpperror.c: Update comments and copyright.
2444 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
2445 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
2447 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
2449 * collect2.c (main): Use strcmp when testing for "-shared".
2451 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2453 * cppmacro.c: Don't include intl.h. Update comments.
2454 (new_number_token): Allocate enough buffer for 64-bit unsigned
2455 integers; update prototype.
2456 * cppmain.c: Update comments.
2458 2002-01-03 William Cohen <wcohen@redhat.com>
2460 * function.h (struct function): Add profile.
2461 (current_function_profile): New.
2462 doc/extend.texi: Update documentation.
2463 * final.c (final_start_function): Use current_function_profile
2464 instead of profile_flag.
2465 (profile_after_prologue): Likewise.
2466 * function.c (expand_function_start): Likewise.
2467 (expand_function_start): Likewise.
2468 * config/alpha/alpha.c (direct_call_operand):
2469 (alpha_does_function_need_gp): Likewise.
2470 (alpha_expand_prologue): Likewise.
2471 * config/arm/arm.c (arm_expand_prologue): Likewise.
2472 thumb_expand_prologue: Likewise.
2473 * config/d30v/d30v.c (d30v_stack_info): Likewise.
2474 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
2475 (fr30_expand_prologue): Likewise.
2476 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
2477 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
2478 * config/i386/i386.h (FINALIZE_PIC): Likewise.
2479 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
2480 * config/i960/i960.c (i960_output_function_prologue): Likewise.
2481 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
2482 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
2483 (m32r_expand_prologue): Likewise.
2484 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
2485 (m88k_expand_prologue): Likewise.
2486 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
2487 * config/mips/mips.c (compute_frame_size): Likewise.
2488 (mips_expand_prologue): Likewise.
2489 (mips_can_use_return_insn): Likewise.
2490 * config/pa/elf.h (ASM_FILE_START): Likewise.
2491 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2492 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2493 * config/pa/som.h (ASM_FILE_START): Likewise.
2494 * config/romp/romp.c (romp_using_r14): Likewise.
2495 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
2496 (rs6000_stack_info): Likewise.
2497 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2498 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
2499 * config/v850/v850.c (compute_register_save_size): Likewise.
2501 2002-01-03 Jakub Jelinek <jakub@redhat.com>
2503 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
2504 gen_lowpart_common fails, use gen_lowpart_SUBREG.
2506 2002-01-03 Turly O'Connor <turly@apple.com>
2508 * darwin.c (machopic_output_possible_stub_label): Don't generate
2509 stub routines for pseudo-stubs which we've just defined.
2511 2002-01-03 Kazu Hirata <kazu@hxi.com>
2513 * builtins.c: Fix formatting.
2514 * c-typeck.c: Likewise.
2515 * combine.c: Likewise.
2519 2002-01-03 Andreas Schwab <schwab@suse.de>
2521 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
2522 and return true if _cpp_push_next_buffer pushed a new include
2524 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
2525 _cpp_pop_file_buffer did not push a new file.
2526 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
2528 2002-01-02 Eric Christopher <echristo@redhat.com>
2530 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
2531 FIND_REG_INC_NOTE call. Update copyright.
2532 * loop.c (canonicalize_condition): Ditto.
2533 * reorg.c (delete_scheduled_jump): Ditto.
2535 2002-01-03 Kazu Hirata <kazu@hxi.com>
2537 * gcse.c: Fix formatting.
2539 2002-01-03 Graham Stott <grahams@redhat.com>
2541 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
2542 forward defs for struct tags rtx_def, union_tree, rtvec_def
2543 also output corresponding typedefs for rtx, tree, and rtvec.
2545 * system.h: Move forward defs for struct tags rtx_def, union_tree,
2546 rtvec_def along with corresponding typedefs for rtx, tree, and
2547 rtvec to config.h, hconfig.h, tconfig.h.
2549 2002-01-03 Graham Stott <grahams@redhat.com>
2551 * tree.h: Update copyright date.
2552 (IS_EXPR_CODE_CLASS): Add parenthesis.
2553 (TREE_SET_CODE): Add whitespace.
2554 (TREE_CHECK): Add parenthesis.
2555 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
2556 (CST_OR_CONSTRUCTOR_CHECK):
2557 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
2558 (TREE_SYMBOL_REFERENCED): Whitespace.
2559 (INT_CST_LT): Likewise.
2560 (INT_CST_LT_UNSIGNED): Likewise.
2561 (tree_real_cst): Unwrap comment.
2562 (tree_string): Likewise.
2563 (tree_complex): Likewise.
2564 (IDENTIFIER_POINTER): correct cast.
2565 (SAVE_EXPR_CONTEXT): Whitespace.
2566 (EXPR_WFL_FILENAME_NODE): Likewise.
2567 (EXPR_WFL_FILENAME): Remove parenthesis.
2568 (DECL_ORIGIN): Add parenthesis.
2569 (DECL_FROM_INLINE): Use NULL_TREE.
2570 (build_int_2): Whitespace.
2571 (build_type_variant): Add parenthesis.
2573 * gcc/jcf-parse.c: Update copyright date.
2574 (yyparse): Constify resource_filename.
2576 2002-01-03 Graham Stott <grahams@redhat.com>
2578 * rtl.h: Update copyright date.
2579 (RTL_CHECK1): Wrap long line.
2580 (RTL_CHECK2): Likewise.
2581 (RTL_CHECKC1): Wrap long line and whitespace.
2582 (RTL_CHECKC2): Likewise.
2583 (XWINT): Whitespace.
2589 (XBITMAP): Likewise.
2600 (X0BITMAP): Likewise.
2602 (X0BBDEF): Likewise.
2603 (X0ADVFLAGS): Likewise.
2604 (X0CSELIB): Likewise.
2605 (X0MEMATTR): Likewise.
2613 (XCBITMAP): Likewise.
2615 (XCBBDEF): Likewise.
2616 (XCADVFLAGS): Likewise.
2617 (XCCSELIB): Likewise.
2619 (INSN_UID): Likewise.
2620 (PREV_INSN): Likewise.
2621 (PATTERN): Likewise.
2622 (INSN_CODE): Likewise.
2623 (PUT_REG_NOTE_KIND): Likewise.
2624 (CODE_LABEL_NUMBER): Likewise.
2625 (NOTE_SOURCE_FILE): Likewise.
2626 (NOTE_BLOCK): Likewise.
2627 (NOTE_EH_HANDLER): Likewise.
2628 (NOTE_RANGE_INFO): Likewise.
2629 (NOTE_LIVE_INFO): Likewise.
2630 (NOTE_BASIC_BLOCK): Likewise.
2631 (NOTE_EXPECTED_VALUE): Likewise.
2632 (NOTE_LINE_NUMBER): Likewise.
2633 (LABEL_NAME): Likewise.
2634 (LABEL_NUSES): Likewise.
2635 (LABEL_ALTERNATE_NAME): Likewise.
2636 (ADDRESSOF_DECL): Likewise.
2637 (JUMP_LABEL): Likewise.
2638 (LABEL_NEXTREF): Likewise.
2640 (ORIGINAL_REGNO: Likewise.
2641 (HARD_REGISTER_NUM_P): Add parenthesis.
2642 (SUBREG_REG): Whitespace.
2643 (SUBREG_BYTE): Likewise.
2644 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
2645 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
2646 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
2647 (ASM_OPERANDS_INPUT_VEC): Likewise.
2648 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
2649 (ASM_OPERANDS_INPUT): Likewise.
2650 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
2651 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
2652 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
2653 (ASM_OPERANDS_INPUT_MODE): Likewise.
2654 (ASM_OPERANDS_SOURCE_FILE): Likewise.
2655 (ASM_OPERANDS_SOURCE_LINE): Likewise.
2656 (MEM_SET_IN_STRUCT_P): Minor reformat.
2657 (TRAP_CONDITION): Whitespace.
2658 (TRAP_CODE): Likewise.
2659 (COND_EXEC_TEST): Likewise.
2660 (COND_EXEC_CODE): Likewise.
2661 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
2662 (PHI_NODE_P): Add parenthesis.
2663 (plus_constant): Whitespace and add parenthesis.
2665 2002-01-03 Kazu Hirata <kazu@hxi.com>
2667 * config/avr/avr.c: Fix comment typos.
2668 * config/c4x/c4x.md: Likewise.
2669 * config/dsp16xx/dsp16xx.h: Likewise.
2670 * config/dsp16xx/dsp16xx.md: Likewise.
2671 * config/i386/i386.md: Likewise.
2672 * config/ia64/ia64.c: Likewise.
2673 * config/m32r/m32r.h: Likewise.
2674 * config/m68hc11/m68hc11.md: Likewise.
2675 * config/mmix/mmix.c: Likewise.
2676 * config/mn10200/mn10200.c: Likewise.
2677 * config/romp/romp.c: Likewise.
2678 * config/sh/sh.c: Likewise.
2679 * config/stormy16/stormy16.c: Likewise.
2680 * config/stormy16/stormy16.h: Likewise.
2681 * config/stormy16/stormy16.md: Likewise.
2683 2002-01-03 Graham Stott <grahams@redhat.com>
2685 * loop.h: Update copyright date.
2686 (LOOP_MOVABLES): Fix typo.
2687 (LOOP_REGS): Likewise.
2688 (LOOP_IVS): Likewise.
2690 2002-01-03 Graham Stott <grahams@redhat.com>
2692 * cppinit.c: Update copyright date.
2693 Don't include output.h
2694 * Makefile.in: Update copyright date.
2697 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
2700 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
2701 (-pthread) Add to RS/6000 options.
2703 2002-01-02 Kazu Hirata <kazu@hxi.com>
2705 * except.c: Fix comment typos.
2707 * varasm.c: Likewise.
2708 * doc/tm.texi: Fix a typo.
2710 2002-01-02 Jakub Jelinek <jakub@redhat.com>
2712 * c-typeck.c (output_init_element): Allow initializing static storage
2713 duration objects with compound literals.
2715 2002-01-02 Richard Henderson <rth@redhat.com>
2717 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
2720 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2722 * gcc.c (default_compilers): Const-ify.
2723 * mips-tdump.c (stab_names): Likewise.
2724 * mips-tfile.c (map_coff_types, map_coff_storage,
2725 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
2726 pseudo_ops_t, pseudo_ops): Likewise.
2727 * protoize.c (default_include): Likewise
2729 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
2730 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
2731 Add array size in declaration.
2732 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
2733 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
2734 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
2735 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
2736 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
2737 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
2738 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
2739 emtens, make_nan): Const-ify.
2740 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
2741 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
2743 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
2745 * config.gcc (ia64-*-*): Set extra_headers.
2746 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
2747 * config/alpha/t-osf: Remove.
2748 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
2750 2002-01-02 David Edelsohn <edelsohn@gnu.org>
2752 * config/rs6000/t-aix43: Revert previous change.
2754 2002-01-02 Jason Merrill <jason@redhat.com>
2756 * c-decl.c (c_expand_body): Call outlining_inline_function when
2757 emitting an inline function out of line.
2759 2002-01-02 Richard Henderson <rth@redhat.com>
2761 * dwarf2out.c (limbo_die_node): Add created_for member.
2762 (new_die): New argument created_for. Update all callers.
2763 (mark_limbo_die_list): New.
2764 (dwarf2out_init): Register limbo_die_list as a root.
2765 (dwarf2out_finish): Force insert limbo dies into their function
2768 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
2771 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
2773 2002-01-02 Kazu Hirata <kazu@hxi.com>
2775 * config/h8300/fixunssfsi.c: Update copyright.
2778 * config/h8300/h8300.c: Update copyright.
2781 2002-01-02 Kazu Hirata <kazu@hxi.com>
2783 * config/romp/romp.c: Fix comment formatting.
2784 * config/romp/romp.h: Likewise.
2785 * config/romp/romp.md: Likewise.
2786 * config/s390/s390.c: Likewise.
2787 * config/stormy16/stormy16.c: Likewise.
2788 * config/stormy16/stormy16.h: Likewise.
2790 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
2792 * c-common.h (genrtl_expr_stmt_value): Declare.
2793 * c-semantics.c (genrtl_goto_stmt): Redirect to...
2794 (genrtl_goto_stmt_value): ... this new function. Pass new
2795 argument down to expand_expr_stmt_value, taking
2796 TREE_ADDRESSABLE into account.
2797 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
2798 STMT_EXPR as addressable, i.e., one whose result we want.
2799 * expr.c (expand_expr): Don't save expression statement value
2800 of labeled_blocks or loop_exprs.
2801 * stmt.c (expand_expr_stmt): Redirect to...
2802 (expand_expr_stmt_value): ... this new function. Use new
2803 argument to tell whether to save expression value.
2804 (expand_end_stmt_expr): Reset last_expr_type and
2805 last_expr_value if we don't have either.
2806 * tree-inline.c (declare_return_variable): Mark its use
2807 statement as addressable.
2808 * tree.h: Document new use of TREE_ADDRESSABLE.
2809 (expand_expr_stmt_value): Declare.
2811 2002-01-01 Tom Rix <trix@redhat.com>
2813 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
2814 rs6000_emit_allocate_stack.
2816 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
2818 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
2819 ${srcdir}/ginclude/ to every entry in extra_headers.
2820 * configure: Regenerate.
2821 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
2822 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
2823 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
2824 * ginclude/proto.h: Rename to config/convex/proto.h.
2826 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2828 * attribs.c (handle_vector_size_attribute): Use host_integerp
2829 and tree_int_cst; remove warnings.
2830 * caller-save.c (insert_restore): Add cast to get rid of warning.
2831 (insert_save): Likewise.
2832 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
2833 * regmove.c (find_matches): Add temporary var to kill a warning.
2835 2002-01-01 Douglas B Rupp <rupp@gnat.com>
2837 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
2838 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
2839 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
2840 (vms-dwarf2eh.o): Add Makefile rule.
2841 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
2842 * config/alpha/vms-dwarf2eh.asm: New file.
2844 * gcc.c (delete_if_ordinary): Delete all versions.
2846 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
2848 * config/mmix/mmix.md: Update FIXME to not mention
2850 (MMIX_rJ_REGNUM): New define_constants constant.
2851 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
2852 "*movdicc_real"): Adjust contraints formatting.
2853 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
2854 for branch prediction.
2855 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
2857 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
2858 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
2859 number. Delete related FIXMEs.
2860 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
2861 from number to MMIX_rJ_REGNUM.
2862 (TARGET_MASK_BRANCH_PREDICT): New.
2863 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
2864 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
2865 value. Add -mbranch-predict and -mno-branch-predict.
2866 (TARGET_VERSION): Drop date.
2867 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
2868 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
2869 for finding out global symbols.
2870 (mmix_asm_output_labelref): Revert condition for global symbol.
2871 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
2872 (mmix_print_operand_punct_valid_p): A '+' is valid.
2874 See ChangeLog.6 for earlier changes.