1 2002-01-25 Steve Ellcey <sje@cup.hp.com>
3 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
4 for PIC_OFFSET_TABLE_REGNUM.
5 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
7 2002-01-25 David O'Brien <obrien@FreeBSD.org>
9 * config.gcc (x86_64-*-freebsd*): New target.
10 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
12 (i[34567]86-*-freebsd*): Don't include svr4.h.
13 * config/i386/freebsd64.h: New file.
15 2002-01-25 Douglas B Rupp <rupp@gnat.com>
17 * config/alpha/x-vms (version): Make static.
19 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
22 * Makefile.in (install-headers-cp): New target.
23 * config.gcc (alpha-dec-*vms*): Install headers with
26 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
28 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
31 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
33 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
35 (expand_builtin_strncat): Likewise.
36 * c-decl.c (finish_struct): Use tree_low_cst.
37 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
38 * tree.c (compare_tree_int): Likewise.
40 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
42 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
43 adjustments even if they are implemented by more than two insns.
45 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
47 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
48 * df.h (struct ref): Kill B.
49 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
51 * basic-block.h (PROP_EQUAL_NOTES): New flag.
52 * flow.c (propagate_one_insn): Use it.
53 (mark_used_regs): Handle NIL.
55 2001-01-25 Geoffrey Keating <geoffk@redhat.com>
57 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
60 2002-01-25 David Edelsohn <edelsohn@gnu.org>
62 * rs6000.md (prefetch): Make address V4SI mode so that the address
63 is restricted to legitimate form for instruction.
65 2002-01-25 Bob Wilson <bob.wilson@acm.org>
67 * doc/install.texi (xtensa-*-elf): New target.
68 (xtensa-*-linux*): New target.
69 * doc/contrib.texi: Add myself.
71 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
73 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
74 purpose register to hold an SImode (or smaller) value.
76 2002-01-25 Jakub Jelinek <jakub@redhat.com>
78 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
80 * crtstuff.c: Likewise.
82 2002-01-25 Kazu Hirata <kazu@hxi.com>
84 * config/h8300/h8300.md (negation patterns): Tighten
85 predicates to register_operand.
87 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
89 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
92 * builtins.c (expand_builtin_prefetch): Same.
94 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
96 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
99 2002-01-24 Kazu Hirata <kazu@hxi.com>
101 * config/h8300/h8300.c (print_operand): Remove support for
102 operand character 'A'.
103 * config/h8300/h8300.md (three anonymous patterns): Replace
104 operand character 'A' with either 'T' or 'S'.
106 2002-01-24 Kazu Hirata <kazu@hxi.com>
108 * config/h8300/h8300.c (print_operand): Remove support for
109 operand character 'U'.
111 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
113 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
115 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
117 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
118 values to be assigned to the stack pointer.
120 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
122 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
123 to const_double needs to be done right for big-endian systems.
125 2002-01-24 Jason Merrill <jason@redhat.com>
127 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
128 to can_throw_internal.
130 2002-01-23 Richard Henderson <rth@redhat.com>
132 * fold-const.c (fold): Change UINT_MAX test to check vs precision
133 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
135 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
137 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
138 (symGOT2reg): Use them, then set as GOT value as unchanging.
139 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
140 as a temporary, if possible.
141 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
142 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
144 2002-01-23 Kazu Hirata <kazu@hxi.com>
146 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
147 accept to accept 0x80 as operands[2].
149 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
151 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
153 2002-01-23 Richard Henderson <rth@redhat.com>
155 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
157 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
159 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
160 (parmlist_or_identifiers_1): Verify that only a parmlist follows
163 2002-01-23 Richard Henderson <rth@redhat.com>
165 * expr.c (move_by_pieces_1): Extend size before negation.
167 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
168 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
169 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
170 * config/m68k/t-m68kelf: Likewise.
172 2002-01-23 Bob Wilson <bob.wilson@acm.org>
174 * config/xtensa/elf.h: New file.
175 * config/xtensa/lib1funcs.asm: New file.
176 * config/xtensa/lib2funcs.S: New file.
177 * config/xtensa/linux.h: New file.
178 * config/xtensa/t-xtensa: New file.
179 * config/xtensa/xtensa-config.h: New file.
180 * config/xtensa/xtensa-protos.h: New file.
181 * config/xtensa/xtensa.c: New file.
182 * config/xtensa/xtensa.h: New file.
183 * config/xtensa/xtensa.md: New file.
184 * config.gcc (xtensa-*-elf*): New target.
185 (xtensa-*-linux*): New target.
186 * cse.c (canon_hash): Compare rtx pointers instead of register
187 numbers. This is required for the Xtensa port.
188 * integrate.c (copy_insn_list): Handle case where the static
189 chain is in memory and the memory address has to be copied to
191 * doc/invoke.texi (Option Summary): Add Xtensa options.
192 (Xtensa Options): New node.
193 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
195 2002-01-23 Zack Weinberg <zack@codesourcery.com>
197 * diagnostic.c (internal_error): Do ICE suppression only
198 when ENABLE_CHECKING is not defined.
200 * c-typeck.c (require_complete_type): Return error_mark_node
201 if type is error_mark_node.
203 2002-01-23 Janis Johnson <janis187@us.ibm.com>
205 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
206 -Os and issue a warning.
208 2002-01-23 Zack Weinberg <zack@codesourcery.com>
210 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
211 current (lack of) need for host configuration by hand.
213 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
214 references. Documentation of some target macros moved from
215 hostconfig.texi to tm.texi.
217 2002-01-23 Will Cohen <wcohen@redhat.com>
219 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
222 2002-01-23 Kazu Hirata <kazu@hxi.com>
224 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
227 2002-01-23 Jason Merrill <jason@redhat.com>
229 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
231 * function.c (assign_parms): Don't put args of inline functions
232 into registers when not optimizing.
234 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
236 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
237 (prologue_use): New pattern.
238 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
239 preference to gen_rtx_USE.
240 (thumb_expand_prologue): Use gen_prologue_use in preference to
242 (thumb_expand_epilogue): Use gen_prologue_use in preference to
245 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
247 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
249 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
252 * doc/extend.texi: Correct documentation of __alignof__.
254 2002-01-22 Zack Weinberg <zack@codesourcery.com>
256 * params.h: Rename arguments of DEFPARAM so that it will be
257 recognized as a translation keyword.
259 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
261 * extend.texi: Document altivec functions.
262 Fix N-bit adjectives in X86 builtin documentation.
264 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
266 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
269 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
271 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
273 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
275 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
277 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
279 2002-01-22 Richard Henderson <rth@redhat.com>
281 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
282 copy_insn not copy_rtx.
284 2002-01-23 Alan Modra <amodra@bigpond.net.au>
286 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
287 "nonzero" as that might add "1" bits. Ensure "constop" is
288 properly sign extened.
289 (force_to_mode): Tweak for sign extended constop.
291 2002-01-22 Richard Henderson <rth@redhat.com>
293 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
294 for_each_rtx instead of assuming we're already looking at the MEM.
295 (split_small_symbolic_mem_operand): Likewise.
296 * config/alpha/alpha.h (PREDICATE_CODES): Update.
297 * config/alpha/alpha.md (small symbolic memory splitters): Update.
299 2002-01-22 Richard Henderson <rth@redhat.com>
301 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
302 sequence number for the literal.
303 (divmoddi_internal_er): Likewise.
305 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
308 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
309 in LIBICONV variable.
310 * configure: Regenerated.
312 2002-01-22 Krister Walfridsson <cato@df.lth.se>
314 * dependence.c (build_def_use): Remove array_idx.
316 * dwarfout.c (last_filename): Remove.
317 (output_compile_unit_die): Remove last_filename.
319 2002-01-22 Roger Sayle <roger@eyesopen.com>
320 Richard Henderson <rth@redhat.com>
323 * fold-const.c (fold): Optimize unsigned comparisons against
324 UINT_MAX (and similar unsigned constants).
326 2002-01-22 Janis Johnson <janis187@us.ibm.com>
328 * Makefile.in (loop.o): Depend on OPTABS_H.
329 * loop.c (emit_prefetch_instructions): Check the prefetch operand
330 against the predicate.
333 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
334 for the address operand.
336 2002-01-22 Richard Henderson <rth@redhat.com>
338 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
340 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
343 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
346 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
348 * config.gcc (x86_64-*-netbsd*): New target.
349 * config/i386/netbsd64.h: New file.
351 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
353 * regrename.c (kill_value): Fix typo.
355 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
357 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
359 * config/rs6000/rs6000.h: Same.
361 * function.c (instantiate_virtual_regs): Remove
362 STARTING_FRAME_PHASE.
363 (assign_stack_local_1): Same.
364 Calculate frame phase.
366 2002-01-22 Nick Clifton <nickc@redhat.com>
368 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
369 variable declaration to outer scope in order to simplify
371 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
372 arm_hard_regno_mode_ok.
373 * config/arm/arm-protos.h: Add a prototype for
374 arm_hard_regno_mode_ok.
375 * config/arm/arm.c (soft_df_operand): Remove now redundant
376 check for DImode values using IP_REGNUM.
377 (nonimmediate_soft_df_operand): Remove now redundant check for
378 DImode values using IP_REGNUM.
379 (arm_hard_regno_mode_ok): New function. New check: make sure
380 that DImode values are not stored in IP_REGNUM.
382 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
384 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
386 2002-01-22 Jason Merrill <jason@redhat.com>
388 * c-semantics.c (genrtl_compound_stmt): Only check nesting
389 consistency if this COMPOUND_STMT is scoped.
391 2002-01-22 Kazu Hirata <kazu@hxi.com>
393 * predict.c: Fix formatting.
394 * print-tree.c: Likewise.
395 * protoize.c: Likewise.
398 * sbitmap.h: Likewise.
400 * sched-deps.c: Likewise.
401 * sched-vis.c: Likewise.
402 * sdbout.c: Likewise.
403 * sibcall.c: Likewise.
405 * ssa-ccp.c: Likewise.
406 * ssa-dce.c: Likewise.
408 * stor-layout.c: Likewise.
409 * system.h: Likewise.
411 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
413 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
414 if fits in bounds of base type.
416 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
417 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
418 (add_bound_info, default): If can't find a context, make a
420 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
422 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
424 * c-typeck.c (parser_build_binary_op): If result from
425 build_binary_op is ERROR_MARK just return error_mark_node without
428 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
430 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
431 Split a.out-specific bits into...
432 * config/netbsd-aout.h: ...this.
433 * config/netbsd-elf.h: New file.
434 * config/alpha/netbsd-elf.h: Remove.
435 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
436 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
437 (STARTFILE_SPEC): Remove redundant definition.
438 (ENDFILE_SPEC): Likewise.
439 (LINK_SPEC): Likewise.
440 (CPP_SPEC): Likewise.
441 (ASM_SPEC): Likewise.
442 (LIB_SPEC): Likewise.
443 (SWITCH_TAKES_ARG): Likewise.
444 (TARGET_MEM_FUNCTIONS): Likewise.
445 (CPP_PREDEFINES): Redefine.
446 (ASM_FINAL_SPEC): Remove redefinition.
447 (ASM_COMMENT_START): Redefine.
448 (FUNCTION_PROFILER): Define.
449 (TARGET_VERSION): Redefine.
450 Comment and formatting cleanup.
451 * config/i386/netbsd.h: Include <netbsd-aout.h>.
452 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
453 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
454 big- or little-endian.
455 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
456 * config.gcc (*-*-netbsd*): Add definitions common to all
458 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
459 gnu_ld definitions. Add netbsd-elf.h to and remove
460 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
461 tmake_file, and don't lose previous tmake_file contents.
462 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
463 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
464 gnu_ld definitions. Add netbsd-elf.h to tm_file.
465 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
466 (mipsel-*-netbsd*): Rename this to...
467 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
468 mips/little.h to tm_file for mips*el-*.
469 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
470 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
471 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
473 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
475 * pa-protos.h (reg_before_reload_operand): New function prototype.
476 * pa.c (reg_before_reload_operand): New function implementation.
477 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
480 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
482 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
484 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
486 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
487 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
488 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
489 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
490 (ENDFILE_SPEC): Undefine.
491 (STARTFILE_SPEC): Redefine for PA.
493 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
495 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
497 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
499 * config.gcc: Add entries to supported PowerPC --with-cpu
502 2002-01-21 Jakub Jelinek <jakub@redhat.com>
504 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
505 true for 64-bit mode only SSE registers in 32-bit mode.
507 2002-01-21 Kazu Hirata <kazu@hxi.com>
509 * unwind-dw2.c: Fix formatting.
510 * unwind-dw2-fde.c: Likewise.
511 * unwind-dw2-fde.h: Likewise.
512 * unwind-pe.h: Likewise.
513 * varasm.c: Likewise.
514 * varray.h: Likewise.
516 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
518 Remove workaround for register stack overwrite bug in mmix.
519 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
520 support for TARGET_REG_STACK_FILL_BUG.
521 * config/mmix/mmix.h: Remove member has_call_without_parameters.
522 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
524 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
525 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
526 -mno-reg-stack-fill-bug-workaround.
527 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
528 machine member has_call_without_parameters.
529 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
530 -mreg-stack-fill-bug-workaround and
531 -mno-reg-stack-fill-bug-workaround.
532 (MMIX Options): Ditto.
534 2002-01-21 Kazu Hirata <kazu@hxi.com>
536 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
538 Remove redundant code.
540 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
542 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
543 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
544 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
545 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
546 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
547 out target macro definitions and non-target-specific comments
548 mostly taken from old versions of the manual.
550 2002-01-20 Kazu Hirata <kazu@hxi.com>
552 * config/h8300/h8300.h: Fix comment formatting.
553 * config/ia64/aix.h: Likewise.
554 * config/ia64/ia64-protos.h: Likewise.
555 * config/ia64/ia64.c: Likewise.
556 * config/ia64/ia64.h: Likewise.
557 * config/ia64/ia64intrin.h: Likewise.
558 * config/ia64/linux.h: Likewise.
559 * config/ia64/unwind-aix.c: Likewise.
560 * config/ia64/unwind-ia64.c: Likewise.
562 2002-01-20 Kazu Hirata <kazu@hxi.com>
564 * config/h8300/h8300.c: Revise comments about shift code.
566 2002-01-20 Kazu Hirata <kazu@hxi.com>
568 * config/h8300/h8300.c (function_arg): Update a comment.
570 2002-01-20 Kazu Hirata <kazu@hxi.com>
572 * config/h8300/h8300.md: Update the comments at the beginning
575 2002-01-20 Kazu Hirata <kazu@hxi.com>
577 * config/i370/i370.c: Fix comment formatting.
578 * config/i370/i370.h: Likewise.
579 * config/i370/i370.md: Likewise.
580 * config/i370/linux.h: Likewise.
582 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
584 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
586 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
587 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
590 2002-01-20 Graham Stott <grahams@redhat.com>
592 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
594 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
596 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
598 2002-01-19 Tom Rix <trix@redhat.com>
600 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
602 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
604 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
606 * function.c (assign_stack_local_1): Adjust x_frame_offset with
607 STARTING_FRAME_PHASE.
608 (STARTING_FRAME_PHASE): New.
609 (instantiate_virtual_regs): Check saneness of
610 STARTING_FRAME_PHASE.
612 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
614 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
616 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
618 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
620 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
621 be used for bootstrapping GCC 3.0.
623 2002-01-18 Kazu Hirata <kazu@hxi.com>
625 * config/h8300/h8300.md: Fix an insn length.
627 2002-01-18 Kazu Hirata <kazu@hxi.com>
629 * bitmap.h: Fix comment formatting.
630 * combine.c: Likewise.
631 * cppfiles.c: Likewise.
632 * c-pragma.h: Likewise.
633 * c-typeck.c: Likewise.
635 * dwarf2out.c: Likewise.
636 * function.c: Likewise.
638 * genattrtab.c: Likewise.
639 * gthr-win32.h: Likewise.
640 * haifa-sched.c: Likewise.
641 * predict.c: Likewise.
642 * rtlanal.c: Likewise.
644 * unwind-dw2-fde.h: Likewise.
645 * unwind-pe.h: Likewise.
646 * vmsdbgout.c: Likewise.
648 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
650 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
651 if type_required and passed decl.
653 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
655 * config.gcc (cpu_type): Include altivec.h in powerpc
659 * config/rs6000/altivec.h: New.
661 2002-01-17 David Edelsohn <edelsohn@gnu.org>
663 * doc/install.texi (*-ibm-aix*): Update assembler and exception
664 handling information.
665 * doc/trouble.texi (Interoperation): Add libstdc++ information
667 (Misunderstandings): Add template instantiation and static template
668 member information for AIX.
670 2002-01-17 Jason Merrill <jason@redhat.com>
672 * dbxout.c (dbxout_type): Support const and volatile.
674 * except.c (add_partial_entry): Remove backwards compatibility code.
675 (end_protect_partials): Likewise.
677 2002-01-17 Jakub Jelinek <jakub@redhat.com>
679 * config/ia64/ia64.md (prologue_use): New.
680 * config/ia64/ia64.c (ia64_expand_prologue): Use
681 gen_prologue_use instead of gen_rtx_USE.
682 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
683 as CODE_FOR_pred_rel_mutex.
684 (ia64_sched_reorder2): Likewise.
686 2002-01-16 Eric Christopher <echristo@redhat.com>
688 * config/mips/r3900.h: Reformat.
689 (SUBTARGET_CPP_SIZE_SPEC): Remove.
690 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
691 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
692 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
693 * config/mips/t-elf: Remove mips3 multilib.
695 2002-01-16 H.J. Lu <hjl@gnu.org>
697 * config/mips/linux.h: Include "mips/abi64.h".
699 2002-01-16 H.J. Lu <hjl@gnu.org>
701 * config/mips/t-linux: New.
703 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
705 * config/mips/linux.h: Don't include "gofast.h".
706 (INIT_SUBTARGET_OPTABS): Removed.
708 2002-01-16 Kazu Hirata <kazu@hxi.com>
710 * config/h8300/h8300-protos.h: Replace emit_a_shift with
712 * config/h8300/h8300.c: Likewise.
713 * config/h8300/h8300.md: Likewise.
715 2002-01-16 Kazu Hirata <kazu@hxi.com>
717 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
718 spaces after an opcode name.
719 (pushqi1_h8300hs): Likewise.
720 (pushhi1_h8300hs): Likewise.
722 2002-01-16 Kazu Hirata <kazu@hxi.com>
724 * doc/extend.texi: Replace "option" with "attribute"
727 2002-01-16 Jakub Jelinek <jakub@redhat.com>
729 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
730 (and:DI () (const_int -8)).
731 (split_small_symbolic_mem_operand): Split
732 (mem (and:DI () (const_int -8)).
734 2002-01-16 Jakub Jelinek <jakub@redhat.com>
737 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
738 same way as TYPE_IMUL.
739 (ultrasparc_sched_reorder): Likewise.
740 * config/sparc/sparc.md (type): Add comment to update
741 ultrasparc_sched_reorder when making changes.
743 2002-01-16 Kazu Hirata <kazu@hxi.com>
745 * doc/invoke.texi: Change the dump file name of block
746 reordering pass from 28.bbro to 29.bbro.
749 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
751 * i386.md (minsf splitter): Fix pasto.
753 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
755 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
756 to frame pointer initialisation instruction.
757 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
758 initialisation instruction.
759 (soft_df_operand): Do not accept the IP register.
760 (nonimmediate_soft_df_operand): Do not accept the IP register.
762 2002-01-16 Jakub Jelinek <jakub@redhat.com>
765 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
766 MASK_V8 being both set.
768 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
770 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
771 insn for GOT register; add REG_MAYBE_DEAD notes instead.
772 config/s390/s390.md (call, call_value): Add GOT register to
773 CALL_INSN_FUNCTION_USAGE where needed.
774 (call_exp, call_value_exp): New.
776 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
778 * config/arm/arm.c: General formatting tidy up.
780 2002-01-16 Graham Stott <grahams@redhat.com>
782 * calls.c (try_to_integrate): Use "(size_t)" intermediate
783 cast and when casting an integer literal to "rtx" pointer.
784 (expand_call): Likewise.
785 * flow.c (try_pre_increment): Likewise.
786 (find_use_as_address): Likewise.
787 * integrate.c (expand_iline_function): Likewise.
788 * regmove.c (try_auto_increment): Likewise.
790 2002-01-16 Graham Stott <grahams@redhat.com>
792 * sched-rgn.c (passed): Use sbitmap_free.
795 (in_queue): Likewise.
796 (in_stack): Likewise.
798 2002-01-15 Eric Christopher <echristo@redhat.com>
800 * flow.c (propagate_one_insn): Change to use fatal_insn.
802 2002-01-15 Kazu Hirata <kazu@hxi.com>
804 * expmed.c (extract_fixed_bit_field): Remove unused code.
805 * system.h: Poison SLOW_ZERO_EXTEND.
806 * doc/tm.texi: Remove.
807 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
808 * config/arm/arm.h: Likewise.
809 * config/avr/avr.h: Likewise.
810 * config/clipper/clipper.h: Likewise.
811 * config/convex/convex.h: Likewise.
812 * config/d30v/d30v.h: Likewise.
813 * config/dsp16xx/dsp16xx.h: Likewise.
814 * config/elxsi/elxsi.h: Likewise.
815 * config/fr30/fr30.h: Likewise.
816 * config/h8300/h8300.h: Likewise.
817 * config/i370/i370.h: Likewise.
818 * config/i386/i386.h: Likewise.
819 * config/m68k/m68k.h: Likewise.
820 * config/mips/mips.h: Likewise.
821 * config/ns32k/ns32k.h: Likewise.
822 * config/pdp11/pdp11.h: Likewise.
823 * config/pj/pj.h: Likewise.
824 * config/s390/s390.h: Likewise.
825 * config/sh/sh.h: Likewise.
826 * config/stormy16/stormy16.h: Likewise.
827 * config/v850/v850.h: Likewise.
828 * config/vax/vax.h: Likewise.
829 * config/we32k/we32k.h: Likewise.
831 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
833 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
834 (altivec_lvsl): Change constraint to b.
835 (altivec_lvsr): Same.
836 (altivec_lvebx): Same.
837 (altivec_lvehx): Same.
838 (altivec_lvewx): Same.
839 (altivec_lvxl): Same.
841 (altivec_stvx): Add parallel.
842 (altivec_stvxl): Same.
843 (altivec_stvehx): Same.
844 (altivec_stvebx): Same.
845 (altivec_stvebx): Same.
847 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
849 * config.gcc: Change altivec.h to altivec-defs.h.
851 * config/rs6000/altivec.h: Delete.
853 * config/rs6000/altivec-defs.h: Add.
855 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
857 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
860 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
861 less than or equal to eight bytes.
863 * vax.md (andsi3): Remove constraints and change SET destination
864 operand type to nonimmediate_operand.
865 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
866 when it is a CONST_INT.
868 2002-01-15 Jason Merrill <jason@redhat.com>
870 * c-common.def (FILE_STMT): New code.
871 * c-common.c (statement_code_p): It's a statement.
872 * c-common.h (stmt_tree_s): Add x_last_filename.
873 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
874 (last_expr_filename): New macro.
875 * c-semantics.c (begin_stmt_tree): Initialize it.
876 (add_stmt): If the filename changed, also insert a
878 (expand_stmt): Handle seeing one.
880 2002-01-15 Eric Christopher <echristo@redhat.com>
882 * flow.c (propagate_one_insn): Add error message and print out
885 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
887 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
888 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
889 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
890 TRAMPOLINE_ALIGNMENT.
891 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
893 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
894 PCC_BITFIELD_TYPE_MATTERS.
895 * config/interix.h (STDC_VALUE): Remove. Use
896 STDC_0_IN_SYSTEM_HEADERS.
897 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
898 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
899 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
901 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
903 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
904 not work on this platform currently.
906 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
908 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
909 readonly_warning in _().
911 2002-01-15 Douglas B Rupp <rupp@gnat.com>
913 * gcc.c (delete_if_ordinary): Backout previous change.
915 2002-01-15 Kazu Hirata <kazu@hxi.com>
917 * config/h8300/h8300.c (print_operand): Remove support for
918 unused operand characters.
920 * read-rtl.c: Fix formatting.
923 * regclass.c: Likewise.
924 * regmove.c: Likewise.
925 * reg-stack.c: Likewise.
926 * reload1.c: Likewise.
927 * rtlanal.c: Likewise.
929 2002-01-15 Kazu Hirata <kazu@hxi.com>
931 * config/i386/i386.c: Fix formatting.
933 2002-01-15 Jakub Jelinek <jakub@redhat.com>
935 * c-typeck.c (process_init_element): Don't save_expr
936 COMPOUND_LITERAL_EXPR if just its initializer will be used.
938 2002-01-15 David Edelsohn <edelsohn@gnu.org>
940 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
941 emit optional traceback table if optimize_size or TARGET_ELF.
942 * config/rs6000/rs6000.md (prefetch): New.
944 2002-01-15 Andreas Jaeger <aj@suse.de>
946 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
948 2002-01-15 Kazu Hirata <kazu@hxi.com>
950 * mips-tfile.c: Fix formatting.
952 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
954 * unroll.c (final_reg_note_copy): Fix previous commit.
956 2002-01-14 Kazu Hirata <kazu@hxi.com>
958 * config/h8300/h8300-protos.h: Remove the prototype for
960 * config/h8300/h8300.c (eq_operator): Remove.
962 2002-01-14 Richard Henderson <rth@redhat.com>
964 * config/i386/i386.md (prefetch): Tidy.
965 (prefetch_3dnow): Fix locality operand.
967 2002-01-14 Richard Henderson <rth@redhat.com>
969 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
970 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
972 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
974 * reload1.c (reload_combine): Pass reg_sum replacement through
975 copy_rtx in loop performing multiple changes.
977 2002-01-14 Jakub Jelinek <jakub@redhat.com>
979 * except.c (remove_unreachable_regions): New.
980 (free_eh_status): Clear exception_handler_labels.
981 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
982 (find_exception_handler_labels): Don't add the same label more than
984 (remove_exception_handler_label): Don't die if
985 find_exception_handler_labels hasn't been called for the current
988 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
990 * toplev.c (rest_of_compilation): Rebuild jump labels after
993 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
995 * doc/extend.texi: Move documentation of X86 built-in functions
997 * doc/invoke.texi: From here.
998 * doc/sourcebuild.texi: Document location of documentation for
999 machine built-in functions.
1001 2002-01-13 Christopher Faylor <cgf@redhat.com>
1003 * cppfiles.c (TEST_THRESHOLD): New macro.
1004 (SHOULD_MMAP): Ditto.
1005 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
1008 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
1010 * unroll.c (final_reg_note_copy): Properly handle
1012 (unroll_loops): Fix LOOP_CONDITION heuristics.
1014 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
1016 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
1017 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
1019 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
1021 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
1024 2002-01-14 Tom Rix <trix@redhat.com>
1026 * config/rs6000/rs6000.md: Fix typo with sradi.
1028 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
1030 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
1031 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
1032 (clrstrdi, clrstrsi): Adapt callers.
1034 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
1036 (movti splitter): Never use register 0 as base register.
1038 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
1040 * combine.c (simplify_shift_const): Always generate new rtx
1041 for shift expression instead of reusing given expression.
1043 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1045 * config/alpha/alpha.c (alpha_expand_mov): Don't call
1046 alpha_legitimize_address unless mode is Pmode.
1048 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
1050 * doc/md.texi (Modifiers): Document the '*' constraint for the
1053 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
1054 * doc/extend.texi (Function Attributes): 'interrupt' is valid
1057 2002-01-13 Richard Henderson <rth@redhat.com>
1059 * reload.c (find_reloads): Use a hard reg destination as reload reg
1060 for an input reload of the source.
1062 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1064 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
1067 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
1069 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1070 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1072 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
1074 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1076 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
1078 2002-01-12 Tom Rix <trix@redhat.com>
1080 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
1083 2002-01-12 Richard Henderson <rth@redhat.com>
1085 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
1087 * doc/invoke.texi: Update Alpha options.
1089 * doc/invoke.texi: Update i386 built-in function lists.
1091 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
1093 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
1094 referencing outside.
1096 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1098 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
1099 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
1100 offsets, and change line folding.
1101 * optabs.c (expand_binop): Remove warnings.
1102 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
1104 2002-01-12 Graham Stott <grahams@redhat.com>
1106 * attribs.c (handle_deprecated_attribute): constify WHAT.
1107 * diagnostic.c (warn_deprecated_use): Add braces, fixes
1108 dangling else warning and constify WHAT.
1109 * except.h (struct function, struct inline_remap): Move
1110 struct tag forward defs before all prototypes.
1111 (duplicate_eh_regions): Whitespace.
1113 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
1115 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
1116 MODE_BASE_REG_CLASS.
1117 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
1119 2002-01-12 Richard Henderson <rth@redhat.com>
1121 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
1122 (ix86_expand_vector_move): New.
1123 (bdesc_2arg): Remove andps, andnps, orps, xorps.
1124 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
1125 Remove old prefetch builtins. Special case the logicals removed above.
1126 (ix86_expand_builtin): Likewise.
1127 (safe_vector_operand): Use V4SFmode, not TImode.
1128 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
1129 (ix86_expand_timode_binop_builtin): New.
1130 * config/i386/i386-protos.h: Update.
1131 * config/i386/i386.h (enum ix86_builtins): Update.
1132 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
1133 Use ix86_expand_vector_move in vector move expanders.
1134 (movti_internal, movti_rex64): Add xorps alternative.
1135 (sse_clrv4sf): Rename and adjust from sse_clrti.
1136 (prefetch): Don't work so hard.
1137 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
1138 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
1139 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
1141 2002-01-11 Richard Henderson <rth@redhat.com>
1143 * config/i386/mmintrin.h: New file.
1144 * config/i386/xmmintrin.h: New file.
1145 * config.gcc (i?86-*-*): Add extra_headers.
1146 * simplify-rtx.c (simplify_unary_operation): Handle saturating
1148 (simplify_binary_operation): Handle saturating arithmetic codes.
1149 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
1150 not the lowpart subreg.
1151 (ix86_expand_builtin): Return a TImode dummy register instead of 0
1153 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
1155 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1157 * conflict.c (conflict_graph_compute): Free regsets when finished.
1158 * ssa.c (compute_coalesced_reg_partition): Likewise.
1160 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1162 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
1163 every where we allocate a register.
1165 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1167 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
1168 * lcm.c (compute_earliest, compute_farthest): Likewise.
1170 2002-01-11 Janis Johnson <janis187@us.ibm.com>
1172 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
1174 2002-01-11 Janis Johnson <janis187@us.ibm.com>
1176 * doc/rtl.texi (Insns): Fix 2 typos.
1178 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1180 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
1181 options. Use @table @gcctabopt for MMIX options. Add index
1182 entries for MMIX options. Start new paragraph with first
1183 heading of the machine-dependent options.
1185 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
1188 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
1189 * combine.c (force_to_mode): Same.
1190 * reload1.c (clear_reload_reg_in_use): Same.
1192 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
1194 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
1197 2002-01-11 Andreas Jaeger <aj@suse.de>,
1198 Brad Lucier <lucier@math.purdue.edu>
1200 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
1203 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
1205 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
1206 Protect with IN_LIBGCC.
1207 (LINK_EH_SPEC): Add required trailing space.
1209 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
1211 * c-tree.h: Move function declarations so that they are listed
1212 under the filename which contains them.
1213 (check_identifier, finish_decl_top_level,
1214 lookup_name_current_level_global, shadow_record_fields): Remove.
1216 2002-01-11 Andreas Jaeger <aj@suse.de>
1218 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
1221 2002-01-10 Richard Henderson <rth@redhat.com>
1223 * config/alpha/alpha.c (print_operand): Add 'J'.
1224 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
1225 new operand with the sequence number for the lituse. When splitting
1226 the insns, use gen_movdi_er_high_g and generate a sequence number.
1227 (gen_movdi_er_high_g): Print the sequence number if non-zero.
1229 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
1231 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
1232 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
1234 (altivec_expand_builtin): Same.
1235 (altivec_expand_stv_builtin): New.
1237 * config/rs6000/rs6000.h (rs6000_builtins): Same.
1239 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
1240 ("altivec_lvehx"): New.
1241 ("altivec_lvewx"): New.
1242 ("altivec_lvxl"): New.
1243 ("altivec_lvx"): New.
1244 ("altivec_stvx"): New.
1245 ("altivec_stvebx"): New.
1246 ("altivec_stvehx"): New.
1247 ("altivec_stvewx"): New.
1248 ("altivec_stvxl"): New.
1250 2002-01-10 Richard Henderson <rth@redhat.com>
1252 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
1253 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
1254 care not to delete instructions twice.
1256 2002-01-10 Zack Weinberg <zack@codesourcery.com>
1258 * toplev.c: Don't declare environ (it's not used anywhere).
1259 * configure.in: Don't check for declaration of environ.
1260 * config/i386/xm-mingw32.h: Don't #define environ.
1261 * config.in, configure: Regenerate.
1263 2002-01-10 Zack Weinberg <zack@codesourcery.com>
1265 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
1266 * configure: Regenerate.
1268 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
1269 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
1270 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
1272 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
1273 LIMITS_H_TEST here, not in m68k/x-next.
1274 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
1275 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
1277 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
1278 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
1279 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
1281 * config/i386/x-djgpp: Renamed i386/t-djgpp.
1282 * config/m88k/x-dolph: Renamed m88k/t-dolph.
1283 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
1284 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
1285 replacement of quadlib.asm with quadlib.c.
1287 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
1288 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
1289 config/rs6000/xm-beos.h: Delete file.
1291 * config.gcc: Update to match above changes.
1293 2002-01-10 Kazu Hirata <kazu@hxi.com>
1295 * config/h8300/h8300.h: Fix comment typos.
1296 * config/h8300/h8300.md: Likewise.
1297 * config/h8300/lib1funcs.asm: Likewise.
1299 2002-01-10 Dale Johannesen <dalej@apple.com>
1301 PR optimization/5269
1302 * unroll.c (precondition_loop_p): Make *increment be the correct
1303 sign when n_iterations known, to avoid confusing caller.
1305 2002-01-10 Kazu Hirata <kazu@hxi.com>
1307 * doc/extend.texi (deprecated): Fix a typo.
1309 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
1311 * basic-block.h (update_br_prob_note): Declare.
1312 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
1313 (try_forward_edges): Care negative frequencies and update note.
1314 (outgoing_edges_match): Tweek conditional merging heuristics.
1315 (try_crossjump_to_edge): use update_br_prob_note.
1316 * cfglayout.c (fixup_reorder_chain): Likewise.
1317 * cfrtl.c (update_br_prob_note): New.
1318 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
1320 * i386.c (ix86_decompose_address): Return -1 if address contains
1322 (legitimate_address_p): Require ix86_decompose_address to return 1.
1324 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
1325 (cprop_insn): Likewise.
1327 2002-01-10 Kazu Hirata <kazu@hxi.com>
1329 * toplev.c: Fix formatting.
1331 * tree-dump.c: Likewise.
1332 * unroll.c: Likewise.
1333 * unwind-dw2.c: Likewise.
1334 * unwind-dw2-fde.c: Likewise.
1335 * unwind-dw2-fde-glibc.c: Likewise.
1336 * unwind-sjlj.c: Likewise.
1338 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1340 * doc/invoke.texi: Document PDP-11 options.
1342 2002-01-10 Kazu Hirata <kazu@hxi.com>
1344 * config/h8300/h8300.h: Fix formatting.
1346 2001-01-10 Ira Ruben <ira@apple.com>
1348 Add __attribute__ ((deprecated)).
1349 * extend.texi: Document __attribute__ ((deprecated)).
1350 * invoke.texi: Document -Wno-deprecated-declarations.
1351 * testsuite/g++.dg/other/deprecated.C: New C++ test.
1352 * testsuite/gcc.dg/deprecated.c: New C test.
1353 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
1354 (c_common_attribute_table): Add "deprecated" entry.
1355 (handle_deprecated_attribute): New function.
1356 * c-decl.c (deprecated_states): New enum.
1357 deprecated_state: State of "deprecated" handling.
1358 (start_decl): Set deprecated_state based on attributes.
1359 (grokdeclarator): Test for deprecated uses, propagate attribute.
1360 * c-typeck.c (build_component_ref): Test for deprecated fields.
1361 (build_external_ref): Test for deprecated primaries.
1362 * diagnostic.c (warn_deprecated_use) New function to issue
1363 warnings about __attribute__ ((depricated)) references.
1364 * flags.h (warn_deprecated_decl): Extern declared for
1365 -W[no-]deprecated-declarations option.
1366 * print-tree.c (print_node): Show deprecated flag status.
1367 * toplev.c (warn_deprecated_decl): Defined.
1368 (W_options): Added "deprecated-declaration".
1369 * toplev.h (warn_deprecated_use): Extern declared.
1370 * tree.h (struct tree_common): Define deprecated_flag.
1371 (TREE_DEPRECATED): New macro to access flag.
1372 * cp/call.c (build_call): Test for deprecated calls.
1373 * cp/class.c (add_implicitly_declared_members): Set global
1374 flag to tell grokdeclarator to not issue deprecated warnings.
1375 * cp/cp-tree.h: Add extern for adding_implicit_members.
1376 * cp/decl.c (deprecated_states): New enum.
1377 (start_decl): Set deprecated_state based on attributes.
1378 (grokdeclarator): Test for deprecated uses, propagate attribute.
1379 * cp/lex.c (do_identifier): Test for deprecated primaries.
1380 * cp/typeck.c (build_component_ref): Test for deprecated fields.
1382 2001-01-10 Ira Ruben <ira@apple.com>
1384 Fix to assign attributes to inline member functions.
1385 * cp/decl.c (start_method): Handle attrlist.
1387 2002-01-10 Kazu Hirata <kazu@hxi.com>
1389 * combine.c (expand_field_assignment): Use subreg_lsb().
1391 2002-01-10 David Edelsohn <edelsohn@gnu.org>
1393 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
1394 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
1395 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
1396 Recurse for any operand of AND as long as constant is non-zero.
1398 2002-01-10 Kazu Hirata <kazu@hxi.com>
1400 * config/h8300/h8300.md: Remove constraints from expanders.
1402 2002-01-10 Kazu Hirata <kazu@hxi.com>
1404 * varasm.c: Fix formatting.
1405 * varray.c: Likewise.
1406 * vmsdbgout.c: Likewise.
1407 * xcoffout.c: Likewise.
1409 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
1411 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
1412 update edge probabilities to match.
1414 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1416 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
1418 * doc/languages.texi, doc/sourcebuild.texi: New files.
1419 * doc/configfiles.texi: Make a subsubsection. Update.
1420 * doc/configterms.texi: Add @node. Remove warning that this isn't
1421 instructions for building GCC.
1422 * doc/makefile.texi: Make a subsection.
1423 * doc/gccint.texi: Update.
1425 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
1427 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
1429 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
1431 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
1433 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
1435 * optabs.c (expand_fix): Look for wider integer modes first.
1437 * i386.md (mov?f): Avoid the fake const double trick for medium
1439 (min?f*/max?f*): Prohibit memory operands for i387 variant.
1440 (fop_df_4): Disable for SSE compilation.
1442 2002-01-10 Graham Stott <grahams@redhat.com>
1444 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
1445 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
1447 2002-01-10 Richard Henderson <rth@redhat.com>
1449 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
1451 2002-01-10 Richard Henderson <rth@redhat.com>
1453 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
1454 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
1456 2002-01-10 Kazu Hirata <kazu@hxi.com>
1458 * combine.c (can_combine_p): Fix a comment typo.
1460 2002-01-09 Zack Weinberg <zack@codesourcery.com>
1462 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
1463 empty list correctly. Change loop index $t to $f for
1464 consistency with rest of Makefile.
1466 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
1468 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
1469 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1471 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
1472 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
1473 (altivec_init_builtins): Same.
1474 (altivec_expand_unop_builtin): Return NULL_RTX on error.
1475 (altivec_expand_binop_builtin): Same.
1476 (altivec_expand_ternop_builtin): Same.
1479 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
1480 ("altivec_vctuxs"): Fix typo.
1481 ("altivec_vnmsubfp"): Same.
1482 ("altivec_dssall"): New.
1483 ("altivec_mfvscr"): New.
1484 ("altivec_dss"): New.
1485 ("altivec_lvsl"): New.
1486 ("altivec_lvsr"): New.
1487 ("altivec_dstt"): New.
1488 ("altivec_dstst"): New.
1489 ("altivec_dststt"): New.
1490 ("altivec_dst"): New.
1492 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
1493 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1495 2002-01-09 Richard Henderson <rth@redhat.com>
1497 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
1499 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
1501 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
1503 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
1505 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
1507 2002-01-09 Kazu Hirata <kazu@hxi.com>
1509 * read-rtl.c: Fix formatting.
1511 * regclass.c: Likewise.
1512 * regrename.c: Likewise.
1513 * reg-stack.c: Likewise.
1514 * reload1.c: Likewise.
1515 * reload.c: Likewise.
1518 2002-01-09 Kazu Hirata <kazu@hxi.com>
1520 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
1521 to extract items in the expr_list chain.
1523 2002-01-09 Richard Henderson <rth@redhat.com>
1525 * config/vax/vax.c (vax_rtx_cost): Never abort.
1527 * config/vax/vax.h (REAL_ARITHMETIC): Define.
1529 2002-01-09 Jan Hubicka <jh@suse.cz>
1531 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
1533 2002-01-09 Richard Henderson <rth@redhat.com>
1535 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
1536 Unify code from various alternatives.
1538 2002-01-09 Richard Henderson <rth@redhat.com>
1540 * regrename.c (copy_value): Ignore the copy if the source register
1541 is present in the value chain with a narrower mode.
1543 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1545 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
1546 for the c4x target. Also improve layout.
1548 2002-01-09 Richard Henderson <rth@redhat.com>
1550 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
1551 * config/m32r/m32r.md (and ior xor splitters): Swap operands
1552 to match insn patterns.
1554 2002-01-09 Richard Henderson <rth@redhat.com>
1556 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
1557 (copyprop_hardreg_forward_1): Likewise.
1559 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
1561 * pa.md (decrement_and_branch_until_zero): Change predicate for
1562 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
1564 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1566 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
1567 gets undefined. For Darwin.
1569 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1571 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
1573 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1575 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
1577 2002-01-08 Richard Henderson <rth@redhat.com>
1579 * regrename.c (copy_value): Ignore overlapping copies.
1581 2002-01-08 Richard Henderson <rth@redhat.com>
1583 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
1584 as needed to avoid shared structure.
1586 2002-01-08 Kazu Hirata <kazu@hxi.com>
1588 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
1591 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1593 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
1594 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
1595 documentation of obsolete macros.
1596 * system.h: Poison these macros.
1597 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
1598 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
1599 config/c4x/c4x.h, config/clipper/clipper.h,
1600 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
1601 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
1602 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
1603 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
1604 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
1605 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
1606 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
1607 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
1608 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
1609 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
1610 config/sparc/sparc.h, config/stormy16/stormy16.h,
1611 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
1612 definitions and commented out definitions of obsolete macros.
1613 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
1614 of MAX_INT_TYPE_SIZE.
1616 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1618 * config/s390/s390.c (s390_preferred_reload_class): Never
1619 return ADDR_REGS if it isn't a subset of the given class.
1620 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
1621 FP_REGS, but all superclasses as well.
1623 * config/s390/s390.c (s390_function_profiler): Fix thinko.
1625 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
1626 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
1627 must not be a const_int.
1629 2002-01-08 Richard Henderson <rth@redhat.com>
1631 * Makefile.in (toplev.o): Depend on options.h.
1632 (gcc.o): Depend on specs.h.
1634 2002-01-08 Jakub Jelinek <jakub@redhat.com>
1636 * expr.c (store_expr): Convert VOIDmode constants back to target's
1639 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1641 * doc/invoke.texi: Markup gcc as @command. Refer to
1642 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
1643 of http://gcc.gnu.org/thanks.html.
1645 2002-01-08 Dale Johannesen <dalej@apple.com>
1647 * config/rs6000/rs6000.md: Add missing int register
1648 target case to movdf_low.
1650 2002-01-08 Zack Weinberg <zack@codesourcery.com>
1652 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
1653 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
1654 (cppinit.o): Depend on except.h.
1655 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
1656 s-specs): New rules.
1658 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
1659 Don't create specs.h/options.h/gencheck.h here. Remove
1660 unnecessary variable settings from last argument of AC_OUTPUT.
1661 * config.in, configure: Regenerate.
1662 * intl.c: Hardcode package name as "gcc".
1664 * cppinit.c: Include except.h.
1665 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
1667 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
1668 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
1669 (!)USING_SJLJ_EXCEPTIONS.
1670 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
1672 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1674 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
1675 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
1676 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
1677 documentation of obsolete macros.
1678 * system.h: Poison these macros.
1679 * config/d30v/d30v.h, config/ns32k/encore.h,
1680 config/stormy16/stormy16.h: Remove definitions and commented out
1681 definitions of obsolete macros.
1683 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
1685 * objc/objc-act.c (handle_class_ref): Mark the declaration of
1686 %sobjc_class_ref_%s as used - to prevent unwanted compiler
1689 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1691 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
1692 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
1693 to insn adjusting stack/frame pointer.
1694 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
1695 accept operands that cause the insn to be non-splittable.
1697 2002-01-08 Graham Stott <grahams@redhat.com>
1699 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
1700 (C_TYPE_FIELDS_VOLATILE): Likewise.
1701 (C_TYPE_BEING_DEFINED): Likewise.
1702 (C_IS_RESERVED_WORD): Likewise.
1703 (C_TYPE_VARIABLE_SIZE): Likewise.
1704 (C_DECL_VARIABLE_SIZE): Likewise.
1705 (C_MISSING_PROTOTYPE_WARNED): Likewise.
1706 (C_SET_EXP_ORIGINAL_CODE): Likewise.
1707 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
1709 (C_DECL_ANTICIPATED): Likewise.
1710 (c_build_type_variant): Add parenthesis.
1712 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1714 * gcc.c (option_map): Remove --version.
1715 (process_command): Handle -fversion following the GNU Coding
1716 Standards. Partially addresses PR other/704.
1718 2002-01-08 Graham Stott <grahams@redhat.com>
1720 * combine.c (combine_instructions): Fix typo.
1722 2002-01-08 Graham Stott <grahams@redhat.com>
1724 * debug.h: Use "tree" and "rtx" throughout.
1726 * debug.c: Likewise.
1728 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
1730 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
1731 constant pool, use the pool's version of the symbol instead.
1733 2002-01-07 Richard Henderson <rth@redhat.com>
1735 * regrename.c (find_oldest_value_reg): Ignore the value chain if
1736 the original register was copied in a mode with a fewer number of
1737 hard registers than the desired mode.
1738 (copyprop_hardreg_forward_1): Likewise.
1739 (debug_value_data): Fix loop test.
1740 * toplev.c (parse_options_and_default_flags): Reenable
1741 -fcprop-registers at -O1.
1743 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1745 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
1746 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
1748 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
1751 * config/rs6000/rs6000.md: Add altivec predicate patterns.
1753 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
1755 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
1756 (pa_output_function_prologue): Output local label at the beginning of
1757 the prologue when profiling.
1758 (hppa_profile_hook): Use the local label rather than the function label.
1759 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
1761 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1763 * config/rs6000/rs6000.c (print_operand): Remove extra space.
1764 (altivec_expand_unop_builtin): Fix thinko.
1765 (altivec_expand_binop_builtin): Same.
1766 (altivec_expand_ternop_builtin): Same.
1767 (altivec_expand_builtin): Same.
1769 2002-01-07 Richard Henderson <rth@redhat.com>
1771 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
1773 2002-01-07 Jason Merrill <jason@redhat.com>
1775 * unwind-dw2.c (execute_cfa_program): Use < again.
1777 2002-01-07 Jakub Jelinek <jakub@redhat.com>
1779 * predict.c (combine_predictions_for_insn): Avoid division by zero.
1781 2002-01-07 Jakub Jelinek <jakub@redhat.com>
1783 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
1784 Don't allow -1 - x -> ~x simplifications in the first pass.
1786 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1788 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
1790 (altivec_expand_binop_builtin): Same.
1791 (altivec_expand_unop_builtin): Same.
1792 (print_operand): Fix typo.
1793 (bdesc_1arg): Add vupk* variants.
1795 * rs6000.h (rs6000_builtins): Add vupk* enums.
1797 * rs6000.md: Add altivec_vupk* variants.
1799 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
1801 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
1802 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
1803 and last update dates.
1805 2002-01-07 Janis Johnson <janis187@us.ibm.com>
1807 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
1809 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
1811 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
1812 * config/avr/avr.h (CPP_SPEC): Likewise.
1813 (LINK_SPEC): Likewise.
1814 (CRT_BINUTILS_SPECS): Likewise.
1815 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
1816 * doc/invoke.texi (AVR Options): Document them.
1818 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
1820 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
1823 2002-01-07 Graham Stott <grahams@redhat.com>
1825 * config/i386/i386.h: Update copyright date.
1826 (HALF_PIC_PTR): Add parenthesis.
1827 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
1828 (CONSTANT_ALIGNMENT): Add parenthesis.
1829 (DATA_ALIGNMENT): Likewise.
1830 (LOCAL_ALIGNMENT): Likewise.
1831 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
1832 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
1833 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
1834 (HARD_REGNO_NREGS): Add paranethesis.
1835 (VALID_SSE_REG_MODE): Whitespace.
1836 (VALID_MMX_REG_MODE): Whitespace.
1837 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
1838 (ix86_hard_regno_mode_ok): Add parenthesis.
1839 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
1840 (RETURN_IN_MEMORY): Whitespace.
1841 (N_REG_CLASSES): Add parenthesis.
1842 (INTEGER_CLASS_P): Add parenthesis and wrap.
1843 (FLOAT_CLASS_P): Likewise.
1844 (SSE_CLASS_P): Likewise.
1845 (MMX_CLASS_P): Likewise.
1846 (MAYBE_INTEGER_CLASS_P): Likewise.
1847 (MAYBE_FLOAT_CLASS_P): Likewise.
1848 (MAYBE_SSE_CLASS_P): Likewise.
1849 (MAYBE_MMX_CLASS_P): Likewise.
1850 (Q_CLASS_P): Likewise.
1851 (GENERAL_REGNO_P): Uppercase macro parameter.
1852 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
1853 (FP_REGNO_P): Likewise.
1854 (ANY_FP_REGNO_P): Uppercase macro parameter.
1855 (SSE_REGNO_P): Likewise.
1856 (SSE_REGNO): Likewise.
1857 (SSE_REG_P): Likewise.
1858 (SSE_FLOAT_MODE_P): Likewise.
1859 (MMX_REGNO_P): Likewise.
1860 (MMX_REG_P):Likewise.
1861 (STACK_REG_P): Likewise.
1862 (NON_STACK_REG_P): Likewise.
1863 (STACK_TOP_P): Likewise.
1864 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
1865 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
1866 (SECONDARY_MEMORY_NEEDED): Likewise.
1867 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
1868 (MD_ASM_CLOBBERS): Whitespace and wrap.
1869 (MUST_PASS_IN_STACK): Whitespace and wrap.
1870 (RETURN_POPS_ARGS): Add parenthesis.
1871 (INIT_CUMULATIVE_ARGS): Likewise.
1872 (FUNCTION_ARG): Likewise.
1873 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
1874 (SETUP_INCOMING_VARARGS): Likewise.
1875 (BUILD_VA_LIST_TYPE): Add parenthesis.
1876 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
1878 (EXPAND_BUILTIN_VA_ARG): Likewise.
1879 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
1880 (INITIALIZE_TRAMPOLINE): Add parenthesis.
1881 (INITIAL_ELIMINATION_OFFSET): Likewise.
1882 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
1883 (REGNO_OK_FOR_BASE_P): Likewise.
1884 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
1885 (REGNO_OK_FOR_DIREG_P): Likewise.
1886 (REG_OK_FOR_INDEX_P): Whitespace.
1887 (REG_OK_FOR_BASE_P): Whitespace.
1888 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
1890 (FIND_BASE_TERM): Fix typo.
1891 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
1892 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
1893 (SYMBOLIC_CONST; Whitespace.
1894 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
1895 (ENCODE_SECTION_INFO): Whitespace.
1896 (FINALIZE_PIC): Remove do { ... } while (0).
1897 (PROMOTE_MODE): Wrap in do { ... } while (0).
1898 (CONST_COSTS): Whitespace.
1899 (RTX_COSTS): Add paramethesis, whitespace and wrap.
1900 (REGISTER_MOVE_COST): Add parenthesis.
1901 (MEMORY_MOVE_COST): Likewise.
1902 (EXTRA_CC_MODES): Whitespace.
1903 (SELECT_CC_MODE): Add parenthesis and whitespace.
1904 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
1905 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
1906 (ASM_OUTPUT_LABEL): Add paramethesis.
1907 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
1908 (ASM_OUTPUT_REG_POP): Likewise.
1909 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
1910 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
1912 * config/i386/i386.c: Update copyright.
1913 (CHECK_STACK_LIMIT): Add parenthesis.
1914 (AT_BP): Uppercase macro parameter.
1915 (x86_64_int_parameter_registers): Constify.
1916 (x86_64_int_return_registers): Likewise.
1917 (ix86_compare_op0): Use rtx.
1918 (construct_container): Constify INTREG parameter.
1919 (function_arg): Use rtx.
1921 * diagnostic.h: Update copyright date.
1922 (output_buffer_state): Add parenthesis.
1923 (output_buffer_format_args): Likewise.
1925 * combine.c (combine_instructions): Replace XEXP (links, 0)
1928 2002-01-06 H.J. Lu <hjl@gnu.org>
1930 * cfgcleanup.c (thread_jump): Fix 2 typos.
1932 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
1934 * config.gcc: Add support for --enable-altivec.
1936 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
1938 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
1940 2002-01-06 Jakub Jelinek <jakub@redhat.com>
1942 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
1943 __objc_class_name_*.
1945 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
1947 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
1949 2002-01-06 Richard Henderson <rth@redhat.com>
1951 * reorg.c (emit_delay_sequence): Remove death notes, not merely
1952 nop them out. Increment label reference count for REG_LABEL.
1953 (fill_slots_from_thread): Frob label reference count around
1954 delete_related_insns.
1956 2002-01-05 Richard Henderson <rth@redhat.com>
1958 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
1961 2002-01-05 Richard Henderson <rth@redhat.com>
1963 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
1964 * integrate.c (output_inline_function): Likewise.
1965 * toplev.c (rest_of_compilation): Do it here instead. Move call
1966 to remove_unnecessary_notes after emitting abstract instance.
1967 Force an emitted nested function to have its parent emited as well.
1968 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
1970 (rtl_for_decl_location): Do not look at reload data structures
1971 before reload has run.
1973 2002-01-05 Kazu Hirata <kazu@hxi.com>
1975 * cse.c: Fix formatting.
1976 * dwarf2asm.c: Likewise.
1977 * dwarf2out.c: Likewise.
1978 * explow.c: Likewise.
1979 * expmed.c: Likewise.
1980 * function.c: Likewise.
1982 * gencheck.c: Likewise.
1983 * genrecog.c: Likewise.
1984 * ggc-common.c: Likewise.
1985 * ggc-page.c: Likewise.
1986 * global.c: Likewise.
1988 2002-01-05 Kazu Hirata <kazu@hxi.com>
1990 * combine.c: Fix formatting.
1992 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
1995 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
1997 2002-01-05 David Edelsohn <edelsohn@gnu.org>
1999 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
2000 as 1 for __powerpc64__ as well.
2002 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
2004 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
2007 2002-01-05 Daniel Berlin <dan@dberlin.org>
2009 * lcm.c: Revert change, due to performance regression it causes on
2010 SPEC because it's slightly more conservative (sigh, I hate
2013 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
2015 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
2017 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
2019 * doc/cppinternals.texi: Update.
2021 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
2023 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
2024 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
2026 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
2027 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
2028 kludge for pre-october-14th mmix versions to handle new-found bug
2029 with PUSHJ/PUSHGO and the register stack.
2030 * config/mmix/mmix.h (struct machine_function): Rename member
2031 has_call_value_without_parameters to has_call_without_parameters.
2032 All referers changed.
2033 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
2034 TARGET_MASK_BRANCH_PREDICT): New macros.
2035 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
2036 -mno-reg-stack-fill-bug-workaround.
2037 * config/mmix/mmix.md ("call"): Set struct machine member
2038 has_call_without_parameters.
2040 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
2042 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
2044 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
2046 * cfgcleanup.c: Include tm_p.h
2047 (mark_effect): Fix handling of hard register; fix handling of SET
2049 2002-01-04 Kazu Hirata <kazu@hxi.com>
2051 * config/h8300/h8300.md (anonymous patterns): Check that
2052 operands are registers before using REGNO on them.
2054 2002-01-03 Roland McGrath <roland@frob.com>
2056 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
2058 2002-01-04 Jakub Jelinek <jakub@redhat.com>
2060 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
2061 * c-common.h (genrtl_expr_stmt_value): Likewise.
2062 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
2063 (expand_expr_stmt_value): Add maybe_last argument.
2064 Don't warn about statement with no effect if it is the last statement
2065 in expression statement.
2066 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
2067 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
2068 expand_expr_stmt_value.
2069 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
2070 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
2071 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
2072 as maybe_last to expand_expr_stmt_value.
2074 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
2076 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
2077 be passed in, do not build it.
2078 (c_begin_if_stmt): New function.
2079 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2080 * c-common.h (c_expand_start_cond): Update prototype.
2081 (c_begin_if_stmt): Prototype new function.
2082 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2083 * c-parse.in (if_prefix): Use c_begin_if_stmt,
2084 c_begin_while_stmt and c_finish_while_stmt_cond.
2086 2002-01-04 William Cohen <wcohen@redhat.com>
2088 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
2089 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2090 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2091 * config/pa/som.h (ASM_FILE_START): Likewise.
2093 2001-01-04 Daniel Berlin <dan@cgsoftware.com>
2095 * lcm.c: Include df.h.
2096 Add available_transfer_function prototype.
2097 (compute_available): Rework to use iterative dataflow framework.
2098 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
2099 with bb_info in df.h
2100 (available_transfer_function): New function.
2102 * Makefile.in (lcm.o): add df.h to dependencies.
2104 2002-01-04 Richard Henderson <rth@redhat.com>
2106 * config/alpha/alpha.c (some_operand): Accept HIGH.
2107 (input_operand): Likewise; accept simple references to globals.
2108 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
2109 (alpha_const_double_ok_for_letter_p): Likewise.
2110 (alpha_extra_constraint): Likewise.
2111 (alpha_preferred_reload_class): Likewise. Do not force
2112 symbolic constants to memory.
2113 (alpha_legitimate_address_p): Accept simple references
2114 to small_symbolic_operand.
2115 (alpha_legitimize_address): New arg scratch. Be prepared to be
2116 called when no_new_pseudos. Emit simple symbolic references.
2117 Split integers into low, high, and rest.
2118 (alpha_expand_mov): Use alpha_legitimize_address.
2119 (some_small_symbolic_mem_operand): New.
2120 (split_small_symbolic_mem_operand): New.
2121 * config/alpha/alpha-protos.h: Update.
2122 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
2123 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
2124 (EXTRA_CONSTRAINT): Likewise.
2125 (PREFERRED_RELOAD_CLASS): Likewise.
2126 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
2127 (PREDICATE_CODES): Update.
2128 * config/alpha/alpha.md: New post-reload splitters to convert
2129 simplfied symbolic operands to the form that references $29.
2130 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
2131 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
2133 2002-01-03 Richard Henderson <rth@redhat.com>
2135 * local-alloc.c (function_invariant_p): Update commentary.
2137 2002-01-04 H.J. Lu <hjl@gnu.org>
2139 * toplev.c (rest_of_compilation): Fix a typo when calling
2142 2002-01-03 Kazu Hirata <kazu@hxi.com>
2144 * c-common.c: Fix formatting.
2145 * diagnostic.c: Likewise.
2146 * doloop.c: Likewise.
2147 * dwarf2out.c: Likewise.
2149 2002-01-03 Kazu Hirata <kazu@hxi.com>
2151 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
2152 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
2154 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2156 * cpperror.c: Update comments and copyright.
2157 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
2158 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
2160 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
2162 * collect2.c (main): Use strcmp when testing for "-shared".
2164 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2166 * cppmacro.c: Don't include intl.h. Update comments.
2167 (new_number_token): Allocate enough buffer for 64-bit unsigned
2168 integers; update prototype.
2169 * cppmain.c: Update comments.
2171 2002-01-03 William Cohen <wcohen@redhat.com>
2173 * function.h (struct function): Add profile.
2174 (current_function_profile): New.
2175 doc/extend.texi: Update documentation.
2176 * final.c (final_start_function): Use current_function_profile
2177 instead of profile_flag.
2178 (profile_after_prologue): Likewise.
2179 * function.c (expand_function_start): Likewise.
2180 (expand_function_start): Likewise.
2181 * config/alpha/alpha.c (direct_call_operand):
2182 (alpha_does_function_need_gp): Likewise.
2183 (alpha_expand_prologue): Likewise.
2184 * config/arm/arm.c (arm_expand_prologue): Likewise.
2185 thumb_expand_prologue: Likewise.
2186 * config/d30v/d30v.c (d30v_stack_info): Likewise.
2187 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
2188 (fr30_expand_prologue): Likewise.
2189 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
2190 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
2191 * config/i386/i386.h (FINALIZE_PIC): Likewise.
2192 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
2193 * config/i960/i960.c (i960_output_function_prologue): Likewise.
2194 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
2195 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
2196 (m32r_expand_prologue): Likewise.
2197 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
2198 (m88k_expand_prologue): Likewise.
2199 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
2200 * config/mips/mips.c (compute_frame_size): Likewise.
2201 (mips_expand_prologue): Likewise.
2202 (mips_can_use_return_insn): Likewise.
2203 * config/pa/elf.h (ASM_FILE_START): Likewise.
2204 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2205 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2206 * config/pa/som.h (ASM_FILE_START): Likewise.
2207 * config/romp/romp.c (romp_using_r14): Likewise.
2208 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
2209 (rs6000_stack_info): Likewise.
2210 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2211 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
2212 * config/v850/v850.c (compute_register_save_size): Likewise.
2214 2002-01-03 Jakub Jelinek <jakub@redhat.com>
2216 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
2217 gen_lowpart_common fails, use gen_lowpart_SUBREG.
2219 2002-01-03 Turly O'Connor <turly@apple.com>
2221 * darwin.c (machopic_output_possible_stub_label): Don't generate
2222 stub routines for pseudo-stubs which we've just defined.
2224 2002-01-03 Kazu Hirata <kazu@hxi.com>
2226 * builtins.c: Fix formatting.
2227 * c-typeck.c: Likewise.
2228 * combine.c: Likewise.
2232 2002-01-03 Andreas Schwab <schwab@suse.de>
2234 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
2235 and return true if _cpp_push_next_buffer pushed a new include
2237 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
2238 _cpp_pop_file_buffer did not push a new file.
2239 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
2241 2002-01-02 Eric Christopher <echristo@redhat.com>
2243 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
2244 FIND_REG_INC_NOTE call. Update copyright.
2245 * loop.c (canonicalize_condition): Ditto.
2246 * reorg.c (delete_scheduled_jump): Ditto.
2248 2002-01-03 Kazu Hirata <kazu@hxi.com>
2250 * gcse.c: Fix formatting.
2252 2002-01-03 Graham Stott <grahams@redhat.com>
2254 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
2255 forward defs for struct tags rtx_def, union_tree, rtvec_def
2256 also output corresponding typedefs for rtx, tree, and rtvec.
2258 * system.h: Move forward defs for struct tags rtx_def, union_tree,
2259 rtvec_def along with corresponding typedefs for rtx, tree, and
2260 rtvec to config.h, hconfig.h, tconfig.h.
2262 2002-01-03 Graham Stott <grahams@redhat.com>
2264 * tree.h: Update copyright date.
2265 (IS_EXPR_CODE_CLASS): Add parenthesis.
2266 (TREE_SET_CODE): Add whitespace.
2267 (TREE_CHECK): Add parenthesis.
2268 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
2269 (CST_OR_CONSTRUCTOR_CHECK):
2270 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
2271 (TREE_SYMBOL_REFERENCED): Whitespace.
2272 (INT_CST_LT): Likewise.
2273 (INT_CST_LT_UNSIGNED): Likewise.
2274 (tree_real_cst): Unwrap comment.
2275 (tree_string): Likewise.
2276 (tree_complex): Likewise.
2277 (IDENTIFIER_POINTER): correct cast.
2278 (SAVE_EXPR_CONTEXT): Whitespace.
2279 (EXPR_WFL_FILENAME_NODE): Likewise.
2280 (EXPR_WFL_FILENAME): Remove parenthesis.
2281 (DECL_ORIGIN): Add parenthesis.
2282 (DECL_FROM_INLINE): Use NULL_TREE.
2283 (build_int_2): Whitespace.
2284 (build_type_variant): Add parenthesis.
2286 * gcc/jcf-parse.c: Update copyright date.
2287 (yyparse): Constify resource_filename.
2289 2002-01-03 Graham Stott <grahams@redhat.com>
2291 * rtl.h: Update copyright date.
2292 (RTL_CHECK1): Wrap long line.
2293 (RTL_CHECK2): Likewise.
2294 (RTL_CHECKC1): Wrap long line and whitespace.
2295 (RTL_CHECKC2): Likewise.
2296 (XWINT): Whitespace.
2302 (XBITMAP): Likewise.
2313 (X0BITMAP): Likewise.
2315 (X0BBDEF): Likewise.
2316 (X0ADVFLAGS): Likewise.
2317 (X0CSELIB): Likewise.
2318 (X0MEMATTR): Likewise.
2326 (XCBITMAP): Likewise.
2328 (XCBBDEF): Likewise.
2329 (XCADVFLAGS): Likewise.
2330 (XCCSELIB): Likewise.
2332 (INSN_UID): Likewise.
2333 (PREV_INSN): Likewise.
2334 (PATTERN): Likewise.
2335 (INSN_CODE): Likewise.
2336 (PUT_REG_NOTE_KIND): Likewise.
2337 (CODE_LABEL_NUMBER): Likewise.
2338 (NOTE_SOURCE_FILE): Likewise.
2339 (NOTE_BLOCK): Likewise.
2340 (NOTE_EH_HANDLER): Likewise.
2341 (NOTE_RANGE_INFO): Likewise.
2342 (NOTE_LIVE_INFO): Likewise.
2343 (NOTE_BASIC_BLOCK): Likewise.
2344 (NOTE_EXPECTED_VALUE): Likewise.
2345 (NOTE_LINE_NUMBER): Likewise.
2346 (LABEL_NAME): Likewise.
2347 (LABEL_NUSES): Likewise.
2348 (LABEL_ALTERNATE_NAME): Likewise.
2349 (ADDRESSOF_DECL): Likewise.
2350 (JUMP_LABEL): Likewise.
2351 (LABEL_NEXTREF): Likewise.
2353 (ORIGINAL_REGNO: Likewise.
2354 (HARD_REGISTER_NUM_P): Add parenthesis.
2355 (SUBREG_REG): Whitespace.
2356 (SUBREG_BYTE): Likewise.
2357 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
2358 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
2359 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
2360 (ASM_OPERANDS_INPUT_VEC): Likewise.
2361 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
2362 (ASM_OPERANDS_INPUT): Likewise.
2363 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
2364 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
2365 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
2366 (ASM_OPERANDS_INPUT_MODE): Likewise.
2367 (ASM_OPERANDS_SOURCE_FILE): Likewise.
2368 (ASM_OPERANDS_SOURCE_LINE): Likewise.
2369 (MEM_SET_IN_STRUCT_P): Minor reformat.
2370 (TRAP_CONDITION): Whitespace.
2371 (TRAP_CODE): Likewise.
2372 (COND_EXEC_TEST): Likewise.
2373 (COND_EXEC_CODE): Likewise.
2374 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
2375 (PHI_NODE_P): Add parenthesis.
2376 (plus_constant): Whitespace and add parenthesis.
2378 2002-01-03 Kazu Hirata <kazu@hxi.com>
2380 * config/avr/avr.c: Fix comment typos.
2381 * config/c4x/c4x.md: Likewise.
2382 * config/dsp16xx/dsp16xx.h: Likewise.
2383 * config/dsp16xx/dsp16xx.md: Likewise.
2384 * config/i386/i386.md: Likewise.
2385 * config/ia64/ia64.c: Likewise.
2386 * config/m32r/m32r.h: Likewise.
2387 * config/m68hc11/m68hc11.md: Likewise.
2388 * config/mmix/mmix.c: Likewise.
2389 * config/mn10200/mn10200.c: Likewise.
2390 * config/romp/romp.c: Likewise.
2391 * config/sh/sh.c: Likewise.
2392 * config/stormy16/stormy16.c: Likewise.
2393 * config/stormy16/stormy16.h: Likewise.
2394 * config/stormy16/stormy16.md: Likewise.
2396 2002-01-03 Graham Stott <grahams@redhat.com>
2398 * loop.h: Update copyright date.
2399 (LOOP_MOVABLES): Fix typo.
2400 (LOOP_REGS): Likewise.
2401 (LOOP_IVS): Likewise.
2403 2002-01-03 Graham Stott <grahams@redhat.com>
2405 * cppinit.c: Update copyright date.
2406 Don't include output.h
2407 * Makefile.in: Update copyright date.
2410 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
2413 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
2414 (-pthread) Add to RS/6000 options.
2416 2002-01-02 Kazu Hirata <kazu@hxi.com>
2418 * except.c: Fix comment typos.
2420 * varasm.c: Likewise.
2421 * doc/tm.texi: Fix a typo.
2423 2002-01-02 Jakub Jelinek <jakub@redhat.com>
2425 * c-typeck.c (output_init_element): Allow initializing static storage
2426 duration objects with compound literals.
2428 2002-01-02 Richard Henderson <rth@redhat.com>
2430 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
2433 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2435 * gcc.c (default_compilers): Const-ify.
2436 * mips-tdump.c (stab_names): Likewise.
2437 * mips-tfile.c (map_coff_types, map_coff_storage,
2438 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
2439 pseudo_ops_t, pseudo_ops): Likewise.
2440 * protoize.c (default_include): Likewise
2442 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
2443 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
2444 Add array size in declaration.
2445 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
2446 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
2447 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
2448 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
2449 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
2450 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
2451 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
2452 emtens, make_nan): Const-ify.
2453 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
2454 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
2456 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
2458 * config.gcc (ia64-*-*): Set extra_headers.
2459 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
2460 * config/alpha/t-osf: Remove.
2461 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
2463 2002-01-02 David Edelsohn <edelsohn@gnu.org>
2465 * config/rs6000/t-aix43: Revert previous change.
2467 2002-01-02 Jason Merrill <jason@redhat.com>
2469 * c-decl.c (c_expand_body): Call outlining_inline_function when
2470 emitting an inline function out of line.
2472 2002-01-02 Richard Henderson <rth@redhat.com>
2474 * dwarf2out.c (limbo_die_node): Add created_for member.
2475 (new_die): New argument created_for. Update all callers.
2476 (mark_limbo_die_list): New.
2477 (dwarf2out_init): Register limbo_die_list as a root.
2478 (dwarf2out_finish): Force insert limbo dies into their function
2481 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
2484 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
2486 2002-01-02 Kazu Hirata <kazu@hxi.com>
2488 * config/h8300/fixunssfsi.c: Update copyright.
2491 * config/h8300/h8300.c: Update copyright.
2494 2002-01-02 Kazu Hirata <kazu@hxi.com>
2496 * config/romp/romp.c: Fix comment formatting.
2497 * config/romp/romp.h: Likewise.
2498 * config/romp/romp.md: Likewise.
2499 * config/s390/s390.c: Likewise.
2500 * config/stormy16/stormy16.c: Likewise.
2501 * config/stormy16/stormy16.h: Likewise.
2503 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
2505 * c-common.h (genrtl_expr_stmt_value): Declare.
2506 * c-semantics.c (genrtl_goto_stmt): Redirect to...
2507 (genrtl_goto_stmt_value): ... this new function. Pass new
2508 argument down to expand_expr_stmt_value, taking
2509 TREE_ADDRESSABLE into account.
2510 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
2511 STMT_EXPR as addressable, i.e., one whose result we want.
2512 * expr.c (expand_expr): Don't save expression statement value
2513 of labeled_blocks or loop_exprs.
2514 * stmt.c (expand_expr_stmt): Redirect to...
2515 (expand_expr_stmt_value): ... this new function. Use new
2516 argument to tell whether to save expression value.
2517 (expand_end_stmt_expr): Reset last_expr_type and
2518 last_expr_value if we don't have either.
2519 * tree-inline.c (declare_return_variable): Mark its use
2520 statement as addressable.
2521 * tree.h: Document new use of TREE_ADDRESSABLE.
2522 (expand_expr_stmt_value): Declare.
2524 2002-01-01 Tom Rix <trix@redhat.com>
2526 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
2527 rs6000_emit_allocate_stack.
2529 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
2531 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
2532 ${srcdir}/ginclude/ to every entry in extra_headers.
2533 * configure: Regenerate.
2534 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
2535 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
2536 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
2537 * ginclude/proto.h: Rename to config/convex/proto.h.
2539 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2541 * attribs.c (handle_vector_size_attribute): Use host_integerp
2542 and tree_int_cst; remove warnings.
2543 * caller-save.c (insert_restore): Add cast to get rid of warning.
2544 (insert_save): Likewise.
2545 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
2546 * regmove.c (find_matches): Add temporary var to kill a warning.
2548 2002-01-01 Douglas B Rupp <rupp@gnat.com>
2550 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
2551 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
2552 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
2553 (vms-dwarf2eh.o): Add Makefile rule.
2554 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
2555 * config/alpha/vms-dwarf2eh.asm: New file.
2557 * gcc.c (delete_if_ordinary): Delete all versions.
2559 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
2561 * config/mmix/mmix.md: Update FIXME to not mention
2563 (MMIX_rJ_REGNUM): New define_constants constant.
2564 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
2565 "*movdicc_real"): Adjust contraints formatting.
2566 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
2567 for branch prediction.
2568 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
2570 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
2571 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
2572 number. Delete related FIXMEs.
2573 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
2574 from number to MMIX_rJ_REGNUM.
2575 (TARGET_MASK_BRANCH_PREDICT): New.
2576 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
2577 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
2578 value. Add -mbranch-predict and -mno-branch-predict.
2579 (TARGET_VERSION): Drop date.
2580 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
2581 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
2582 for finding out global symbols.
2583 (mmix_asm_output_labelref): Revert condition for global symbol.
2584 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
2585 (mmix_print_operand_punct_valid_p): A '+' is valid.
2587 See ChangeLog.6 for earlier changes.