1 2002-01-26 Kazu Hirata <kazu@hxi.com>
3 * config/h8300/h8300.md: Remove bit test patterns that cannot
5 Restrict each bit test pattern to a variant on which the
8 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10 * builtins.c (expand_builtin_strncat): Remove redundant check for
13 2002-01-25 David O'Brien <obrien@FreeBSD.org>
15 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
17 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
20 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
22 * dbxout.c (dbxout_init): Use assemble_name rather than just
23 stripping off the first character.
24 (dbxout_source_file): Likewise.
26 2002-01-25 DJ Delorie <dj@redhat.com>
28 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
29 using rtx_equal_p, not by comparing pointers.
31 2002-01-25 Steve Ellcey <sje@cup.hp.com>
33 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
34 for PIC_OFFSET_TABLE_REGNUM.
35 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
37 2002-01-25 David O'Brien <obrien@FreeBSD.org>
39 * config.gcc (x86_64-*-freebsd*): New target.
40 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
42 (i[34567]86-*-freebsd*): Don't include svr4.h.
43 * config/i386/freebsd64.h: New file.
45 2002-01-25 Douglas B Rupp <rupp@gnat.com>
47 * config/alpha/x-vms (version): Make static.
49 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
52 * Makefile.in (install-headers-cp): New target.
53 * config.gcc (alpha-dec-*vms*): Install headers with
56 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
58 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
61 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
63 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
65 (expand_builtin_strncat): Likewise.
66 * c-decl.c (finish_struct): Use tree_low_cst.
67 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
68 * tree.c (compare_tree_int): Likewise.
70 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
72 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
73 adjustments even if they are implemented by more than two insns.
75 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
77 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
78 * df.h (struct ref): Kill B.
79 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
81 * basic-block.h (PROP_EQUAL_NOTES): New flag.
82 * flow.c (propagate_one_insn): Use it.
83 (mark_used_regs): Handle NIL.
85 2001-01-25 Geoffrey Keating <geoffk@redhat.com>
87 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
90 2002-01-25 David Edelsohn <edelsohn@gnu.org>
92 * rs6000.md (prefetch): Make address V4SI mode so that the address
93 is restricted to legitimate form for instruction.
95 2002-01-25 Bob Wilson <bob.wilson@acm.org>
97 * doc/install.texi (xtensa-*-elf): New target.
98 (xtensa-*-linux*): New target.
99 * doc/contrib.texi: Add myself.
101 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
103 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
104 purpose register to hold an SImode (or smaller) value.
106 2002-01-25 Jakub Jelinek <jakub@redhat.com>
108 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
110 * crtstuff.c: Likewise.
112 2002-01-25 Kazu Hirata <kazu@hxi.com>
114 * config/h8300/h8300.md (negation patterns): Tighten
115 predicates to register_operand.
117 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
119 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
122 * builtins.c (expand_builtin_prefetch): Same.
124 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
126 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
129 2002-01-24 Kazu Hirata <kazu@hxi.com>
131 * config/h8300/h8300.c (print_operand): Remove support for
132 operand character 'A'.
133 * config/h8300/h8300.md (three anonymous patterns): Replace
134 operand character 'A' with either 'T' or 'S'.
136 2002-01-24 Kazu Hirata <kazu@hxi.com>
138 * config/h8300/h8300.c (print_operand): Remove support for
139 operand character 'U'.
141 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
143 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
145 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
147 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
148 values to be assigned to the stack pointer.
150 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
152 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
153 to const_double needs to be done right for big-endian systems.
155 2002-01-24 Jason Merrill <jason@redhat.com>
157 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
158 to can_throw_internal.
160 2002-01-23 Richard Henderson <rth@redhat.com>
162 * fold-const.c (fold): Change UINT_MAX test to check vs precision
163 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
165 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
167 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
168 (symGOT2reg): Use them, then set as GOT value as unchanging.
169 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
170 as a temporary, if possible.
171 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
172 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
174 2002-01-23 Kazu Hirata <kazu@hxi.com>
176 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
177 accept to accept 0x80 as operands[2].
179 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
181 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
183 2002-01-23 Richard Henderson <rth@redhat.com>
185 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
187 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
189 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
190 (parmlist_or_identifiers_1): Verify that only a parmlist follows
193 2002-01-23 Richard Henderson <rth@redhat.com>
195 * expr.c (move_by_pieces_1): Extend size before negation.
197 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
198 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
199 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
200 * config/m68k/t-m68kelf: Likewise.
202 2002-01-23 Bob Wilson <bob.wilson@acm.org>
204 * config/xtensa/elf.h: New file.
205 * config/xtensa/lib1funcs.asm: New file.
206 * config/xtensa/lib2funcs.S: New file.
207 * config/xtensa/linux.h: New file.
208 * config/xtensa/t-xtensa: New file.
209 * config/xtensa/xtensa-config.h: New file.
210 * config/xtensa/xtensa-protos.h: New file.
211 * config/xtensa/xtensa.c: New file.
212 * config/xtensa/xtensa.h: New file.
213 * config/xtensa/xtensa.md: New file.
214 * config.gcc (xtensa-*-elf*): New target.
215 (xtensa-*-linux*): New target.
216 * cse.c (canon_hash): Compare rtx pointers instead of register
217 numbers. This is required for the Xtensa port.
218 * integrate.c (copy_insn_list): Handle case where the static
219 chain is in memory and the memory address has to be copied to
221 * doc/invoke.texi (Option Summary): Add Xtensa options.
222 (Xtensa Options): New node.
223 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
225 2002-01-23 Zack Weinberg <zack@codesourcery.com>
227 * diagnostic.c (internal_error): Do ICE suppression only
228 when ENABLE_CHECKING is not defined.
230 * c-typeck.c (require_complete_type): Return error_mark_node
231 if type is error_mark_node.
233 2002-01-23 Janis Johnson <janis187@us.ibm.com>
235 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
236 -Os and issue a warning.
238 2002-01-23 Zack Weinberg <zack@codesourcery.com>
240 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
241 current (lack of) need for host configuration by hand.
243 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
244 references. Documentation of some target macros moved from
245 hostconfig.texi to tm.texi.
247 2002-01-23 Will Cohen <wcohen@redhat.com>
249 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
252 2002-01-23 Kazu Hirata <kazu@hxi.com>
254 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
257 2002-01-23 Jason Merrill <jason@redhat.com>
259 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
261 * function.c (assign_parms): Don't put args of inline functions
262 into registers when not optimizing.
264 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
266 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
267 (prologue_use): New pattern.
268 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
269 preference to gen_rtx_USE.
270 (thumb_expand_prologue): Use gen_prologue_use in preference to
272 (thumb_expand_epilogue): Use gen_prologue_use in preference to
275 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
277 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
279 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
282 * doc/extend.texi: Correct documentation of __alignof__.
284 2002-01-22 Zack Weinberg <zack@codesourcery.com>
286 * params.h: Rename arguments of DEFPARAM so that it will be
287 recognized as a translation keyword.
289 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
291 * extend.texi: Document altivec functions.
292 Fix N-bit adjectives in X86 builtin documentation.
294 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
296 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
299 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
301 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
303 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
305 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
307 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
309 2002-01-22 Richard Henderson <rth@redhat.com>
311 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
312 copy_insn not copy_rtx.
314 2002-01-23 Alan Modra <amodra@bigpond.net.au>
316 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
317 "nonzero" as that might add "1" bits. Ensure "constop" is
318 properly sign extened.
319 (force_to_mode): Tweak for sign extended constop.
321 2002-01-22 Richard Henderson <rth@redhat.com>
323 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
324 for_each_rtx instead of assuming we're already looking at the MEM.
325 (split_small_symbolic_mem_operand): Likewise.
326 * config/alpha/alpha.h (PREDICATE_CODES): Update.
327 * config/alpha/alpha.md (small symbolic memory splitters): Update.
329 2002-01-22 Richard Henderson <rth@redhat.com>
331 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
332 sequence number for the literal.
333 (divmoddi_internal_er): Likewise.
335 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
338 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
339 in LIBICONV variable.
340 * configure: Regenerated.
342 2002-01-22 Krister Walfridsson <cato@df.lth.se>
344 * dependence.c (build_def_use): Remove array_idx.
346 * dwarfout.c (last_filename): Remove.
347 (output_compile_unit_die): Remove last_filename.
349 2002-01-22 Roger Sayle <roger@eyesopen.com>
350 Richard Henderson <rth@redhat.com>
353 * fold-const.c (fold): Optimize unsigned comparisons against
354 UINT_MAX (and similar unsigned constants).
356 2002-01-22 Janis Johnson <janis187@us.ibm.com>
358 * Makefile.in (loop.o): Depend on OPTABS_H.
359 * loop.c (emit_prefetch_instructions): Check the prefetch operand
360 against the predicate.
363 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
364 for the address operand.
366 2002-01-22 Richard Henderson <rth@redhat.com>
368 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
370 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
373 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
376 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
378 * config.gcc (x86_64-*-netbsd*): New target.
379 * config/i386/netbsd64.h: New file.
381 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
383 * regrename.c (kill_value): Fix typo.
385 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
387 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
389 * config/rs6000/rs6000.h: Same.
391 * function.c (instantiate_virtual_regs): Remove
392 STARTING_FRAME_PHASE.
393 (assign_stack_local_1): Same.
394 Calculate frame phase.
396 2002-01-22 Nick Clifton <nickc@redhat.com>
398 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
399 variable declaration to outer scope in order to simplify
401 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
402 arm_hard_regno_mode_ok.
403 * config/arm/arm-protos.h: Add a prototype for
404 arm_hard_regno_mode_ok.
405 * config/arm/arm.c (soft_df_operand): Remove now redundant
406 check for DImode values using IP_REGNUM.
407 (nonimmediate_soft_df_operand): Remove now redundant check for
408 DImode values using IP_REGNUM.
409 (arm_hard_regno_mode_ok): New function. New check: make sure
410 that DImode values are not stored in IP_REGNUM.
412 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
414 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
416 2002-01-22 Jason Merrill <jason@redhat.com>
418 * c-semantics.c (genrtl_compound_stmt): Only check nesting
419 consistency if this COMPOUND_STMT is scoped.
421 2002-01-22 Kazu Hirata <kazu@hxi.com>
423 * predict.c: Fix formatting.
424 * print-tree.c: Likewise.
425 * protoize.c: Likewise.
428 * sbitmap.h: Likewise.
430 * sched-deps.c: Likewise.
431 * sched-vis.c: Likewise.
432 * sdbout.c: Likewise.
433 * sibcall.c: Likewise.
435 * ssa-ccp.c: Likewise.
436 * ssa-dce.c: Likewise.
438 * stor-layout.c: Likewise.
439 * system.h: Likewise.
441 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
443 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
444 if fits in bounds of base type.
446 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
447 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
448 (add_bound_info, default): If can't find a context, make a
450 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
452 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
454 * c-typeck.c (parser_build_binary_op): If result from
455 build_binary_op is ERROR_MARK just return error_mark_node without
458 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
460 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
461 Split a.out-specific bits into...
462 * config/netbsd-aout.h: ...this.
463 * config/netbsd-elf.h: New file.
464 * config/alpha/netbsd-elf.h: Remove.
465 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
466 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
467 (STARTFILE_SPEC): Remove redundant definition.
468 (ENDFILE_SPEC): Likewise.
469 (LINK_SPEC): Likewise.
470 (CPP_SPEC): Likewise.
471 (ASM_SPEC): Likewise.
472 (LIB_SPEC): Likewise.
473 (SWITCH_TAKES_ARG): Likewise.
474 (TARGET_MEM_FUNCTIONS): Likewise.
475 (CPP_PREDEFINES): Redefine.
476 (ASM_FINAL_SPEC): Remove redefinition.
477 (ASM_COMMENT_START): Redefine.
478 (FUNCTION_PROFILER): Define.
479 (TARGET_VERSION): Redefine.
480 Comment and formatting cleanup.
481 * config/i386/netbsd.h: Include <netbsd-aout.h>.
482 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
483 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
484 big- or little-endian.
485 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
486 * config.gcc (*-*-netbsd*): Add definitions common to all
488 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
489 gnu_ld definitions. Add netbsd-elf.h to and remove
490 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
491 tmake_file, and don't lose previous tmake_file contents.
492 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
493 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
494 gnu_ld definitions. Add netbsd-elf.h to tm_file.
495 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
496 (mipsel-*-netbsd*): Rename this to...
497 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
498 mips/little.h to tm_file for mips*el-*.
499 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
500 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
501 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
503 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
505 * pa-protos.h (reg_before_reload_operand): New function prototype.
506 * pa.c (reg_before_reload_operand): New function implementation.
507 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
510 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
512 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
514 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
516 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
517 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
518 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
519 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
520 (ENDFILE_SPEC): Undefine.
521 (STARTFILE_SPEC): Redefine for PA.
523 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
525 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
527 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
529 * config.gcc: Add entries to supported PowerPC --with-cpu
532 2002-01-21 Jakub Jelinek <jakub@redhat.com>
534 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
535 true for 64-bit mode only SSE registers in 32-bit mode.
537 2002-01-21 Kazu Hirata <kazu@hxi.com>
539 * unwind-dw2.c: Fix formatting.
540 * unwind-dw2-fde.c: Likewise.
541 * unwind-dw2-fde.h: Likewise.
542 * unwind-pe.h: Likewise.
543 * varasm.c: Likewise.
544 * varray.h: Likewise.
546 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
548 Remove workaround for register stack overwrite bug in mmix.
549 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
550 support for TARGET_REG_STACK_FILL_BUG.
551 * config/mmix/mmix.h: Remove member has_call_without_parameters.
552 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
554 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
555 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
556 -mno-reg-stack-fill-bug-workaround.
557 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
558 machine member has_call_without_parameters.
559 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
560 -mreg-stack-fill-bug-workaround and
561 -mno-reg-stack-fill-bug-workaround.
562 (MMIX Options): Ditto.
564 2002-01-21 Kazu Hirata <kazu@hxi.com>
566 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
568 Remove redundant code.
570 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
572 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
573 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
574 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
575 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
576 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
577 out target macro definitions and non-target-specific comments
578 mostly taken from old versions of the manual.
580 2002-01-20 Kazu Hirata <kazu@hxi.com>
582 * config/h8300/h8300.h: Fix comment formatting.
583 * config/ia64/aix.h: Likewise.
584 * config/ia64/ia64-protos.h: Likewise.
585 * config/ia64/ia64.c: Likewise.
586 * config/ia64/ia64.h: Likewise.
587 * config/ia64/ia64intrin.h: Likewise.
588 * config/ia64/linux.h: Likewise.
589 * config/ia64/unwind-aix.c: Likewise.
590 * config/ia64/unwind-ia64.c: Likewise.
592 2002-01-20 Kazu Hirata <kazu@hxi.com>
594 * config/h8300/h8300.c: Revise comments about shift code.
596 2002-01-20 Kazu Hirata <kazu@hxi.com>
598 * config/h8300/h8300.c (function_arg): Update a comment.
600 2002-01-20 Kazu Hirata <kazu@hxi.com>
602 * config/h8300/h8300.md: Update the comments at the beginning
605 2002-01-20 Kazu Hirata <kazu@hxi.com>
607 * config/i370/i370.c: Fix comment formatting.
608 * config/i370/i370.h: Likewise.
609 * config/i370/i370.md: Likewise.
610 * config/i370/linux.h: Likewise.
612 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
614 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
616 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
617 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
620 2002-01-20 Graham Stott <grahams@redhat.com>
622 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
624 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
626 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
628 2002-01-19 Tom Rix <trix@redhat.com>
630 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
632 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
634 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
636 * function.c (assign_stack_local_1): Adjust x_frame_offset with
637 STARTING_FRAME_PHASE.
638 (STARTING_FRAME_PHASE): New.
639 (instantiate_virtual_regs): Check saneness of
640 STARTING_FRAME_PHASE.
642 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
644 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
646 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
648 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
650 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
651 be used for bootstrapping GCC 3.0.
653 2002-01-18 Kazu Hirata <kazu@hxi.com>
655 * config/h8300/h8300.md: Fix an insn length.
657 2002-01-18 Kazu Hirata <kazu@hxi.com>
659 * bitmap.h: Fix comment formatting.
660 * combine.c: Likewise.
661 * cppfiles.c: Likewise.
662 * c-pragma.h: Likewise.
663 * c-typeck.c: Likewise.
665 * dwarf2out.c: Likewise.
666 * function.c: Likewise.
668 * genattrtab.c: Likewise.
669 * gthr-win32.h: Likewise.
670 * haifa-sched.c: Likewise.
671 * predict.c: Likewise.
672 * rtlanal.c: Likewise.
674 * unwind-dw2-fde.h: Likewise.
675 * unwind-pe.h: Likewise.
676 * vmsdbgout.c: Likewise.
678 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
680 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
681 if type_required and passed decl.
683 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
685 * config.gcc (cpu_type): Include altivec.h in powerpc
689 * config/rs6000/altivec.h: New.
691 2002-01-17 David Edelsohn <edelsohn@gnu.org>
693 * doc/install.texi (*-ibm-aix*): Update assembler and exception
694 handling information.
695 * doc/trouble.texi (Interoperation): Add libstdc++ information
697 (Misunderstandings): Add template instantiation and static template
698 member information for AIX.
700 2002-01-17 Jason Merrill <jason@redhat.com>
702 * dbxout.c (dbxout_type): Support const and volatile.
704 * except.c (add_partial_entry): Remove backwards compatibility code.
705 (end_protect_partials): Likewise.
707 2002-01-17 Jakub Jelinek <jakub@redhat.com>
709 * config/ia64/ia64.md (prologue_use): New.
710 * config/ia64/ia64.c (ia64_expand_prologue): Use
711 gen_prologue_use instead of gen_rtx_USE.
712 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
713 as CODE_FOR_pred_rel_mutex.
714 (ia64_sched_reorder2): Likewise.
716 2002-01-16 Eric Christopher <echristo@redhat.com>
718 * config/mips/r3900.h: Reformat.
719 (SUBTARGET_CPP_SIZE_SPEC): Remove.
720 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
721 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
722 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
723 * config/mips/t-elf: Remove mips3 multilib.
725 2002-01-16 H.J. Lu <hjl@gnu.org>
727 * config/mips/linux.h: Include "mips/abi64.h".
729 2002-01-16 H.J. Lu <hjl@gnu.org>
731 * config/mips/t-linux: New.
733 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
735 * config/mips/linux.h: Don't include "gofast.h".
736 (INIT_SUBTARGET_OPTABS): Removed.
738 2002-01-16 Kazu Hirata <kazu@hxi.com>
740 * config/h8300/h8300-protos.h: Replace emit_a_shift with
742 * config/h8300/h8300.c: Likewise.
743 * config/h8300/h8300.md: Likewise.
745 2002-01-16 Kazu Hirata <kazu@hxi.com>
747 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
748 spaces after an opcode name.
749 (pushqi1_h8300hs): Likewise.
750 (pushhi1_h8300hs): Likewise.
752 2002-01-16 Kazu Hirata <kazu@hxi.com>
754 * doc/extend.texi: Replace "option" with "attribute"
757 2002-01-16 Jakub Jelinek <jakub@redhat.com>
759 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
760 (and:DI () (const_int -8)).
761 (split_small_symbolic_mem_operand): Split
762 (mem (and:DI () (const_int -8)).
764 2002-01-16 Jakub Jelinek <jakub@redhat.com>
767 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
768 same way as TYPE_IMUL.
769 (ultrasparc_sched_reorder): Likewise.
770 * config/sparc/sparc.md (type): Add comment to update
771 ultrasparc_sched_reorder when making changes.
773 2002-01-16 Kazu Hirata <kazu@hxi.com>
775 * doc/invoke.texi: Change the dump file name of block
776 reordering pass from 28.bbro to 29.bbro.
779 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
781 * i386.md (minsf splitter): Fix pasto.
783 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
785 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
786 to frame pointer initialisation instruction.
787 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
788 initialisation instruction.
789 (soft_df_operand): Do not accept the IP register.
790 (nonimmediate_soft_df_operand): Do not accept the IP register.
792 2002-01-16 Jakub Jelinek <jakub@redhat.com>
795 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
796 MASK_V8 being both set.
798 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
800 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
801 insn for GOT register; add REG_MAYBE_DEAD notes instead.
802 config/s390/s390.md (call, call_value): Add GOT register to
803 CALL_INSN_FUNCTION_USAGE where needed.
804 (call_exp, call_value_exp): New.
806 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
808 * config/arm/arm.c: General formatting tidy up.
810 2002-01-16 Graham Stott <grahams@redhat.com>
812 * calls.c (try_to_integrate): Use "(size_t)" intermediate
813 cast and when casting an integer literal to "rtx" pointer.
814 (expand_call): Likewise.
815 * flow.c (try_pre_increment): Likewise.
816 (find_use_as_address): Likewise.
817 * integrate.c (expand_iline_function): Likewise.
818 * regmove.c (try_auto_increment): Likewise.
820 2002-01-16 Graham Stott <grahams@redhat.com>
822 * sched-rgn.c (passed): Use sbitmap_free.
825 (in_queue): Likewise.
826 (in_stack): Likewise.
828 2002-01-15 Eric Christopher <echristo@redhat.com>
830 * flow.c (propagate_one_insn): Change to use fatal_insn.
832 2002-01-15 Kazu Hirata <kazu@hxi.com>
834 * expmed.c (extract_fixed_bit_field): Remove unused code.
835 * system.h: Poison SLOW_ZERO_EXTEND.
836 * doc/tm.texi: Remove.
837 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
838 * config/arm/arm.h: Likewise.
839 * config/avr/avr.h: Likewise.
840 * config/clipper/clipper.h: Likewise.
841 * config/convex/convex.h: Likewise.
842 * config/d30v/d30v.h: Likewise.
843 * config/dsp16xx/dsp16xx.h: Likewise.
844 * config/elxsi/elxsi.h: Likewise.
845 * config/fr30/fr30.h: Likewise.
846 * config/h8300/h8300.h: Likewise.
847 * config/i370/i370.h: Likewise.
848 * config/i386/i386.h: Likewise.
849 * config/m68k/m68k.h: Likewise.
850 * config/mips/mips.h: Likewise.
851 * config/ns32k/ns32k.h: Likewise.
852 * config/pdp11/pdp11.h: Likewise.
853 * config/pj/pj.h: Likewise.
854 * config/s390/s390.h: Likewise.
855 * config/sh/sh.h: Likewise.
856 * config/stormy16/stormy16.h: Likewise.
857 * config/v850/v850.h: Likewise.
858 * config/vax/vax.h: Likewise.
859 * config/we32k/we32k.h: Likewise.
861 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
863 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
864 (altivec_lvsl): Change constraint to b.
865 (altivec_lvsr): Same.
866 (altivec_lvebx): Same.
867 (altivec_lvehx): Same.
868 (altivec_lvewx): Same.
869 (altivec_lvxl): Same.
871 (altivec_stvx): Add parallel.
872 (altivec_stvxl): Same.
873 (altivec_stvehx): Same.
874 (altivec_stvebx): Same.
875 (altivec_stvebx): Same.
877 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
879 * config.gcc: Change altivec.h to altivec-defs.h.
881 * config/rs6000/altivec.h: Delete.
883 * config/rs6000/altivec-defs.h: Add.
885 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
887 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
890 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
891 less than or equal to eight bytes.
893 * vax.md (andsi3): Remove constraints and change SET destination
894 operand type to nonimmediate_operand.
895 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
896 when it is a CONST_INT.
898 2002-01-15 Jason Merrill <jason@redhat.com>
900 * c-common.def (FILE_STMT): New code.
901 * c-common.c (statement_code_p): It's a statement.
902 * c-common.h (stmt_tree_s): Add x_last_filename.
903 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
904 (last_expr_filename): New macro.
905 * c-semantics.c (begin_stmt_tree): Initialize it.
906 (add_stmt): If the filename changed, also insert a
908 (expand_stmt): Handle seeing one.
910 2002-01-15 Eric Christopher <echristo@redhat.com>
912 * flow.c (propagate_one_insn): Add error message and print out
915 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
917 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
918 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
919 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
920 TRAMPOLINE_ALIGNMENT.
921 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
923 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
924 PCC_BITFIELD_TYPE_MATTERS.
925 * config/interix.h (STDC_VALUE): Remove. Use
926 STDC_0_IN_SYSTEM_HEADERS.
927 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
928 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
929 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
931 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
933 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
934 not work on this platform currently.
936 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
938 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
939 readonly_warning in _().
941 2002-01-15 Douglas B Rupp <rupp@gnat.com>
943 * gcc.c (delete_if_ordinary): Backout previous change.
945 2002-01-15 Kazu Hirata <kazu@hxi.com>
947 * config/h8300/h8300.c (print_operand): Remove support for
948 unused operand characters.
950 * read-rtl.c: Fix formatting.
953 * regclass.c: Likewise.
954 * regmove.c: Likewise.
955 * reg-stack.c: Likewise.
956 * reload1.c: Likewise.
957 * rtlanal.c: Likewise.
959 2002-01-15 Kazu Hirata <kazu@hxi.com>
961 * config/i386/i386.c: Fix formatting.
963 2002-01-15 Jakub Jelinek <jakub@redhat.com>
965 * c-typeck.c (process_init_element): Don't save_expr
966 COMPOUND_LITERAL_EXPR if just its initializer will be used.
968 2002-01-15 David Edelsohn <edelsohn@gnu.org>
970 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
971 emit optional traceback table if optimize_size or TARGET_ELF.
972 * config/rs6000/rs6000.md (prefetch): New.
974 2002-01-15 Andreas Jaeger <aj@suse.de>
976 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
978 2002-01-15 Kazu Hirata <kazu@hxi.com>
980 * mips-tfile.c: Fix formatting.
982 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
984 * unroll.c (final_reg_note_copy): Fix previous commit.
986 2002-01-14 Kazu Hirata <kazu@hxi.com>
988 * config/h8300/h8300-protos.h: Remove the prototype for
990 * config/h8300/h8300.c (eq_operator): Remove.
992 2002-01-14 Richard Henderson <rth@redhat.com>
994 * config/i386/i386.md (prefetch): Tidy.
995 (prefetch_3dnow): Fix locality operand.
997 2002-01-14 Richard Henderson <rth@redhat.com>
999 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
1000 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
1002 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
1004 * reload1.c (reload_combine): Pass reg_sum replacement through
1005 copy_rtx in loop performing multiple changes.
1007 2002-01-14 Jakub Jelinek <jakub@redhat.com>
1009 * except.c (remove_unreachable_regions): New.
1010 (free_eh_status): Clear exception_handler_labels.
1011 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
1012 (find_exception_handler_labels): Don't add the same label more than
1014 (remove_exception_handler_label): Don't die if
1015 find_exception_handler_labels hasn't been called for the current
1018 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
1020 * toplev.c (rest_of_compilation): Rebuild jump labels after
1023 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
1025 * doc/extend.texi: Move documentation of X86 built-in functions
1027 * doc/invoke.texi: From here.
1028 * doc/sourcebuild.texi: Document location of documentation for
1029 machine built-in functions.
1031 2002-01-13 Christopher Faylor <cgf@redhat.com>
1033 * cppfiles.c (TEST_THRESHOLD): New macro.
1034 (SHOULD_MMAP): Ditto.
1035 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
1038 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
1040 * unroll.c (final_reg_note_copy): Properly handle
1042 (unroll_loops): Fix LOOP_CONDITION heuristics.
1044 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
1046 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
1047 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
1049 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
1051 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
1054 2002-01-14 Tom Rix <trix@redhat.com>
1056 * config/rs6000/rs6000.md: Fix typo with sradi.
1058 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
1060 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
1061 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
1062 (clrstrdi, clrstrsi): Adapt callers.
1064 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
1066 (movti splitter): Never use register 0 as base register.
1068 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
1070 * combine.c (simplify_shift_const): Always generate new rtx
1071 for shift expression instead of reusing given expression.
1073 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1075 * config/alpha/alpha.c (alpha_expand_mov): Don't call
1076 alpha_legitimize_address unless mode is Pmode.
1078 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
1080 * doc/md.texi (Modifiers): Document the '*' constraint for the
1083 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
1084 * doc/extend.texi (Function Attributes): 'interrupt' is valid
1087 2002-01-13 Richard Henderson <rth@redhat.com>
1089 * reload.c (find_reloads): Use a hard reg destination as reload reg
1090 for an input reload of the source.
1092 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1094 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
1097 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
1099 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1100 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1102 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
1104 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1106 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
1108 2002-01-12 Tom Rix <trix@redhat.com>
1110 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
1113 2002-01-12 Richard Henderson <rth@redhat.com>
1115 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
1117 * doc/invoke.texi: Update Alpha options.
1119 * doc/invoke.texi: Update i386 built-in function lists.
1121 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
1123 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
1124 referencing outside.
1126 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1128 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
1129 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
1130 offsets, and change line folding.
1131 * optabs.c (expand_binop): Remove warnings.
1132 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
1134 2002-01-12 Graham Stott <grahams@redhat.com>
1136 * attribs.c (handle_deprecated_attribute): constify WHAT.
1137 * diagnostic.c (warn_deprecated_use): Add braces, fixes
1138 dangling else warning and constify WHAT.
1139 * except.h (struct function, struct inline_remap): Move
1140 struct tag forward defs before all prototypes.
1141 (duplicate_eh_regions): Whitespace.
1143 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
1145 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
1146 MODE_BASE_REG_CLASS.
1147 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
1149 2002-01-12 Richard Henderson <rth@redhat.com>
1151 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
1152 (ix86_expand_vector_move): New.
1153 (bdesc_2arg): Remove andps, andnps, orps, xorps.
1154 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
1155 Remove old prefetch builtins. Special case the logicals removed above.
1156 (ix86_expand_builtin): Likewise.
1157 (safe_vector_operand): Use V4SFmode, not TImode.
1158 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
1159 (ix86_expand_timode_binop_builtin): New.
1160 * config/i386/i386-protos.h: Update.
1161 * config/i386/i386.h (enum ix86_builtins): Update.
1162 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
1163 Use ix86_expand_vector_move in vector move expanders.
1164 (movti_internal, movti_rex64): Add xorps alternative.
1165 (sse_clrv4sf): Rename and adjust from sse_clrti.
1166 (prefetch): Don't work so hard.
1167 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
1168 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
1169 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
1171 2002-01-11 Richard Henderson <rth@redhat.com>
1173 * config/i386/mmintrin.h: New file.
1174 * config/i386/xmmintrin.h: New file.
1175 * config.gcc (i?86-*-*): Add extra_headers.
1176 * simplify-rtx.c (simplify_unary_operation): Handle saturating
1178 (simplify_binary_operation): Handle saturating arithmetic codes.
1179 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
1180 not the lowpart subreg.
1181 (ix86_expand_builtin): Return a TImode dummy register instead of 0
1183 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
1185 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1187 * conflict.c (conflict_graph_compute): Free regsets when finished.
1188 * ssa.c (compute_coalesced_reg_partition): Likewise.
1190 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1192 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
1193 every where we allocate a register.
1195 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1197 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
1198 * lcm.c (compute_earliest, compute_farthest): Likewise.
1200 2002-01-11 Janis Johnson <janis187@us.ibm.com>
1202 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
1204 2002-01-11 Janis Johnson <janis187@us.ibm.com>
1206 * doc/rtl.texi (Insns): Fix 2 typos.
1208 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1210 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
1211 options. Use @table @gcctabopt for MMIX options. Add index
1212 entries for MMIX options. Start new paragraph with first
1213 heading of the machine-dependent options.
1215 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
1218 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
1219 * combine.c (force_to_mode): Same.
1220 * reload1.c (clear_reload_reg_in_use): Same.
1222 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
1224 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
1227 2002-01-11 Andreas Jaeger <aj@suse.de>,
1228 Brad Lucier <lucier@math.purdue.edu>
1230 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
1233 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
1235 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
1236 Protect with IN_LIBGCC.
1237 (LINK_EH_SPEC): Add required trailing space.
1239 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
1241 * c-tree.h: Move function declarations so that they are listed
1242 under the filename which contains them.
1243 (check_identifier, finish_decl_top_level,
1244 lookup_name_current_level_global, shadow_record_fields): Remove.
1246 2002-01-11 Andreas Jaeger <aj@suse.de>
1248 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
1251 2002-01-10 Richard Henderson <rth@redhat.com>
1253 * config/alpha/alpha.c (print_operand): Add 'J'.
1254 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
1255 new operand with the sequence number for the lituse. When splitting
1256 the insns, use gen_movdi_er_high_g and generate a sequence number.
1257 (gen_movdi_er_high_g): Print the sequence number if non-zero.
1259 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
1261 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
1262 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
1264 (altivec_expand_builtin): Same.
1265 (altivec_expand_stv_builtin): New.
1267 * config/rs6000/rs6000.h (rs6000_builtins): Same.
1269 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
1270 ("altivec_lvehx"): New.
1271 ("altivec_lvewx"): New.
1272 ("altivec_lvxl"): New.
1273 ("altivec_lvx"): New.
1274 ("altivec_stvx"): New.
1275 ("altivec_stvebx"): New.
1276 ("altivec_stvehx"): New.
1277 ("altivec_stvewx"): New.
1278 ("altivec_stvxl"): New.
1280 2002-01-10 Richard Henderson <rth@redhat.com>
1282 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
1283 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
1284 care not to delete instructions twice.
1286 2002-01-10 Zack Weinberg <zack@codesourcery.com>
1288 * toplev.c: Don't declare environ (it's not used anywhere).
1289 * configure.in: Don't check for declaration of environ.
1290 * config/i386/xm-mingw32.h: Don't #define environ.
1291 * config.in, configure: Regenerate.
1293 2002-01-10 Zack Weinberg <zack@codesourcery.com>
1295 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
1296 * configure: Regenerate.
1298 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
1299 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
1300 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
1302 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
1303 LIMITS_H_TEST here, not in m68k/x-next.
1304 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
1305 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
1307 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
1308 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
1309 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
1311 * config/i386/x-djgpp: Renamed i386/t-djgpp.
1312 * config/m88k/x-dolph: Renamed m88k/t-dolph.
1313 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
1314 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
1315 replacement of quadlib.asm with quadlib.c.
1317 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
1318 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
1319 config/rs6000/xm-beos.h: Delete file.
1321 * config.gcc: Update to match above changes.
1323 2002-01-10 Kazu Hirata <kazu@hxi.com>
1325 * config/h8300/h8300.h: Fix comment typos.
1326 * config/h8300/h8300.md: Likewise.
1327 * config/h8300/lib1funcs.asm: Likewise.
1329 2002-01-10 Dale Johannesen <dalej@apple.com>
1331 PR optimization/5269
1332 * unroll.c (precondition_loop_p): Make *increment be the correct
1333 sign when n_iterations known, to avoid confusing caller.
1335 2002-01-10 Kazu Hirata <kazu@hxi.com>
1337 * doc/extend.texi (deprecated): Fix a typo.
1339 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
1341 * basic-block.h (update_br_prob_note): Declare.
1342 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
1343 (try_forward_edges): Care negative frequencies and update note.
1344 (outgoing_edges_match): Tweek conditional merging heuristics.
1345 (try_crossjump_to_edge): use update_br_prob_note.
1346 * cfglayout.c (fixup_reorder_chain): Likewise.
1347 * cfrtl.c (update_br_prob_note): New.
1348 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
1350 * i386.c (ix86_decompose_address): Return -1 if address contains
1352 (legitimate_address_p): Require ix86_decompose_address to return 1.
1354 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
1355 (cprop_insn): Likewise.
1357 2002-01-10 Kazu Hirata <kazu@hxi.com>
1359 * toplev.c: Fix formatting.
1361 * tree-dump.c: Likewise.
1362 * unroll.c: Likewise.
1363 * unwind-dw2.c: Likewise.
1364 * unwind-dw2-fde.c: Likewise.
1365 * unwind-dw2-fde-glibc.c: Likewise.
1366 * unwind-sjlj.c: Likewise.
1368 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1370 * doc/invoke.texi: Document PDP-11 options.
1372 2002-01-10 Kazu Hirata <kazu@hxi.com>
1374 * config/h8300/h8300.h: Fix formatting.
1376 2001-01-10 Ira Ruben <ira@apple.com>
1378 Add __attribute__ ((deprecated)).
1379 * extend.texi: Document __attribute__ ((deprecated)).
1380 * invoke.texi: Document -Wno-deprecated-declarations.
1381 * testsuite/g++.dg/other/deprecated.C: New C++ test.
1382 * testsuite/gcc.dg/deprecated.c: New C test.
1383 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
1384 (c_common_attribute_table): Add "deprecated" entry.
1385 (handle_deprecated_attribute): New function.
1386 * c-decl.c (deprecated_states): New enum.
1387 deprecated_state: State of "deprecated" handling.
1388 (start_decl): Set deprecated_state based on attributes.
1389 (grokdeclarator): Test for deprecated uses, propagate attribute.
1390 * c-typeck.c (build_component_ref): Test for deprecated fields.
1391 (build_external_ref): Test for deprecated primaries.
1392 * diagnostic.c (warn_deprecated_use) New function to issue
1393 warnings about __attribute__ ((depricated)) references.
1394 * flags.h (warn_deprecated_decl): Extern declared for
1395 -W[no-]deprecated-declarations option.
1396 * print-tree.c (print_node): Show deprecated flag status.
1397 * toplev.c (warn_deprecated_decl): Defined.
1398 (W_options): Added "deprecated-declaration".
1399 * toplev.h (warn_deprecated_use): Extern declared.
1400 * tree.h (struct tree_common): Define deprecated_flag.
1401 (TREE_DEPRECATED): New macro to access flag.
1402 * cp/call.c (build_call): Test for deprecated calls.
1403 * cp/class.c (add_implicitly_declared_members): Set global
1404 flag to tell grokdeclarator to not issue deprecated warnings.
1405 * cp/cp-tree.h: Add extern for adding_implicit_members.
1406 * cp/decl.c (deprecated_states): New enum.
1407 (start_decl): Set deprecated_state based on attributes.
1408 (grokdeclarator): Test for deprecated uses, propagate attribute.
1409 * cp/lex.c (do_identifier): Test for deprecated primaries.
1410 * cp/typeck.c (build_component_ref): Test for deprecated fields.
1412 2001-01-10 Ira Ruben <ira@apple.com>
1414 Fix to assign attributes to inline member functions.
1415 * cp/decl.c (start_method): Handle attrlist.
1417 2002-01-10 Kazu Hirata <kazu@hxi.com>
1419 * combine.c (expand_field_assignment): Use subreg_lsb().
1421 2002-01-10 David Edelsohn <edelsohn@gnu.org>
1423 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
1424 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
1425 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
1426 Recurse for any operand of AND as long as constant is non-zero.
1428 2002-01-10 Kazu Hirata <kazu@hxi.com>
1430 * config/h8300/h8300.md: Remove constraints from expanders.
1432 2002-01-10 Kazu Hirata <kazu@hxi.com>
1434 * varasm.c: Fix formatting.
1435 * varray.c: Likewise.
1436 * vmsdbgout.c: Likewise.
1437 * xcoffout.c: Likewise.
1439 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
1441 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
1442 update edge probabilities to match.
1444 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1446 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
1448 * doc/languages.texi, doc/sourcebuild.texi: New files.
1449 * doc/configfiles.texi: Make a subsubsection. Update.
1450 * doc/configterms.texi: Add @node. Remove warning that this isn't
1451 instructions for building GCC.
1452 * doc/makefile.texi: Make a subsection.
1453 * doc/gccint.texi: Update.
1455 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
1457 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
1459 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
1461 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
1463 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
1465 * optabs.c (expand_fix): Look for wider integer modes first.
1467 * i386.md (mov?f): Avoid the fake const double trick for medium
1469 (min?f*/max?f*): Prohibit memory operands for i387 variant.
1470 (fop_df_4): Disable for SSE compilation.
1472 2002-01-10 Graham Stott <grahams@redhat.com>
1474 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
1475 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
1477 2002-01-10 Richard Henderson <rth@redhat.com>
1479 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
1481 2002-01-10 Richard Henderson <rth@redhat.com>
1483 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
1484 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
1486 2002-01-10 Kazu Hirata <kazu@hxi.com>
1488 * combine.c (can_combine_p): Fix a comment typo.
1490 2002-01-09 Zack Weinberg <zack@codesourcery.com>
1492 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
1493 empty list correctly. Change loop index $t to $f for
1494 consistency with rest of Makefile.
1496 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
1498 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
1499 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1501 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
1502 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
1503 (altivec_init_builtins): Same.
1504 (altivec_expand_unop_builtin): Return NULL_RTX on error.
1505 (altivec_expand_binop_builtin): Same.
1506 (altivec_expand_ternop_builtin): Same.
1509 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
1510 ("altivec_vctuxs"): Fix typo.
1511 ("altivec_vnmsubfp"): Same.
1512 ("altivec_dssall"): New.
1513 ("altivec_mfvscr"): New.
1514 ("altivec_dss"): New.
1515 ("altivec_lvsl"): New.
1516 ("altivec_lvsr"): New.
1517 ("altivec_dstt"): New.
1518 ("altivec_dstst"): New.
1519 ("altivec_dststt"): New.
1520 ("altivec_dst"): New.
1522 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
1523 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1525 2002-01-09 Richard Henderson <rth@redhat.com>
1527 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
1529 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
1531 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
1533 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
1535 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
1537 2002-01-09 Kazu Hirata <kazu@hxi.com>
1539 * read-rtl.c: Fix formatting.
1541 * regclass.c: Likewise.
1542 * regrename.c: Likewise.
1543 * reg-stack.c: Likewise.
1544 * reload1.c: Likewise.
1545 * reload.c: Likewise.
1548 2002-01-09 Kazu Hirata <kazu@hxi.com>
1550 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
1551 to extract items in the expr_list chain.
1553 2002-01-09 Richard Henderson <rth@redhat.com>
1555 * config/vax/vax.c (vax_rtx_cost): Never abort.
1557 * config/vax/vax.h (REAL_ARITHMETIC): Define.
1559 2002-01-09 Jan Hubicka <jh@suse.cz>
1561 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
1563 2002-01-09 Richard Henderson <rth@redhat.com>
1565 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
1566 Unify code from various alternatives.
1568 2002-01-09 Richard Henderson <rth@redhat.com>
1570 * regrename.c (copy_value): Ignore the copy if the source register
1571 is present in the value chain with a narrower mode.
1573 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1575 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
1576 for the c4x target. Also improve layout.
1578 2002-01-09 Richard Henderson <rth@redhat.com>
1580 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
1581 * config/m32r/m32r.md (and ior xor splitters): Swap operands
1582 to match insn patterns.
1584 2002-01-09 Richard Henderson <rth@redhat.com>
1586 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
1587 (copyprop_hardreg_forward_1): Likewise.
1589 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
1591 * pa.md (decrement_and_branch_until_zero): Change predicate for
1592 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
1594 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1596 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
1597 gets undefined. For Darwin.
1599 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1601 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
1603 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1605 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
1607 2002-01-08 Richard Henderson <rth@redhat.com>
1609 * regrename.c (copy_value): Ignore overlapping copies.
1611 2002-01-08 Richard Henderson <rth@redhat.com>
1613 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
1614 as needed to avoid shared structure.
1616 2002-01-08 Kazu Hirata <kazu@hxi.com>
1618 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
1621 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1623 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
1624 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
1625 documentation of obsolete macros.
1626 * system.h: Poison these macros.
1627 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
1628 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
1629 config/c4x/c4x.h, config/clipper/clipper.h,
1630 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
1631 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
1632 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
1633 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
1634 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
1635 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
1636 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
1637 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
1638 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
1639 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
1640 config/sparc/sparc.h, config/stormy16/stormy16.h,
1641 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
1642 definitions and commented out definitions of obsolete macros.
1643 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
1644 of MAX_INT_TYPE_SIZE.
1646 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1648 * config/s390/s390.c (s390_preferred_reload_class): Never
1649 return ADDR_REGS if it isn't a subset of the given class.
1650 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
1651 FP_REGS, but all superclasses as well.
1653 * config/s390/s390.c (s390_function_profiler): Fix thinko.
1655 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
1656 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
1657 must not be a const_int.
1659 2002-01-08 Richard Henderson <rth@redhat.com>
1661 * Makefile.in (toplev.o): Depend on options.h.
1662 (gcc.o): Depend on specs.h.
1664 2002-01-08 Jakub Jelinek <jakub@redhat.com>
1666 * expr.c (store_expr): Convert VOIDmode constants back to target's
1669 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1671 * doc/invoke.texi: Markup gcc as @command. Refer to
1672 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
1673 of http://gcc.gnu.org/thanks.html.
1675 2002-01-08 Dale Johannesen <dalej@apple.com>
1677 * config/rs6000/rs6000.md: Add missing int register
1678 target case to movdf_low.
1680 2002-01-08 Zack Weinberg <zack@codesourcery.com>
1682 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
1683 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
1684 (cppinit.o): Depend on except.h.
1685 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
1686 s-specs): New rules.
1688 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
1689 Don't create specs.h/options.h/gencheck.h here. Remove
1690 unnecessary variable settings from last argument of AC_OUTPUT.
1691 * config.in, configure: Regenerate.
1692 * intl.c: Hardcode package name as "gcc".
1694 * cppinit.c: Include except.h.
1695 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
1697 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
1698 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
1699 (!)USING_SJLJ_EXCEPTIONS.
1700 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
1702 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1704 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
1705 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
1706 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
1707 documentation of obsolete macros.
1708 * system.h: Poison these macros.
1709 * config/d30v/d30v.h, config/ns32k/encore.h,
1710 config/stormy16/stormy16.h: Remove definitions and commented out
1711 definitions of obsolete macros.
1713 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
1715 * objc/objc-act.c (handle_class_ref): Mark the declaration of
1716 %sobjc_class_ref_%s as used - to prevent unwanted compiler
1719 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1721 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
1722 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
1723 to insn adjusting stack/frame pointer.
1724 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
1725 accept operands that cause the insn to be non-splittable.
1727 2002-01-08 Graham Stott <grahams@redhat.com>
1729 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
1730 (C_TYPE_FIELDS_VOLATILE): Likewise.
1731 (C_TYPE_BEING_DEFINED): Likewise.
1732 (C_IS_RESERVED_WORD): Likewise.
1733 (C_TYPE_VARIABLE_SIZE): Likewise.
1734 (C_DECL_VARIABLE_SIZE): Likewise.
1735 (C_MISSING_PROTOTYPE_WARNED): Likewise.
1736 (C_SET_EXP_ORIGINAL_CODE): Likewise.
1737 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
1739 (C_DECL_ANTICIPATED): Likewise.
1740 (c_build_type_variant): Add parenthesis.
1742 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1744 * gcc.c (option_map): Remove --version.
1745 (process_command): Handle -fversion following the GNU Coding
1746 Standards. Partially addresses PR other/704.
1748 2002-01-08 Graham Stott <grahams@redhat.com>
1750 * combine.c (combine_instructions): Fix typo.
1752 2002-01-08 Graham Stott <grahams@redhat.com>
1754 * debug.h: Use "tree" and "rtx" throughout.
1756 * debug.c: Likewise.
1758 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
1760 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
1761 constant pool, use the pool's version of the symbol instead.
1763 2002-01-07 Richard Henderson <rth@redhat.com>
1765 * regrename.c (find_oldest_value_reg): Ignore the value chain if
1766 the original register was copied in a mode with a fewer number of
1767 hard registers than the desired mode.
1768 (copyprop_hardreg_forward_1): Likewise.
1769 (debug_value_data): Fix loop test.
1770 * toplev.c (parse_options_and_default_flags): Reenable
1771 -fcprop-registers at -O1.
1773 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1775 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
1776 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
1778 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
1781 * config/rs6000/rs6000.md: Add altivec predicate patterns.
1783 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
1785 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
1786 (pa_output_function_prologue): Output local label at the beginning of
1787 the prologue when profiling.
1788 (hppa_profile_hook): Use the local label rather than the function label.
1789 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
1791 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1793 * config/rs6000/rs6000.c (print_operand): Remove extra space.
1794 (altivec_expand_unop_builtin): Fix thinko.
1795 (altivec_expand_binop_builtin): Same.
1796 (altivec_expand_ternop_builtin): Same.
1797 (altivec_expand_builtin): Same.
1799 2002-01-07 Richard Henderson <rth@redhat.com>
1801 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
1803 2002-01-07 Jason Merrill <jason@redhat.com>
1805 * unwind-dw2.c (execute_cfa_program): Use < again.
1807 2002-01-07 Jakub Jelinek <jakub@redhat.com>
1809 * predict.c (combine_predictions_for_insn): Avoid division by zero.
1811 2002-01-07 Jakub Jelinek <jakub@redhat.com>
1813 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
1814 Don't allow -1 - x -> ~x simplifications in the first pass.
1816 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1818 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
1820 (altivec_expand_binop_builtin): Same.
1821 (altivec_expand_unop_builtin): Same.
1822 (print_operand): Fix typo.
1823 (bdesc_1arg): Add vupk* variants.
1825 * rs6000.h (rs6000_builtins): Add vupk* enums.
1827 * rs6000.md: Add altivec_vupk* variants.
1829 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
1831 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
1832 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
1833 and last update dates.
1835 2002-01-07 Janis Johnson <janis187@us.ibm.com>
1837 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
1839 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
1841 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
1842 * config/avr/avr.h (CPP_SPEC): Likewise.
1843 (LINK_SPEC): Likewise.
1844 (CRT_BINUTILS_SPECS): Likewise.
1845 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
1846 * doc/invoke.texi (AVR Options): Document them.
1848 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
1850 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
1853 2002-01-07 Graham Stott <grahams@redhat.com>
1855 * config/i386/i386.h: Update copyright date.
1856 (HALF_PIC_PTR): Add parenthesis.
1857 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
1858 (CONSTANT_ALIGNMENT): Add parenthesis.
1859 (DATA_ALIGNMENT): Likewise.
1860 (LOCAL_ALIGNMENT): Likewise.
1861 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
1862 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
1863 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
1864 (HARD_REGNO_NREGS): Add paranethesis.
1865 (VALID_SSE_REG_MODE): Whitespace.
1866 (VALID_MMX_REG_MODE): Whitespace.
1867 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
1868 (ix86_hard_regno_mode_ok): Add parenthesis.
1869 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
1870 (RETURN_IN_MEMORY): Whitespace.
1871 (N_REG_CLASSES): Add parenthesis.
1872 (INTEGER_CLASS_P): Add parenthesis and wrap.
1873 (FLOAT_CLASS_P): Likewise.
1874 (SSE_CLASS_P): Likewise.
1875 (MMX_CLASS_P): Likewise.
1876 (MAYBE_INTEGER_CLASS_P): Likewise.
1877 (MAYBE_FLOAT_CLASS_P): Likewise.
1878 (MAYBE_SSE_CLASS_P): Likewise.
1879 (MAYBE_MMX_CLASS_P): Likewise.
1880 (Q_CLASS_P): Likewise.
1881 (GENERAL_REGNO_P): Uppercase macro parameter.
1882 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
1883 (FP_REGNO_P): Likewise.
1884 (ANY_FP_REGNO_P): Uppercase macro parameter.
1885 (SSE_REGNO_P): Likewise.
1886 (SSE_REGNO): Likewise.
1887 (SSE_REG_P): Likewise.
1888 (SSE_FLOAT_MODE_P): Likewise.
1889 (MMX_REGNO_P): Likewise.
1890 (MMX_REG_P):Likewise.
1891 (STACK_REG_P): Likewise.
1892 (NON_STACK_REG_P): Likewise.
1893 (STACK_TOP_P): Likewise.
1894 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
1895 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
1896 (SECONDARY_MEMORY_NEEDED): Likewise.
1897 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
1898 (MD_ASM_CLOBBERS): Whitespace and wrap.
1899 (MUST_PASS_IN_STACK): Whitespace and wrap.
1900 (RETURN_POPS_ARGS): Add parenthesis.
1901 (INIT_CUMULATIVE_ARGS): Likewise.
1902 (FUNCTION_ARG): Likewise.
1903 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
1904 (SETUP_INCOMING_VARARGS): Likewise.
1905 (BUILD_VA_LIST_TYPE): Add parenthesis.
1906 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
1908 (EXPAND_BUILTIN_VA_ARG): Likewise.
1909 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
1910 (INITIALIZE_TRAMPOLINE): Add parenthesis.
1911 (INITIAL_ELIMINATION_OFFSET): Likewise.
1912 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
1913 (REGNO_OK_FOR_BASE_P): Likewise.
1914 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
1915 (REGNO_OK_FOR_DIREG_P): Likewise.
1916 (REG_OK_FOR_INDEX_P): Whitespace.
1917 (REG_OK_FOR_BASE_P): Whitespace.
1918 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
1920 (FIND_BASE_TERM): Fix typo.
1921 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
1922 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
1923 (SYMBOLIC_CONST; Whitespace.
1924 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
1925 (ENCODE_SECTION_INFO): Whitespace.
1926 (FINALIZE_PIC): Remove do { ... } while (0).
1927 (PROMOTE_MODE): Wrap in do { ... } while (0).
1928 (CONST_COSTS): Whitespace.
1929 (RTX_COSTS): Add paramethesis, whitespace and wrap.
1930 (REGISTER_MOVE_COST): Add parenthesis.
1931 (MEMORY_MOVE_COST): Likewise.
1932 (EXTRA_CC_MODES): Whitespace.
1933 (SELECT_CC_MODE): Add parenthesis and whitespace.
1934 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
1935 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
1936 (ASM_OUTPUT_LABEL): Add paramethesis.
1937 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
1938 (ASM_OUTPUT_REG_POP): Likewise.
1939 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
1940 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
1942 * config/i386/i386.c: Update copyright.
1943 (CHECK_STACK_LIMIT): Add parenthesis.
1944 (AT_BP): Uppercase macro parameter.
1945 (x86_64_int_parameter_registers): Constify.
1946 (x86_64_int_return_registers): Likewise.
1947 (ix86_compare_op0): Use rtx.
1948 (construct_container): Constify INTREG parameter.
1949 (function_arg): Use rtx.
1951 * diagnostic.h: Update copyright date.
1952 (output_buffer_state): Add parenthesis.
1953 (output_buffer_format_args): Likewise.
1955 * combine.c (combine_instructions): Replace XEXP (links, 0)
1958 2002-01-06 H.J. Lu <hjl@gnu.org>
1960 * cfgcleanup.c (thread_jump): Fix 2 typos.
1962 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
1964 * config.gcc: Add support for --enable-altivec.
1966 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
1968 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
1970 2002-01-06 Jakub Jelinek <jakub@redhat.com>
1972 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
1973 __objc_class_name_*.
1975 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
1977 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
1979 2002-01-06 Richard Henderson <rth@redhat.com>
1981 * reorg.c (emit_delay_sequence): Remove death notes, not merely
1982 nop them out. Increment label reference count for REG_LABEL.
1983 (fill_slots_from_thread): Frob label reference count around
1984 delete_related_insns.
1986 2002-01-05 Richard Henderson <rth@redhat.com>
1988 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
1991 2002-01-05 Richard Henderson <rth@redhat.com>
1993 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
1994 * integrate.c (output_inline_function): Likewise.
1995 * toplev.c (rest_of_compilation): Do it here instead. Move call
1996 to remove_unnecessary_notes after emitting abstract instance.
1997 Force an emitted nested function to have its parent emited as well.
1998 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
2000 (rtl_for_decl_location): Do not look at reload data structures
2001 before reload has run.
2003 2002-01-05 Kazu Hirata <kazu@hxi.com>
2005 * cse.c: Fix formatting.
2006 * dwarf2asm.c: Likewise.
2007 * dwarf2out.c: Likewise.
2008 * explow.c: Likewise.
2009 * expmed.c: Likewise.
2010 * function.c: Likewise.
2012 * gencheck.c: Likewise.
2013 * genrecog.c: Likewise.
2014 * ggc-common.c: Likewise.
2015 * ggc-page.c: Likewise.
2016 * global.c: Likewise.
2018 2002-01-05 Kazu Hirata <kazu@hxi.com>
2020 * combine.c: Fix formatting.
2022 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
2025 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
2027 2002-01-05 David Edelsohn <edelsohn@gnu.org>
2029 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
2030 as 1 for __powerpc64__ as well.
2032 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
2034 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
2037 2002-01-05 Daniel Berlin <dan@dberlin.org>
2039 * lcm.c: Revert change, due to performance regression it causes on
2040 SPEC because it's slightly more conservative (sigh, I hate
2043 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
2045 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
2047 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
2049 * doc/cppinternals.texi: Update.
2051 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
2053 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
2054 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
2056 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
2057 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
2058 kludge for pre-october-14th mmix versions to handle new-found bug
2059 with PUSHJ/PUSHGO and the register stack.
2060 * config/mmix/mmix.h (struct machine_function): Rename member
2061 has_call_value_without_parameters to has_call_without_parameters.
2062 All referers changed.
2063 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
2064 TARGET_MASK_BRANCH_PREDICT): New macros.
2065 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
2066 -mno-reg-stack-fill-bug-workaround.
2067 * config/mmix/mmix.md ("call"): Set struct machine member
2068 has_call_without_parameters.
2070 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
2072 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
2074 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
2076 * cfgcleanup.c: Include tm_p.h
2077 (mark_effect): Fix handling of hard register; fix handling of SET
2079 2002-01-04 Kazu Hirata <kazu@hxi.com>
2081 * config/h8300/h8300.md (anonymous patterns): Check that
2082 operands are registers before using REGNO on them.
2084 2002-01-03 Roland McGrath <roland@frob.com>
2086 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
2088 2002-01-04 Jakub Jelinek <jakub@redhat.com>
2090 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
2091 * c-common.h (genrtl_expr_stmt_value): Likewise.
2092 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
2093 (expand_expr_stmt_value): Add maybe_last argument.
2094 Don't warn about statement with no effect if it is the last statement
2095 in expression statement.
2096 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
2097 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
2098 expand_expr_stmt_value.
2099 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
2100 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
2101 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
2102 as maybe_last to expand_expr_stmt_value.
2104 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
2106 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
2107 be passed in, do not build it.
2108 (c_begin_if_stmt): New function.
2109 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2110 * c-common.h (c_expand_start_cond): Update prototype.
2111 (c_begin_if_stmt): Prototype new function.
2112 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2113 * c-parse.in (if_prefix): Use c_begin_if_stmt,
2114 c_begin_while_stmt and c_finish_while_stmt_cond.
2116 2002-01-04 William Cohen <wcohen@redhat.com>
2118 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
2119 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2120 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2121 * config/pa/som.h (ASM_FILE_START): Likewise.
2123 2001-01-04 Daniel Berlin <dan@cgsoftware.com>
2125 * lcm.c: Include df.h.
2126 Add available_transfer_function prototype.
2127 (compute_available): Rework to use iterative dataflow framework.
2128 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
2129 with bb_info in df.h
2130 (available_transfer_function): New function.
2132 * Makefile.in (lcm.o): add df.h to dependencies.
2134 2002-01-04 Richard Henderson <rth@redhat.com>
2136 * config/alpha/alpha.c (some_operand): Accept HIGH.
2137 (input_operand): Likewise; accept simple references to globals.
2138 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
2139 (alpha_const_double_ok_for_letter_p): Likewise.
2140 (alpha_extra_constraint): Likewise.
2141 (alpha_preferred_reload_class): Likewise. Do not force
2142 symbolic constants to memory.
2143 (alpha_legitimate_address_p): Accept simple references
2144 to small_symbolic_operand.
2145 (alpha_legitimize_address): New arg scratch. Be prepared to be
2146 called when no_new_pseudos. Emit simple symbolic references.
2147 Split integers into low, high, and rest.
2148 (alpha_expand_mov): Use alpha_legitimize_address.
2149 (some_small_symbolic_mem_operand): New.
2150 (split_small_symbolic_mem_operand): New.
2151 * config/alpha/alpha-protos.h: Update.
2152 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
2153 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
2154 (EXTRA_CONSTRAINT): Likewise.
2155 (PREFERRED_RELOAD_CLASS): Likewise.
2156 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
2157 (PREDICATE_CODES): Update.
2158 * config/alpha/alpha.md: New post-reload splitters to convert
2159 simplfied symbolic operands to the form that references $29.
2160 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
2161 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
2163 2002-01-03 Richard Henderson <rth@redhat.com>
2165 * local-alloc.c (function_invariant_p): Update commentary.
2167 2002-01-04 H.J. Lu <hjl@gnu.org>
2169 * toplev.c (rest_of_compilation): Fix a typo when calling
2172 2002-01-03 Kazu Hirata <kazu@hxi.com>
2174 * c-common.c: Fix formatting.
2175 * diagnostic.c: Likewise.
2176 * doloop.c: Likewise.
2177 * dwarf2out.c: Likewise.
2179 2002-01-03 Kazu Hirata <kazu@hxi.com>
2181 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
2182 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
2184 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2186 * cpperror.c: Update comments and copyright.
2187 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
2188 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
2190 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
2192 * collect2.c (main): Use strcmp when testing for "-shared".
2194 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2196 * cppmacro.c: Don't include intl.h. Update comments.
2197 (new_number_token): Allocate enough buffer for 64-bit unsigned
2198 integers; update prototype.
2199 * cppmain.c: Update comments.
2201 2002-01-03 William Cohen <wcohen@redhat.com>
2203 * function.h (struct function): Add profile.
2204 (current_function_profile): New.
2205 doc/extend.texi: Update documentation.
2206 * final.c (final_start_function): Use current_function_profile
2207 instead of profile_flag.
2208 (profile_after_prologue): Likewise.
2209 * function.c (expand_function_start): Likewise.
2210 (expand_function_start): Likewise.
2211 * config/alpha/alpha.c (direct_call_operand):
2212 (alpha_does_function_need_gp): Likewise.
2213 (alpha_expand_prologue): Likewise.
2214 * config/arm/arm.c (arm_expand_prologue): Likewise.
2215 thumb_expand_prologue: Likewise.
2216 * config/d30v/d30v.c (d30v_stack_info): Likewise.
2217 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
2218 (fr30_expand_prologue): Likewise.
2219 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
2220 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
2221 * config/i386/i386.h (FINALIZE_PIC): Likewise.
2222 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
2223 * config/i960/i960.c (i960_output_function_prologue): Likewise.
2224 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
2225 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
2226 (m32r_expand_prologue): Likewise.
2227 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
2228 (m88k_expand_prologue): Likewise.
2229 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
2230 * config/mips/mips.c (compute_frame_size): Likewise.
2231 (mips_expand_prologue): Likewise.
2232 (mips_can_use_return_insn): Likewise.
2233 * config/pa/elf.h (ASM_FILE_START): Likewise.
2234 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2235 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2236 * config/pa/som.h (ASM_FILE_START): Likewise.
2237 * config/romp/romp.c (romp_using_r14): Likewise.
2238 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
2239 (rs6000_stack_info): Likewise.
2240 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2241 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
2242 * config/v850/v850.c (compute_register_save_size): Likewise.
2244 2002-01-03 Jakub Jelinek <jakub@redhat.com>
2246 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
2247 gen_lowpart_common fails, use gen_lowpart_SUBREG.
2249 2002-01-03 Turly O'Connor <turly@apple.com>
2251 * darwin.c (machopic_output_possible_stub_label): Don't generate
2252 stub routines for pseudo-stubs which we've just defined.
2254 2002-01-03 Kazu Hirata <kazu@hxi.com>
2256 * builtins.c: Fix formatting.
2257 * c-typeck.c: Likewise.
2258 * combine.c: Likewise.
2262 2002-01-03 Andreas Schwab <schwab@suse.de>
2264 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
2265 and return true if _cpp_push_next_buffer pushed a new include
2267 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
2268 _cpp_pop_file_buffer did not push a new file.
2269 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
2271 2002-01-02 Eric Christopher <echristo@redhat.com>
2273 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
2274 FIND_REG_INC_NOTE call. Update copyright.
2275 * loop.c (canonicalize_condition): Ditto.
2276 * reorg.c (delete_scheduled_jump): Ditto.
2278 2002-01-03 Kazu Hirata <kazu@hxi.com>
2280 * gcse.c: Fix formatting.
2282 2002-01-03 Graham Stott <grahams@redhat.com>
2284 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
2285 forward defs for struct tags rtx_def, union_tree, rtvec_def
2286 also output corresponding typedefs for rtx, tree, and rtvec.
2288 * system.h: Move forward defs for struct tags rtx_def, union_tree,
2289 rtvec_def along with corresponding typedefs for rtx, tree, and
2290 rtvec to config.h, hconfig.h, tconfig.h.
2292 2002-01-03 Graham Stott <grahams@redhat.com>
2294 * tree.h: Update copyright date.
2295 (IS_EXPR_CODE_CLASS): Add parenthesis.
2296 (TREE_SET_CODE): Add whitespace.
2297 (TREE_CHECK): Add parenthesis.
2298 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
2299 (CST_OR_CONSTRUCTOR_CHECK):
2300 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
2301 (TREE_SYMBOL_REFERENCED): Whitespace.
2302 (INT_CST_LT): Likewise.
2303 (INT_CST_LT_UNSIGNED): Likewise.
2304 (tree_real_cst): Unwrap comment.
2305 (tree_string): Likewise.
2306 (tree_complex): Likewise.
2307 (IDENTIFIER_POINTER): correct cast.
2308 (SAVE_EXPR_CONTEXT): Whitespace.
2309 (EXPR_WFL_FILENAME_NODE): Likewise.
2310 (EXPR_WFL_FILENAME): Remove parenthesis.
2311 (DECL_ORIGIN): Add parenthesis.
2312 (DECL_FROM_INLINE): Use NULL_TREE.
2313 (build_int_2): Whitespace.
2314 (build_type_variant): Add parenthesis.
2316 * gcc/jcf-parse.c: Update copyright date.
2317 (yyparse): Constify resource_filename.
2319 2002-01-03 Graham Stott <grahams@redhat.com>
2321 * rtl.h: Update copyright date.
2322 (RTL_CHECK1): Wrap long line.
2323 (RTL_CHECK2): Likewise.
2324 (RTL_CHECKC1): Wrap long line and whitespace.
2325 (RTL_CHECKC2): Likewise.
2326 (XWINT): Whitespace.
2332 (XBITMAP): Likewise.
2343 (X0BITMAP): Likewise.
2345 (X0BBDEF): Likewise.
2346 (X0ADVFLAGS): Likewise.
2347 (X0CSELIB): Likewise.
2348 (X0MEMATTR): Likewise.
2356 (XCBITMAP): Likewise.
2358 (XCBBDEF): Likewise.
2359 (XCADVFLAGS): Likewise.
2360 (XCCSELIB): Likewise.
2362 (INSN_UID): Likewise.
2363 (PREV_INSN): Likewise.
2364 (PATTERN): Likewise.
2365 (INSN_CODE): Likewise.
2366 (PUT_REG_NOTE_KIND): Likewise.
2367 (CODE_LABEL_NUMBER): Likewise.
2368 (NOTE_SOURCE_FILE): Likewise.
2369 (NOTE_BLOCK): Likewise.
2370 (NOTE_EH_HANDLER): Likewise.
2371 (NOTE_RANGE_INFO): Likewise.
2372 (NOTE_LIVE_INFO): Likewise.
2373 (NOTE_BASIC_BLOCK): Likewise.
2374 (NOTE_EXPECTED_VALUE): Likewise.
2375 (NOTE_LINE_NUMBER): Likewise.
2376 (LABEL_NAME): Likewise.
2377 (LABEL_NUSES): Likewise.
2378 (LABEL_ALTERNATE_NAME): Likewise.
2379 (ADDRESSOF_DECL): Likewise.
2380 (JUMP_LABEL): Likewise.
2381 (LABEL_NEXTREF): Likewise.
2383 (ORIGINAL_REGNO: Likewise.
2384 (HARD_REGISTER_NUM_P): Add parenthesis.
2385 (SUBREG_REG): Whitespace.
2386 (SUBREG_BYTE): Likewise.
2387 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
2388 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
2389 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
2390 (ASM_OPERANDS_INPUT_VEC): Likewise.
2391 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
2392 (ASM_OPERANDS_INPUT): Likewise.
2393 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
2394 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
2395 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
2396 (ASM_OPERANDS_INPUT_MODE): Likewise.
2397 (ASM_OPERANDS_SOURCE_FILE): Likewise.
2398 (ASM_OPERANDS_SOURCE_LINE): Likewise.
2399 (MEM_SET_IN_STRUCT_P): Minor reformat.
2400 (TRAP_CONDITION): Whitespace.
2401 (TRAP_CODE): Likewise.
2402 (COND_EXEC_TEST): Likewise.
2403 (COND_EXEC_CODE): Likewise.
2404 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
2405 (PHI_NODE_P): Add parenthesis.
2406 (plus_constant): Whitespace and add parenthesis.
2408 2002-01-03 Kazu Hirata <kazu@hxi.com>
2410 * config/avr/avr.c: Fix comment typos.
2411 * config/c4x/c4x.md: Likewise.
2412 * config/dsp16xx/dsp16xx.h: Likewise.
2413 * config/dsp16xx/dsp16xx.md: Likewise.
2414 * config/i386/i386.md: Likewise.
2415 * config/ia64/ia64.c: Likewise.
2416 * config/m32r/m32r.h: Likewise.
2417 * config/m68hc11/m68hc11.md: Likewise.
2418 * config/mmix/mmix.c: Likewise.
2419 * config/mn10200/mn10200.c: Likewise.
2420 * config/romp/romp.c: Likewise.
2421 * config/sh/sh.c: Likewise.
2422 * config/stormy16/stormy16.c: Likewise.
2423 * config/stormy16/stormy16.h: Likewise.
2424 * config/stormy16/stormy16.md: Likewise.
2426 2002-01-03 Graham Stott <grahams@redhat.com>
2428 * loop.h: Update copyright date.
2429 (LOOP_MOVABLES): Fix typo.
2430 (LOOP_REGS): Likewise.
2431 (LOOP_IVS): Likewise.
2433 2002-01-03 Graham Stott <grahams@redhat.com>
2435 * cppinit.c: Update copyright date.
2436 Don't include output.h
2437 * Makefile.in: Update copyright date.
2440 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
2443 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
2444 (-pthread) Add to RS/6000 options.
2446 2002-01-02 Kazu Hirata <kazu@hxi.com>
2448 * except.c: Fix comment typos.
2450 * varasm.c: Likewise.
2451 * doc/tm.texi: Fix a typo.
2453 2002-01-02 Jakub Jelinek <jakub@redhat.com>
2455 * c-typeck.c (output_init_element): Allow initializing static storage
2456 duration objects with compound literals.
2458 2002-01-02 Richard Henderson <rth@redhat.com>
2460 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
2463 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2465 * gcc.c (default_compilers): Const-ify.
2466 * mips-tdump.c (stab_names): Likewise.
2467 * mips-tfile.c (map_coff_types, map_coff_storage,
2468 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
2469 pseudo_ops_t, pseudo_ops): Likewise.
2470 * protoize.c (default_include): Likewise
2472 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
2473 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
2474 Add array size in declaration.
2475 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
2476 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
2477 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
2478 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
2479 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
2480 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
2481 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
2482 emtens, make_nan): Const-ify.
2483 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
2484 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
2486 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
2488 * config.gcc (ia64-*-*): Set extra_headers.
2489 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
2490 * config/alpha/t-osf: Remove.
2491 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
2493 2002-01-02 David Edelsohn <edelsohn@gnu.org>
2495 * config/rs6000/t-aix43: Revert previous change.
2497 2002-01-02 Jason Merrill <jason@redhat.com>
2499 * c-decl.c (c_expand_body): Call outlining_inline_function when
2500 emitting an inline function out of line.
2502 2002-01-02 Richard Henderson <rth@redhat.com>
2504 * dwarf2out.c (limbo_die_node): Add created_for member.
2505 (new_die): New argument created_for. Update all callers.
2506 (mark_limbo_die_list): New.
2507 (dwarf2out_init): Register limbo_die_list as a root.
2508 (dwarf2out_finish): Force insert limbo dies into their function
2511 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
2514 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
2516 2002-01-02 Kazu Hirata <kazu@hxi.com>
2518 * config/h8300/fixunssfsi.c: Update copyright.
2521 * config/h8300/h8300.c: Update copyright.
2524 2002-01-02 Kazu Hirata <kazu@hxi.com>
2526 * config/romp/romp.c: Fix comment formatting.
2527 * config/romp/romp.h: Likewise.
2528 * config/romp/romp.md: Likewise.
2529 * config/s390/s390.c: Likewise.
2530 * config/stormy16/stormy16.c: Likewise.
2531 * config/stormy16/stormy16.h: Likewise.
2533 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
2535 * c-common.h (genrtl_expr_stmt_value): Declare.
2536 * c-semantics.c (genrtl_goto_stmt): Redirect to...
2537 (genrtl_goto_stmt_value): ... this new function. Pass new
2538 argument down to expand_expr_stmt_value, taking
2539 TREE_ADDRESSABLE into account.
2540 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
2541 STMT_EXPR as addressable, i.e., one whose result we want.
2542 * expr.c (expand_expr): Don't save expression statement value
2543 of labeled_blocks or loop_exprs.
2544 * stmt.c (expand_expr_stmt): Redirect to...
2545 (expand_expr_stmt_value): ... this new function. Use new
2546 argument to tell whether to save expression value.
2547 (expand_end_stmt_expr): Reset last_expr_type and
2548 last_expr_value if we don't have either.
2549 * tree-inline.c (declare_return_variable): Mark its use
2550 statement as addressable.
2551 * tree.h: Document new use of TREE_ADDRESSABLE.
2552 (expand_expr_stmt_value): Declare.
2554 2002-01-01 Tom Rix <trix@redhat.com>
2556 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
2557 rs6000_emit_allocate_stack.
2559 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
2561 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
2562 ${srcdir}/ginclude/ to every entry in extra_headers.
2563 * configure: Regenerate.
2564 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
2565 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
2566 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
2567 * ginclude/proto.h: Rename to config/convex/proto.h.
2569 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2571 * attribs.c (handle_vector_size_attribute): Use host_integerp
2572 and tree_int_cst; remove warnings.
2573 * caller-save.c (insert_restore): Add cast to get rid of warning.
2574 (insert_save): Likewise.
2575 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
2576 * regmove.c (find_matches): Add temporary var to kill a warning.
2578 2002-01-01 Douglas B Rupp <rupp@gnat.com>
2580 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
2581 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
2582 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
2583 (vms-dwarf2eh.o): Add Makefile rule.
2584 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
2585 * config/alpha/vms-dwarf2eh.asm: New file.
2587 * gcc.c (delete_if_ordinary): Delete all versions.
2589 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
2591 * config/mmix/mmix.md: Update FIXME to not mention
2593 (MMIX_rJ_REGNUM): New define_constants constant.
2594 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
2595 "*movdicc_real"): Adjust contraints formatting.
2596 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
2597 for branch prediction.
2598 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
2600 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
2601 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
2602 number. Delete related FIXMEs.
2603 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
2604 from number to MMIX_rJ_REGNUM.
2605 (TARGET_MASK_BRANCH_PREDICT): New.
2606 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
2607 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
2608 value. Add -mbranch-predict and -mno-branch-predict.
2609 (TARGET_VERSION): Drop date.
2610 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
2611 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
2612 for finding out global symbols.
2613 (mmix_asm_output_labelref): Revert condition for global symbol.
2614 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
2615 (mmix_print_operand_punct_valid_p): A '+' is valid.
2617 See ChangeLog.6 for earlier changes.