1 2001-01-25 Geoffrey Keating <geoffk@redhat.com>
3 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
6 2002-01-25 David Edelsohn <edelsohn@gnu.org>
8 * rs6000.md (prefetch): Make address V4SI mode so that the address
9 is restricted to legitimate form for instruction.
11 2002-01-25 Bob Wilson <bob.wilson@acm.org>
13 * doc/install.texi (xtensa-*-elf): New target.
14 (xtensa-*-linux*): New target.
15 * doc/contrib.texi: Add myself.
17 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
19 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
20 purpose register to hold an SImode (or smaller) value.
22 2002-01-25 Jakub Jelinek <jakub@redhat.com>
24 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
26 * crtstuff.c: Likewise.
28 2002-01-25 Kazu Hirata <kazu@hxi.com>
30 * config/h8300/h8300.md (negation patterns): Tighten
31 predicates to register_operand.
33 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
35 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
38 * builtins.c (expand_builtin_prefetch): Same.
40 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
42 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
45 2002-01-24 Kazu Hirata <kazu@hxi.com>
47 * config/h8300/h8300.c (print_operand): Remove support for
48 operand character 'A'.
49 * config/h8300/h8300.md (three anonymous patterns): Replace
50 operand character 'A' with either 'T' or 'S'.
52 2002-01-24 Kazu Hirata <kazu@hxi.com>
54 * config/h8300/h8300.c (print_operand): Remove support for
55 operand character 'U'.
57 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
59 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
61 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
63 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
64 values to be assigned to the stack pointer.
66 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
68 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
69 to const_double needs to be done right for big-endian systems.
71 2002-01-24 Jason Merrill <jason@redhat.com>
73 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
74 to can_throw_internal.
76 2002-01-23 Richard Henderson <rth@redhat.com>
78 * fold-const.c (fold): Change UINT_MAX test to check vs precision
79 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
81 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
83 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
84 (symGOT2reg): Use them, then set as GOT value as unchanging.
85 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
86 as a temporary, if possible.
87 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
88 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
90 2002-01-23 Kazu Hirata <kazu@hxi.com>
92 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
93 accept to accept 0x80 as operands[2].
95 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
97 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
99 2002-01-23 Richard Henderson <rth@redhat.com>
101 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
103 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
105 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
106 (parmlist_or_identifiers_1): Verify that only a parmlist follows
109 2002-01-23 Richard Henderson <rth@redhat.com>
111 * expr.c (move_by_pieces_1): Extend size before negation.
113 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
114 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
115 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
116 * config/m68k/t-m68kelf: Likewise.
118 2002-01-23 Bob Wilson <bob.wilson@acm.org>
120 * config/xtensa/elf.h: New file.
121 * config/xtensa/lib1funcs.asm: New file.
122 * config/xtensa/lib2funcs.S: New file.
123 * config/xtensa/linux.h: New file.
124 * config/xtensa/t-xtensa: New file.
125 * config/xtensa/xtensa-config.h: New file.
126 * config/xtensa/xtensa-protos.h: New file.
127 * config/xtensa/xtensa.c: New file.
128 * config/xtensa/xtensa.h: New file.
129 * config/xtensa/xtensa.md: New file.
130 * config.gcc (xtensa-*-elf*): New target.
131 (xtensa-*-linux*): New target.
132 * cse.c (canon_hash): Compare rtx pointers instead of register
133 numbers. This is required for the Xtensa port.
134 * integrate.c (copy_insn_list): Handle case where the static
135 chain is in memory and the memory address has to be copied to
137 * doc/invoke.texi (Option Summary): Add Xtensa options.
138 (Xtensa Options): New node.
139 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
141 2002-01-23 Zack Weinberg <zack@codesourcery.com>
143 * diagnostic.c (internal_error): Do ICE suppression only
144 when ENABLE_CHECKING is not defined.
146 * c-typeck.c (require_complete_type): Return error_mark_node
147 if type is error_mark_node.
149 2002-01-23 Janis Johnson <janis187@us.ibm.com>
151 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
152 -Os and issue a warning.
154 2002-01-23 Zack Weinberg <zack@codesourcery.com>
156 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
157 current (lack of) need for host configuration by hand.
159 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
160 references. Documentation of some target macros moved from
161 hostconfig.texi to tm.texi.
163 2002-01-23 Will Cohen <wcohen@redhat.com>
165 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
168 2002-01-23 Kazu Hirata <kazu@hxi.com>
170 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
173 2002-01-23 Jason Merrill <jason@redhat.com>
175 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
177 * function.c (assign_parms): Don't put args of inline functions
178 into registers when not optimizing.
180 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
182 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
183 (prologue_use): New pattern.
184 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
185 preference to gen_rtx_USE.
186 (thumb_expand_prologue): Use gen_prologue_use in preference to
188 (thumb_expand_epilogue): Use gen_prologue_use in preference to
191 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
193 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
195 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
198 * doc/extend.texi: Correct documentation of __alignof__.
200 2002-01-22 Zack Weinberg <zack@codesourcery.com>
202 * params.h: Rename arguments of DEFPARAM so that it will be
203 recognized as a translation keyword.
205 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
207 * extend.texi: Document altivec functions.
208 Fix N-bit adjectives in X86 builtin documentation.
210 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
212 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
215 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
217 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
219 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
221 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
223 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
225 2002-01-22 Richard Henderson <rth@redhat.com>
227 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
228 copy_insn not copy_rtx.
230 2002-01-23 Alan Modra <amodra@bigpond.net.au>
232 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
233 "nonzero" as that might add "1" bits. Ensure "constop" is
234 properly sign extened.
235 (force_to_mode): Tweak for sign extended constop.
237 2002-01-22 Richard Henderson <rth@redhat.com>
239 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
240 for_each_rtx instead of assuming we're already looking at the MEM.
241 (split_small_symbolic_mem_operand): Likewise.
242 * config/alpha/alpha.h (PREDICATE_CODES): Update.
243 * config/alpha/alpha.md (small symbolic memory splitters): Update.
245 2002-01-22 Richard Henderson <rth@redhat.com>
247 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
248 sequence number for the literal.
249 (divmoddi_internal_er): Likewise.
251 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
254 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
255 in LIBICONV variable.
256 * configure: Regenerated.
258 2002-01-22 Krister Walfridsson <cato@df.lth.se>
260 * dependence.c (build_def_use): Remove array_idx.
262 * dwarfout.c (last_filename): Remove.
263 (output_compile_unit_die): Remove last_filename.
265 2002-01-22 Roger Sayle <roger@eyesopen.com>
266 Richard Henderson <rth@redhat.com>
269 * fold-const.c (fold): Optimize unsigned comparisons against
270 UINT_MAX (and similar unsigned constants).
272 2002-01-22 Janis Johnson <janis187@us.ibm.com>
274 * Makefile.in (loop.o): Depend on OPTABS_H.
275 * loop.c (emit_prefetch_instructions): Check the prefetch operand
276 against the predicate.
279 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
280 for the address operand.
282 2002-01-22 Richard Henderson <rth@redhat.com>
284 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
286 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
289 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
292 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
294 * config.gcc (x86_64-*-netbsd*): New target.
295 * config/i386/netbsd64.h: New file.
297 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
299 * regrename.c (kill_value): Fix typo.
301 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
303 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
305 * config/rs6000/rs6000.h: Same.
307 * function.c (instantiate_virtual_regs): Remove
308 STARTING_FRAME_PHASE.
309 (assign_stack_local_1): Same.
310 Calculate frame phase.
312 2002-01-22 Nick Clifton <nickc@redhat.com>
314 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
315 variable declaration to outer scope in order to simplify
317 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
318 arm_hard_regno_mode_ok.
319 * config/arm/arm-protos.h: Add a prototype for
320 arm_hard_regno_mode_ok.
321 * config/arm/arm.c (soft_df_operand): Remove now redundant
322 check for DImode values using IP_REGNUM.
323 (nonimmediate_soft_df_operand): Remove now redundant check for
324 DImode values using IP_REGNUM.
325 (arm_hard_regno_mode_ok): New function. New check: make sure
326 that DImode values are not stored in IP_REGNUM.
328 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
330 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
332 2002-01-22 Jason Merrill <jason@redhat.com>
334 * c-semantics.c (genrtl_compound_stmt): Only check nesting
335 consistency if this COMPOUND_STMT is scoped.
337 2002-01-22 Kazu Hirata <kazu@hxi.com>
339 * predict.c: Fix formatting.
340 * print-tree.c: Likewise.
341 * protoize.c: Likewise.
344 * sbitmap.h: Likewise.
346 * sched-deps.c: Likewise.
347 * sched-vis.c: Likewise.
348 * sdbout.c: Likewise.
349 * sibcall.c: Likewise.
351 * ssa-ccp.c: Likewise.
352 * ssa-dce.c: Likewise.
354 * stor-layout.c: Likewise.
355 * system.h: Likewise.
357 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
359 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
360 if fits in bounds of base type.
362 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
363 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
364 (add_bound_info, default): If can't find a context, make a
366 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
368 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
370 * c-typeck.c (parser_build_binary_op): If result from
371 build_binary_op is ERROR_MARK just return error_mark_node without
374 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
376 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
377 Split a.out-specific bits into...
378 * config/netbsd-aout.h: ...this.
379 * config/netbsd-elf.h: New file.
380 * config/alpha/netbsd-elf.h: Remove.
381 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
382 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
383 (STARTFILE_SPEC): Remove redundant definition.
384 (ENDFILE_SPEC): Likewise.
385 (LINK_SPEC): Likewise.
386 (CPP_SPEC): Likewise.
387 (ASM_SPEC): Likewise.
388 (LIB_SPEC): Likewise.
389 (SWITCH_TAKES_ARG): Likewise.
390 (TARGET_MEM_FUNCTIONS): Likewise.
391 (CPP_PREDEFINES): Redefine.
392 (ASM_FINAL_SPEC): Remove redefinition.
393 (ASM_COMMENT_START): Redefine.
394 (FUNCTION_PROFILER): Define.
395 (TARGET_VERSION): Redefine.
396 Comment and formatting cleanup.
397 * config/i386/netbsd.h: Include <netbsd-aout.h>.
398 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
399 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
400 big- or little-endian.
401 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
402 * config.gcc (*-*-netbsd*): Add definitions common to all
404 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
405 gnu_ld definitions. Add netbsd-elf.h to and remove
406 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
407 tmake_file, and don't lose previous tmake_file contents.
408 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
409 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
410 gnu_ld definitions. Add netbsd-elf.h to tm_file.
411 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
412 (mipsel-*-netbsd*): Rename this to...
413 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
414 mips/little.h to tm_file for mips*el-*.
415 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
416 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
417 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
419 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
421 * pa-protos.h (reg_before_reload_operand): New function prototype.
422 * pa.c (reg_before_reload_operand): New function implementation.
423 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
426 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
428 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
430 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
432 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
433 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
434 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
435 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
436 (ENDFILE_SPEC): Undefine.
437 (STARTFILE_SPEC): Redefine for PA.
439 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
441 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
443 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
445 * config.gcc: Add entries to supported PowerPC --with-cpu
448 2002-01-21 Jakub Jelinek <jakub@redhat.com>
450 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
451 true for 64-bit mode only SSE registers in 32-bit mode.
453 2002-01-21 Kazu Hirata <kazu@hxi.com>
455 * unwind-dw2.c: Fix formatting.
456 * unwind-dw2-fde.c: Likewise.
457 * unwind-dw2-fde.h: Likewise.
458 * unwind-pe.h: Likewise.
459 * varasm.c: Likewise.
460 * varray.h: Likewise.
462 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
464 Remove workaround for register stack overwrite bug in mmix.
465 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
466 support for TARGET_REG_STACK_FILL_BUG.
467 * config/mmix/mmix.h: Remove member has_call_without_parameters.
468 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
470 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
471 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
472 -mno-reg-stack-fill-bug-workaround.
473 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
474 machine member has_call_without_parameters.
475 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
476 -mreg-stack-fill-bug-workaround and
477 -mno-reg-stack-fill-bug-workaround.
478 (MMIX Options): Ditto.
480 2002-01-21 Kazu Hirata <kazu@hxi.com>
482 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
484 Remove redundant code.
486 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
488 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
489 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
490 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
491 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
492 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
493 out target macro definitions and non-target-specific comments
494 mostly taken from old versions of the manual.
496 2002-01-20 Kazu Hirata <kazu@hxi.com>
498 * config/h8300/h8300.h: Fix comment formatting.
499 * config/ia64/aix.h: Likewise.
500 * config/ia64/ia64-protos.h: Likewise.
501 * config/ia64/ia64.c: Likewise.
502 * config/ia64/ia64.h: Likewise.
503 * config/ia64/ia64intrin.h: Likewise.
504 * config/ia64/linux.h: Likewise.
505 * config/ia64/unwind-aix.c: Likewise.
506 * config/ia64/unwind-ia64.c: Likewise.
508 2002-01-20 Kazu Hirata <kazu@hxi.com>
510 * config/h8300/h8300.c: Revise comments about shift code.
512 2002-01-20 Kazu Hirata <kazu@hxi.com>
514 * config/h8300/h8300.c (function_arg): Update a comment.
516 2002-01-20 Kazu Hirata <kazu@hxi.com>
518 * config/h8300/h8300.md: Update the comments at the beginning
521 2002-01-20 Kazu Hirata <kazu@hxi.com>
523 * config/i370/i370.c: Fix comment formatting.
524 * config/i370/i370.h: Likewise.
525 * config/i370/i370.md: Likewise.
526 * config/i370/linux.h: Likewise.
528 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
530 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
532 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
533 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
536 2002-01-20 Graham Stott <grahams@redhat.com>
538 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
540 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
542 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
544 2002-01-19 Tom Rix <trix@redhat.com>
546 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
548 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
550 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
552 * function.c (assign_stack_local_1): Adjust x_frame_offset with
553 STARTING_FRAME_PHASE.
554 (STARTING_FRAME_PHASE): New.
555 (instantiate_virtual_regs): Check saneness of
556 STARTING_FRAME_PHASE.
558 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
560 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
562 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
564 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
566 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
567 be used for bootstrapping GCC 3.0.
569 2002-01-18 Kazu Hirata <kazu@hxi.com>
571 * config/h8300/h8300.md: Fix an insn length.
573 2002-01-18 Kazu Hirata <kazu@hxi.com>
575 * bitmap.h: Fix comment formatting.
576 * combine.c: Likewise.
577 * cppfiles.c: Likewise.
578 * c-pragma.h: Likewise.
579 * c-typeck.c: Likewise.
581 * dwarf2out.c: Likewise.
582 * function.c: Likewise.
584 * genattrtab.c: Likewise.
585 * gthr-win32.h: Likewise.
586 * haifa-sched.c: Likewise.
587 * predict.c: Likewise.
588 * rtlanal.c: Likewise.
590 * unwind-dw2-fde.h: Likewise.
591 * unwind-pe.h: Likewise.
592 * vmsdbgout.c: Likewise.
594 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
596 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
597 if type_required and passed decl.
599 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
601 * config.gcc (cpu_type): Include altivec.h in powerpc
605 * config/rs6000/altivec.h: New.
607 2002-01-17 David Edelsohn <edelsohn@gnu.org>
609 * doc/install.texi (*-ibm-aix*): Update assembler and exception
610 handling information.
611 * doc/trouble.texi (Interoperation): Add libstdc++ information
613 (Misunderstandings): Add template instantiation and static template
614 member information for AIX.
616 2002-01-17 Jason Merrill <jason@redhat.com>
618 * dbxout.c (dbxout_type): Support const and volatile.
620 * except.c (add_partial_entry): Remove backwards compatibility code.
621 (end_protect_partials): Likewise.
623 2002-01-17 Jakub Jelinek <jakub@redhat.com>
625 * config/ia64/ia64.md (prologue_use): New.
626 * config/ia64/ia64.c (ia64_expand_prologue): Use
627 gen_prologue_use instead of gen_rtx_USE.
628 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
629 as CODE_FOR_pred_rel_mutex.
630 (ia64_sched_reorder2): Likewise.
632 2002-01-16 Eric Christopher <echristo@redhat.com>
634 * config/mips/r3900.h: Reformat.
635 (SUBTARGET_CPP_SIZE_SPEC): Remove.
636 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
637 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
638 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
639 * config/mips/t-elf: Remove mips3 multilib.
641 2002-01-16 H.J. Lu <hjl@gnu.org>
643 * config/mips/linux.h: Include "mips/abi64.h".
645 2002-01-16 H.J. Lu <hjl@gnu.org>
647 * config/mips/t-linux: New.
649 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
651 * config/mips/linux.h: Don't include "gofast.h".
652 (INIT_SUBTARGET_OPTABS): Removed.
654 2002-01-16 Kazu Hirata <kazu@hxi.com>
656 * config/h8300/h8300-protos.h: Replace emit_a_shift with
658 * config/h8300/h8300.c: Likewise.
659 * config/h8300/h8300.md: Likewise.
661 2002-01-16 Kazu Hirata <kazu@hxi.com>
663 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
664 spaces after an opcode name.
665 (pushqi1_h8300hs): Likewise.
666 (pushhi1_h8300hs): Likewise.
668 2002-01-16 Kazu Hirata <kazu@hxi.com>
670 * doc/extend.texi: Replace "option" with "attribute"
673 2002-01-16 Jakub Jelinek <jakub@redhat.com>
675 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
676 (and:DI () (const_int -8)).
677 (split_small_symbolic_mem_operand): Split
678 (mem (and:DI () (const_int -8)).
680 2002-01-16 Jakub Jelinek <jakub@redhat.com>
683 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
684 same way as TYPE_IMUL.
685 (ultrasparc_sched_reorder): Likewise.
686 * config/sparc/sparc.md (type): Add comment to update
687 ultrasparc_sched_reorder when making changes.
689 2002-01-16 Kazu Hirata <kazu@hxi.com>
691 * doc/invoke.texi: Change the dump file name of block
692 reordering pass from 28.bbro to 29.bbro.
695 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
697 * i386.md (minsf splitter): Fix pasto.
699 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
701 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
702 to frame pointer initialisation instruction.
703 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
704 initialisation instruction.
705 (soft_df_operand): Do not accept the IP register.
706 (nonimmediate_soft_df_operand): Do not accept the IP register.
708 2002-01-16 Jakub Jelinek <jakub@redhat.com>
711 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
712 MASK_V8 being both set.
714 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
716 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
717 insn for GOT register; add REG_MAYBE_DEAD notes instead.
718 config/s390/s390.md (call, call_value): Add GOT register to
719 CALL_INSN_FUNCTION_USAGE where needed.
720 (call_exp, call_value_exp): New.
722 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
724 * config/arm/arm.c: General formatting tidy up.
726 2002-01-16 Graham Stott <grahams@redhat.com>
728 * calls.c (try_to_integrate): Use "(size_t)" intermediate
729 cast and when casting an integer literal to "rtx" pointer.
730 (expand_call): Likewise.
731 * flow.c (try_pre_increment): Likewise.
732 (find_use_as_address): Likewise.
733 * integrate.c (expand_iline_function): Likewise.
734 * regmove.c (try_auto_increment): Likewise.
736 2002-01-16 Graham Stott <grahams@redhat.com>
738 * sched-rgn.c (passed): Use sbitmap_free.
741 (in_queue): Likewise.
742 (in_stack): Likewise.
744 2002-01-15 Eric Christopher <echristo@redhat.com>
746 * flow.c (propagate_one_insn): Change to use fatal_insn.
748 2002-01-15 Kazu Hirata <kazu@hxi.com>
750 * expmed.c (extract_fixed_bit_field): Remove unused code.
751 * system.h: Poison SLOW_ZERO_EXTEND.
752 * doc/tm.texi: Remove.
753 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
754 * config/arm/arm.h: Likewise.
755 * config/avr/avr.h: Likewise.
756 * config/clipper/clipper.h: Likewise.
757 * config/convex/convex.h: Likewise.
758 * config/d30v/d30v.h: Likewise.
759 * config/dsp16xx/dsp16xx.h: Likewise.
760 * config/elxsi/elxsi.h: Likewise.
761 * config/fr30/fr30.h: Likewise.
762 * config/h8300/h8300.h: Likewise.
763 * config/i370/i370.h: Likewise.
764 * config/i386/i386.h: Likewise.
765 * config/m68k/m68k.h: Likewise.
766 * config/mips/mips.h: Likewise.
767 * config/ns32k/ns32k.h: Likewise.
768 * config/pdp11/pdp11.h: Likewise.
769 * config/pj/pj.h: Likewise.
770 * config/s390/s390.h: Likewise.
771 * config/sh/sh.h: Likewise.
772 * config/stormy16/stormy16.h: Likewise.
773 * config/v850/v850.h: Likewise.
774 * config/vax/vax.h: Likewise.
775 * config/we32k/we32k.h: Likewise.
777 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
779 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
780 (altivec_lvsl): Change constraint to b.
781 (altivec_lvsr): Same.
782 (altivec_lvebx): Same.
783 (altivec_lvehx): Same.
784 (altivec_lvewx): Same.
785 (altivec_lvxl): Same.
787 (altivec_stvx): Add parallel.
788 (altivec_stvxl): Same.
789 (altivec_stvehx): Same.
790 (altivec_stvebx): Same.
791 (altivec_stvebx): Same.
793 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
795 * config.gcc: Change altivec.h to altivec-defs.h.
797 * config/rs6000/altivec.h: Delete.
799 * config/rs6000/altivec-defs.h: Add.
801 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
803 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
806 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
807 less than or equal to eight bytes.
809 * vax.md (andsi3): Remove constraints and change SET destination
810 operand type to nonimmediate_operand.
811 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
812 when it is a CONST_INT.
814 2002-01-15 Jason Merrill <jason@redhat.com>
816 * c-common.def (FILE_STMT): New code.
817 * c-common.c (statement_code_p): It's a statement.
818 * c-common.h (stmt_tree_s): Add x_last_filename.
819 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
820 (last_expr_filename): New macro.
821 * c-semantics.c (begin_stmt_tree): Initialize it.
822 (add_stmt): If the filename changed, also insert a
824 (expand_stmt): Handle seeing one.
826 2002-01-15 Eric Christopher <echristo@redhat.com>
828 * flow.c (propagate_one_insn): Add error message and print out
831 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
833 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
834 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
835 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
836 TRAMPOLINE_ALIGNMENT.
837 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
839 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
840 PCC_BITFIELD_TYPE_MATTERS.
841 * config/interix.h (STDC_VALUE): Remove. Use
842 STDC_0_IN_SYSTEM_HEADERS.
843 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
844 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
845 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
847 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
849 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
850 not work on this platform currently.
852 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
854 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
855 readonly_warning in _().
857 2002-01-15 Douglas B Rupp <rupp@gnat.com>
859 * gcc.c (delete_if_ordinary): Backout previous change.
861 2002-01-15 Kazu Hirata <kazu@hxi.com>
863 * config/h8300/h8300.c (print_operand): Remove support for
864 unused operand characters.
866 * read-rtl.c: Fix formatting.
869 * regclass.c: Likewise.
870 * regmove.c: Likewise.
871 * reg-stack.c: Likewise.
872 * reload1.c: Likewise.
873 * rtlanal.c: Likewise.
875 2002-01-15 Kazu Hirata <kazu@hxi.com>
877 * config/i386/i386.c: Fix formatting.
879 2002-01-15 Jakub Jelinek <jakub@redhat.com>
881 * c-typeck.c (process_init_element): Don't save_expr
882 COMPOUND_LITERAL_EXPR if just its initializer will be used.
884 2002-01-15 David Edelsohn <edelsohn@gnu.org>
886 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
887 emit optional traceback table if optimize_size or TARGET_ELF.
888 * config/rs6000/rs6000.md (prefetch): New.
890 2002-01-15 Andreas Jaeger <aj@suse.de>
892 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
894 2002-01-15 Kazu Hirata <kazu@hxi.com>
896 * mips-tfile.c: Fix formatting.
898 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
900 * unroll.c (final_reg_note_copy): Fix previous commit.
902 2002-01-14 Kazu Hirata <kazu@hxi.com>
904 * config/h8300/h8300-protos.h: Remove the prototype for
906 * config/h8300/h8300.c (eq_operator): Remove.
908 2002-01-14 Richard Henderson <rth@redhat.com>
910 * config/i386/i386.md (prefetch): Tidy.
911 (prefetch_3dnow): Fix locality operand.
913 2002-01-14 Richard Henderson <rth@redhat.com>
915 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
916 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
918 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
920 * reload1.c (reload_combine): Pass reg_sum replacement through
921 copy_rtx in loop performing multiple changes.
923 2002-01-14 Jakub Jelinek <jakub@redhat.com>
925 * except.c (remove_unreachable_regions): New.
926 (free_eh_status): Clear exception_handler_labels.
927 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
928 (find_exception_handler_labels): Don't add the same label more than
930 (remove_exception_handler_label): Don't die if
931 find_exception_handler_labels hasn't been called for the current
934 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
936 * toplev.c (rest_of_compilation): Rebuild jump labels after
939 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
941 * doc/extend.texi: Move documentation of X86 built-in functions
943 * doc/invoke.texi: From here.
944 * doc/sourcebuild.texi: Document location of documentation for
945 machine built-in functions.
947 2002-01-13 Christopher Faylor <cgf@redhat.com>
949 * cppfiles.c (TEST_THRESHOLD): New macro.
950 (SHOULD_MMAP): Ditto.
951 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
954 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
956 * unroll.c (final_reg_note_copy): Properly handle
958 (unroll_loops): Fix LOOP_CONDITION heuristics.
960 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
962 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
963 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
965 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
967 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
970 2002-01-14 Tom Rix <trix@redhat.com>
972 * config/rs6000/rs6000.md: Fix typo with sradi.
974 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
976 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
977 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
978 (clrstrdi, clrstrsi): Adapt callers.
980 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
982 (movti splitter): Never use register 0 as base register.
984 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
986 * combine.c (simplify_shift_const): Always generate new rtx
987 for shift expression instead of reusing given expression.
989 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
991 * config/alpha/alpha.c (alpha_expand_mov): Don't call
992 alpha_legitimize_address unless mode is Pmode.
994 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
996 * doc/md.texi (Modifiers): Document the '*' constraint for the
999 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
1000 * doc/extend.texi (Function Attributes): 'interrupt' is valid
1003 2002-01-13 Richard Henderson <rth@redhat.com>
1005 * reload.c (find_reloads): Use a hard reg destination as reload reg
1006 for an input reload of the source.
1008 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1010 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
1013 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
1015 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1016 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1018 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
1020 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1022 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
1024 2002-01-12 Tom Rix <trix@redhat.com>
1026 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
1029 2002-01-12 Richard Henderson <rth@redhat.com>
1031 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
1033 * doc/invoke.texi: Update Alpha options.
1035 * doc/invoke.texi: Update i386 built-in function lists.
1037 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
1039 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
1040 referencing outside.
1042 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1044 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
1045 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
1046 offsets, and change line folding.
1047 * optabs.c (expand_binop): Remove warnings.
1048 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
1050 2002-01-12 Graham Stott <grahams@redhat.com>
1052 * attribs.c (handle_deprecated_attribute): constify WHAT.
1053 * diagnostic.c (warn_deprecated_use): Add braces, fixes
1054 dangling else warning and constify WHAT.
1055 * except.h (struct function, struct inline_remap): Move
1056 struct tag forward defs before all prototypes.
1057 (duplicate_eh_regions): Whitespace.
1059 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
1061 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
1062 MODE_BASE_REG_CLASS.
1063 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
1065 2002-01-12 Richard Henderson <rth@redhat.com>
1067 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
1068 (ix86_expand_vector_move): New.
1069 (bdesc_2arg): Remove andps, andnps, orps, xorps.
1070 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
1071 Remove old prefetch builtins. Special case the logicals removed above.
1072 (ix86_expand_builtin): Likewise.
1073 (safe_vector_operand): Use V4SFmode, not TImode.
1074 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
1075 (ix86_expand_timode_binop_builtin): New.
1076 * config/i386/i386-protos.h: Update.
1077 * config/i386/i386.h (enum ix86_builtins): Update.
1078 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
1079 Use ix86_expand_vector_move in vector move expanders.
1080 (movti_internal, movti_rex64): Add xorps alternative.
1081 (sse_clrv4sf): Rename and adjust from sse_clrti.
1082 (prefetch): Don't work so hard.
1083 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
1084 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
1085 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
1087 2002-01-11 Richard Henderson <rth@redhat.com>
1089 * config/i386/mmintrin.h: New file.
1090 * config/i386/xmmintrin.h: New file.
1091 * config.gcc (i?86-*-*): Add extra_headers.
1092 * simplify-rtx.c (simplify_unary_operation): Handle saturating
1094 (simplify_binary_operation): Handle saturating arithmetic codes.
1095 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
1096 not the lowpart subreg.
1097 (ix86_expand_builtin): Return a TImode dummy register instead of 0
1099 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
1101 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1103 * conflict.c (conflict_graph_compute): Free regsets when finished.
1104 * ssa.c (compute_coalesced_reg_partition): Likewise.
1106 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1108 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
1109 every where we allocate a register.
1111 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1113 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
1114 * lcm.c (compute_earliest, compute_farthest): Likewise.
1116 2002-01-11 Janis Johnson <janis187@us.ibm.com>
1118 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
1120 2002-01-11 Janis Johnson <janis187@us.ibm.com>
1122 * doc/rtl.texi (Insns): Fix 2 typos.
1124 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1126 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
1127 options. Use @table @gcctabopt for MMIX options. Add index
1128 entries for MMIX options. Start new paragraph with first
1129 heading of the machine-dependent options.
1131 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
1134 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
1135 * combine.c (force_to_mode): Same.
1136 * reload1.c (clear_reload_reg_in_use): Same.
1138 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
1140 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
1143 2002-01-11 Andreas Jaeger <aj@suse.de>,
1144 Brad Lucier <lucier@math.purdue.edu>
1146 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
1149 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
1151 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
1152 Protect with IN_LIBGCC.
1153 (LINK_EH_SPEC): Add required trailing space.
1155 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
1157 * c-tree.h: Move function declarations so that they are listed
1158 under the filename which contains them.
1159 (check_identifier, finish_decl_top_level,
1160 lookup_name_current_level_global, shadow_record_fields): Remove.
1162 2002-01-11 Andreas Jaeger <aj@suse.de>
1164 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
1167 2002-01-10 Richard Henderson <rth@redhat.com>
1169 * config/alpha/alpha.c (print_operand): Add 'J'.
1170 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
1171 new operand with the sequence number for the lituse. When splitting
1172 the insns, use gen_movdi_er_high_g and generate a sequence number.
1173 (gen_movdi_er_high_g): Print the sequence number if non-zero.
1175 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
1177 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
1178 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
1180 (altivec_expand_builtin): Same.
1181 (altivec_expand_stv_builtin): New.
1183 * config/rs6000/rs6000.h (rs6000_builtins): Same.
1185 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
1186 ("altivec_lvehx"): New.
1187 ("altivec_lvewx"): New.
1188 ("altivec_lvxl"): New.
1189 ("altivec_lvx"): New.
1190 ("altivec_stvx"): New.
1191 ("altivec_stvebx"): New.
1192 ("altivec_stvehx"): New.
1193 ("altivec_stvewx"): New.
1194 ("altivec_stvxl"): New.
1196 2002-01-10 Richard Henderson <rth@redhat.com>
1198 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
1199 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
1200 care not to delete instructions twice.
1202 2002-01-10 Zack Weinberg <zack@codesourcery.com>
1204 * toplev.c: Don't declare environ (it's not used anywhere).
1205 * configure.in: Don't check for declaration of environ.
1206 * config/i386/xm-mingw32.h: Don't #define environ.
1207 * config.in, configure: Regenerate.
1209 2002-01-10 Zack Weinberg <zack@codesourcery.com>
1211 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
1212 * configure: Regenerate.
1214 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
1215 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
1216 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
1218 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
1219 LIMITS_H_TEST here, not in m68k/x-next.
1220 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
1221 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
1223 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
1224 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
1225 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
1227 * config/i386/x-djgpp: Renamed i386/t-djgpp.
1228 * config/m88k/x-dolph: Renamed m88k/t-dolph.
1229 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
1230 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
1231 replacement of quadlib.asm with quadlib.c.
1233 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
1234 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
1235 config/rs6000/xm-beos.h: Delete file.
1237 * config.gcc: Update to match above changes.
1239 2002-01-10 Kazu Hirata <kazu@hxi.com>
1241 * config/h8300/h8300.h: Fix comment typos.
1242 * config/h8300/h8300.md: Likewise.
1243 * config/h8300/lib1funcs.asm: Likewise.
1245 2002-01-10 Dale Johannesen <dalej@apple.com>
1247 PR optimization/5269
1248 * unroll.c (precondition_loop_p): Make *increment be the correct
1249 sign when n_iterations known, to avoid confusing caller.
1251 2002-01-10 Kazu Hirata <kazu@hxi.com>
1253 * doc/extend.texi (deprecated): Fix a typo.
1255 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
1257 * basic-block.h (update_br_prob_note): Declare.
1258 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
1259 (try_forward_edges): Care negative frequencies and update note.
1260 (outgoing_edges_match): Tweek conditional merging heuristics.
1261 (try_crossjump_to_edge): use update_br_prob_note.
1262 * cfglayout.c (fixup_reorder_chain): Likewise.
1263 * cfrtl.c (update_br_prob_note): New.
1264 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
1266 * i386.c (ix86_decompose_address): Return -1 if address contains
1268 (legitimate_address_p): Require ix86_decompose_address to return 1.
1270 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
1271 (cprop_insn): Likewise.
1273 2002-01-10 Kazu Hirata <kazu@hxi.com>
1275 * toplev.c: Fix formatting.
1277 * tree-dump.c: Likewise.
1278 * unroll.c: Likewise.
1279 * unwind-dw2.c: Likewise.
1280 * unwind-dw2-fde.c: Likewise.
1281 * unwind-dw2-fde-glibc.c: Likewise.
1282 * unwind-sjlj.c: Likewise.
1284 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1286 * doc/invoke.texi: Document PDP-11 options.
1288 2002-01-10 Kazu Hirata <kazu@hxi.com>
1290 * config/h8300/h8300.h: Fix formatting.
1292 2001-01-10 Ira Ruben <ira@apple.com>
1294 Add __attribute__ ((deprecated)).
1295 * extend.texi: Document __attribute__ ((deprecated)).
1296 * invoke.texi: Document -Wno-deprecated-declarations.
1297 * testsuite/g++.dg/other/deprecated.C: New C++ test.
1298 * testsuite/gcc.dg/deprecated.c: New C test.
1299 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
1300 (c_common_attribute_table): Add "deprecated" entry.
1301 (handle_deprecated_attribute): New function.
1302 * c-decl.c (deprecated_states): New enum.
1303 deprecated_state: State of "deprecated" handling.
1304 (start_decl): Set deprecated_state based on attributes.
1305 (grokdeclarator): Test for deprecated uses, propagate attribute.
1306 * c-typeck.c (build_component_ref): Test for deprecated fields.
1307 (build_external_ref): Test for deprecated primaries.
1308 * diagnostic.c (warn_deprecated_use) New function to issue
1309 warnings about __attribute__ ((depricated)) references.
1310 * flags.h (warn_deprecated_decl): Extern declared for
1311 -W[no-]deprecated-declarations option.
1312 * print-tree.c (print_node): Show deprecated flag status.
1313 * toplev.c (warn_deprecated_decl): Defined.
1314 (W_options): Added "deprecated-declaration".
1315 * toplev.h (warn_deprecated_use): Extern declared.
1316 * tree.h (struct tree_common): Define deprecated_flag.
1317 (TREE_DEPRECATED): New macro to access flag.
1318 * cp/call.c (build_call): Test for deprecated calls.
1319 * cp/class.c (add_implicitly_declared_members): Set global
1320 flag to tell grokdeclarator to not issue deprecated warnings.
1321 * cp/cp-tree.h: Add extern for adding_implicit_members.
1322 * cp/decl.c (deprecated_states): New enum.
1323 (start_decl): Set deprecated_state based on attributes.
1324 (grokdeclarator): Test for deprecated uses, propagate attribute.
1325 * cp/lex.c (do_identifier): Test for deprecated primaries.
1326 * cp/typeck.c (build_component_ref): Test for deprecated fields.
1328 2001-01-10 Ira Ruben <ira@apple.com>
1330 Fix to assign attributes to inline member functions.
1331 * cp/decl.c (start_method): Handle attrlist.
1333 2002-01-10 Kazu Hirata <kazu@hxi.com>
1335 * combine.c (expand_field_assignment): Use subreg_lsb().
1337 2002-01-10 David Edelsohn <edelsohn@gnu.org>
1339 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
1340 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
1341 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
1342 Recurse for any operand of AND as long as constant is non-zero.
1344 2002-01-10 Kazu Hirata <kazu@hxi.com>
1346 * config/h8300/h8300.md: Remove constraints from expanders.
1348 2002-01-10 Kazu Hirata <kazu@hxi.com>
1350 * varasm.c: Fix formatting.
1351 * varray.c: Likewise.
1352 * vmsdbgout.c: Likewise.
1353 * xcoffout.c: Likewise.
1355 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
1357 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
1358 update edge probabilities to match.
1360 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1362 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
1364 * doc/languages.texi, doc/sourcebuild.texi: New files.
1365 * doc/configfiles.texi: Make a subsubsection. Update.
1366 * doc/configterms.texi: Add @node. Remove warning that this isn't
1367 instructions for building GCC.
1368 * doc/makefile.texi: Make a subsection.
1369 * doc/gccint.texi: Update.
1371 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
1373 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
1375 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
1377 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
1379 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
1381 * optabs.c (expand_fix): Look for wider integer modes first.
1383 * i386.md (mov?f): Avoid the fake const double trick for medium
1385 (min?f*/max?f*): Prohibit memory operands for i387 variant.
1386 (fop_df_4): Disable for SSE compilation.
1388 2002-01-10 Graham Stott <grahams@redhat.com>
1390 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
1391 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
1393 2002-01-10 Richard Henderson <rth@redhat.com>
1395 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
1397 2002-01-10 Richard Henderson <rth@redhat.com>
1399 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
1400 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
1402 2002-01-10 Kazu Hirata <kazu@hxi.com>
1404 * combine.c (can_combine_p): Fix a comment typo.
1406 2002-01-09 Zack Weinberg <zack@codesourcery.com>
1408 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
1409 empty list correctly. Change loop index $t to $f for
1410 consistency with rest of Makefile.
1412 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
1414 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
1415 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1417 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
1418 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
1419 (altivec_init_builtins): Same.
1420 (altivec_expand_unop_builtin): Return NULL_RTX on error.
1421 (altivec_expand_binop_builtin): Same.
1422 (altivec_expand_ternop_builtin): Same.
1425 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
1426 ("altivec_vctuxs"): Fix typo.
1427 ("altivec_vnmsubfp"): Same.
1428 ("altivec_dssall"): New.
1429 ("altivec_mfvscr"): New.
1430 ("altivec_dss"): New.
1431 ("altivec_lvsl"): New.
1432 ("altivec_lvsr"): New.
1433 ("altivec_dstt"): New.
1434 ("altivec_dstst"): New.
1435 ("altivec_dststt"): New.
1436 ("altivec_dst"): New.
1438 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
1439 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1441 2002-01-09 Richard Henderson <rth@redhat.com>
1443 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
1445 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
1447 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
1449 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
1451 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
1453 2002-01-09 Kazu Hirata <kazu@hxi.com>
1455 * read-rtl.c: Fix formatting.
1457 * regclass.c: Likewise.
1458 * regrename.c: Likewise.
1459 * reg-stack.c: Likewise.
1460 * reload1.c: Likewise.
1461 * reload.c: Likewise.
1464 2002-01-09 Kazu Hirata <kazu@hxi.com>
1466 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
1467 to extract items in the expr_list chain.
1469 2002-01-09 Richard Henderson <rth@redhat.com>
1471 * config/vax/vax.c (vax_rtx_cost): Never abort.
1473 * config/vax/vax.h (REAL_ARITHMETIC): Define.
1475 2002-01-09 Jan Hubicka <jh@suse.cz>
1477 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
1479 2002-01-09 Richard Henderson <rth@redhat.com>
1481 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
1482 Unify code from various alternatives.
1484 2002-01-09 Richard Henderson <rth@redhat.com>
1486 * regrename.c (copy_value): Ignore the copy if the source register
1487 is present in the value chain with a narrower mode.
1489 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1491 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
1492 for the c4x target. Also improve layout.
1494 2002-01-09 Richard Henderson <rth@redhat.com>
1496 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
1497 * config/m32r/m32r.md (and ior xor splitters): Swap operands
1498 to match insn patterns.
1500 2002-01-09 Richard Henderson <rth@redhat.com>
1502 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
1503 (copyprop_hardreg_forward_1): Likewise.
1505 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
1507 * pa.md (decrement_and_branch_until_zero): Change predicate for
1508 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
1510 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1512 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
1513 gets undefined. For Darwin.
1515 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1517 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
1519 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1521 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
1523 2002-01-08 Richard Henderson <rth@redhat.com>
1525 * regrename.c (copy_value): Ignore overlapping copies.
1527 2002-01-08 Richard Henderson <rth@redhat.com>
1529 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
1530 as needed to avoid shared structure.
1532 2002-01-08 Kazu Hirata <kazu@hxi.com>
1534 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
1537 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1539 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
1540 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
1541 documentation of obsolete macros.
1542 * system.h: Poison these macros.
1543 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
1544 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
1545 config/c4x/c4x.h, config/clipper/clipper.h,
1546 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
1547 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
1548 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
1549 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
1550 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
1551 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
1552 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
1553 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
1554 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
1555 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
1556 config/sparc/sparc.h, config/stormy16/stormy16.h,
1557 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
1558 definitions and commented out definitions of obsolete macros.
1559 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
1560 of MAX_INT_TYPE_SIZE.
1562 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1564 * config/s390/s390.c (s390_preferred_reload_class): Never
1565 return ADDR_REGS if it isn't a subset of the given class.
1566 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
1567 FP_REGS, but all superclasses as well.
1569 * config/s390/s390.c (s390_function_profiler): Fix thinko.
1571 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
1572 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
1573 must not be a const_int.
1575 2002-01-08 Richard Henderson <rth@redhat.com>
1577 * Makefile.in (toplev.o): Depend on options.h.
1578 (gcc.o): Depend on specs.h.
1580 2002-01-08 Jakub Jelinek <jakub@redhat.com>
1582 * expr.c (store_expr): Convert VOIDmode constants back to target's
1585 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1587 * doc/invoke.texi: Markup gcc as @command. Refer to
1588 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
1589 of http://gcc.gnu.org/thanks.html.
1591 2002-01-08 Dale Johannesen <dalej@apple.com>
1593 * config/rs6000/rs6000.md: Add missing int register
1594 target case to movdf_low.
1596 2002-01-08 Zack Weinberg <zack@codesourcery.com>
1598 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
1599 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
1600 (cppinit.o): Depend on except.h.
1601 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
1602 s-specs): New rules.
1604 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
1605 Don't create specs.h/options.h/gencheck.h here. Remove
1606 unnecessary variable settings from last argument of AC_OUTPUT.
1607 * config.in, configure: Regenerate.
1608 * intl.c: Hardcode package name as "gcc".
1610 * cppinit.c: Include except.h.
1611 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
1613 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
1614 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
1615 (!)USING_SJLJ_EXCEPTIONS.
1616 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
1618 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1620 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
1621 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
1622 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
1623 documentation of obsolete macros.
1624 * system.h: Poison these macros.
1625 * config/d30v/d30v.h, config/ns32k/encore.h,
1626 config/stormy16/stormy16.h: Remove definitions and commented out
1627 definitions of obsolete macros.
1629 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
1631 * objc/objc-act.c (handle_class_ref): Mark the declaration of
1632 %sobjc_class_ref_%s as used - to prevent unwanted compiler
1635 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1637 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
1638 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
1639 to insn adjusting stack/frame pointer.
1640 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
1641 accept operands that cause the insn to be non-splittable.
1643 2002-01-08 Graham Stott <grahams@redhat.com>
1645 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
1646 (C_TYPE_FIELDS_VOLATILE): Likewise.
1647 (C_TYPE_BEING_DEFINED): Likewise.
1648 (C_IS_RESERVED_WORD): Likewise.
1649 (C_TYPE_VARIABLE_SIZE): Likewise.
1650 (C_DECL_VARIABLE_SIZE): Likewise.
1651 (C_MISSING_PROTOTYPE_WARNED): Likewise.
1652 (C_SET_EXP_ORIGINAL_CODE): Likewise.
1653 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
1655 (C_DECL_ANTICIPATED): Likewise.
1656 (c_build_type_variant): Add parenthesis.
1658 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1660 * gcc.c (option_map): Remove --version.
1661 (process_command): Handle -fversion following the GNU Coding
1662 Standards. Partially addresses PR other/704.
1664 2002-01-08 Graham Stott <grahams@redhat.com>
1666 * combine.c (combine_instructions): Fix typo.
1668 2002-01-08 Graham Stott <grahams@redhat.com>
1670 * debug.h: Use "tree" and "rtx" throughout.
1672 * debug.c: Likewise.
1674 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
1676 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
1677 constant pool, use the pool's version of the symbol instead.
1679 2002-01-07 Richard Henderson <rth@redhat.com>
1681 * regrename.c (find_oldest_value_reg): Ignore the value chain if
1682 the original register was copied in a mode with a fewer number of
1683 hard registers than the desired mode.
1684 (copyprop_hardreg_forward_1): Likewise.
1685 (debug_value_data): Fix loop test.
1686 * toplev.c (parse_options_and_default_flags): Reenable
1687 -fcprop-registers at -O1.
1689 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1691 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
1692 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
1694 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
1697 * config/rs6000/rs6000.md: Add altivec predicate patterns.
1699 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
1701 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
1702 (pa_output_function_prologue): Output local label at the beginning of
1703 the prologue when profiling.
1704 (hppa_profile_hook): Use the local label rather than the function label.
1705 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
1707 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1709 * config/rs6000/rs6000.c (print_operand): Remove extra space.
1710 (altivec_expand_unop_builtin): Fix thinko.
1711 (altivec_expand_binop_builtin): Same.
1712 (altivec_expand_ternop_builtin): Same.
1713 (altivec_expand_builtin): Same.
1715 2002-01-07 Richard Henderson <rth@redhat.com>
1717 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
1719 2002-01-07 Jason Merrill <jason@redhat.com>
1721 * unwind-dw2.c (execute_cfa_program): Use < again.
1723 2002-01-07 Jakub Jelinek <jakub@redhat.com>
1725 * predict.c (combine_predictions_for_insn): Avoid division by zero.
1727 2002-01-07 Jakub Jelinek <jakub@redhat.com>
1729 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
1730 Don't allow -1 - x -> ~x simplifications in the first pass.
1732 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1734 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
1736 (altivec_expand_binop_builtin): Same.
1737 (altivec_expand_unop_builtin): Same.
1738 (print_operand): Fix typo.
1739 (bdesc_1arg): Add vupk* variants.
1741 * rs6000.h (rs6000_builtins): Add vupk* enums.
1743 * rs6000.md: Add altivec_vupk* variants.
1745 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
1747 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
1748 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
1749 and last update dates.
1751 2002-01-07 Janis Johnson <janis187@us.ibm.com>
1753 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
1755 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
1757 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
1758 * config/avr/avr.h (CPP_SPEC): Likewise.
1759 (LINK_SPEC): Likewise.
1760 (CRT_BINUTILS_SPECS): Likewise.
1761 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
1762 * doc/invoke.texi (AVR Options): Document them.
1764 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
1766 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
1769 2002-01-07 Graham Stott <grahams@redhat.com>
1771 * config/i386/i386.h: Update copyright date.
1772 (HALF_PIC_PTR): Add parenthesis.
1773 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
1774 (CONSTANT_ALIGNMENT): Add parenthesis.
1775 (DATA_ALIGNMENT): Likewise.
1776 (LOCAL_ALIGNMENT): Likewise.
1777 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
1778 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
1779 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
1780 (HARD_REGNO_NREGS): Add paranethesis.
1781 (VALID_SSE_REG_MODE): Whitespace.
1782 (VALID_MMX_REG_MODE): Whitespace.
1783 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
1784 (ix86_hard_regno_mode_ok): Add parenthesis.
1785 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
1786 (RETURN_IN_MEMORY): Whitespace.
1787 (N_REG_CLASSES): Add parenthesis.
1788 (INTEGER_CLASS_P): Add parenthesis and wrap.
1789 (FLOAT_CLASS_P): Likewise.
1790 (SSE_CLASS_P): Likewise.
1791 (MMX_CLASS_P): Likewise.
1792 (MAYBE_INTEGER_CLASS_P): Likewise.
1793 (MAYBE_FLOAT_CLASS_P): Likewise.
1794 (MAYBE_SSE_CLASS_P): Likewise.
1795 (MAYBE_MMX_CLASS_P): Likewise.
1796 (Q_CLASS_P): Likewise.
1797 (GENERAL_REGNO_P): Uppercase macro parameter.
1798 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
1799 (FP_REGNO_P): Likewise.
1800 (ANY_FP_REGNO_P): Uppercase macro parameter.
1801 (SSE_REGNO_P): Likewise.
1802 (SSE_REGNO): Likewise.
1803 (SSE_REG_P): Likewise.
1804 (SSE_FLOAT_MODE_P): Likewise.
1805 (MMX_REGNO_P): Likewise.
1806 (MMX_REG_P):Likewise.
1807 (STACK_REG_P): Likewise.
1808 (NON_STACK_REG_P): Likewise.
1809 (STACK_TOP_P): Likewise.
1810 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
1811 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
1812 (SECONDARY_MEMORY_NEEDED): Likewise.
1813 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
1814 (MD_ASM_CLOBBERS): Whitespace and wrap.
1815 (MUST_PASS_IN_STACK): Whitespace and wrap.
1816 (RETURN_POPS_ARGS): Add parenthesis.
1817 (INIT_CUMULATIVE_ARGS): Likewise.
1818 (FUNCTION_ARG): Likewise.
1819 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
1820 (SETUP_INCOMING_VARARGS): Likewise.
1821 (BUILD_VA_LIST_TYPE): Add parenthesis.
1822 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
1824 (EXPAND_BUILTIN_VA_ARG): Likewise.
1825 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
1826 (INITIALIZE_TRAMPOLINE): Add parenthesis.
1827 (INITIAL_ELIMINATION_OFFSET): Likewise.
1828 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
1829 (REGNO_OK_FOR_BASE_P): Likewise.
1830 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
1831 (REGNO_OK_FOR_DIREG_P): Likewise.
1832 (REG_OK_FOR_INDEX_P): Whitespace.
1833 (REG_OK_FOR_BASE_P): Whitespace.
1834 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
1836 (FIND_BASE_TERM): Fix typo.
1837 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
1838 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
1839 (SYMBOLIC_CONST; Whitespace.
1840 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
1841 (ENCODE_SECTION_INFO): Whitespace.
1842 (FINALIZE_PIC): Remove do { ... } while (0).
1843 (PROMOTE_MODE): Wrap in do { ... } while (0).
1844 (CONST_COSTS): Whitespace.
1845 (RTX_COSTS): Add paramethesis, whitespace and wrap.
1846 (REGISTER_MOVE_COST): Add parenthesis.
1847 (MEMORY_MOVE_COST): Likewise.
1848 (EXTRA_CC_MODES): Whitespace.
1849 (SELECT_CC_MODE): Add parenthesis and whitespace.
1850 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
1851 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
1852 (ASM_OUTPUT_LABEL): Add paramethesis.
1853 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
1854 (ASM_OUTPUT_REG_POP): Likewise.
1855 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
1856 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
1858 * config/i386/i386.c: Update copyright.
1859 (CHECK_STACK_LIMIT): Add parenthesis.
1860 (AT_BP): Uppercase macro parameter.
1861 (x86_64_int_parameter_registers): Constify.
1862 (x86_64_int_return_registers): Likewise.
1863 (ix86_compare_op0): Use rtx.
1864 (construct_container): Constify INTREG parameter.
1865 (function_arg): Use rtx.
1867 * diagnostic.h: Update copyright date.
1868 (output_buffer_state): Add parenthesis.
1869 (output_buffer_format_args): Likewise.
1871 * combine.c (combine_instructions): Replace XEXP (links, 0)
1874 2002-01-06 H.J. Lu <hjl@gnu.org>
1876 * cfgcleanup.c (thread_jump): Fix 2 typos.
1878 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
1880 * config.gcc: Add support for --enable-altivec.
1882 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
1884 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
1886 2002-01-06 Jakub Jelinek <jakub@redhat.com>
1888 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
1889 __objc_class_name_*.
1891 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
1893 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
1895 2002-01-06 Richard Henderson <rth@redhat.com>
1897 * reorg.c (emit_delay_sequence): Remove death notes, not merely
1898 nop them out. Increment label reference count for REG_LABEL.
1899 (fill_slots_from_thread): Frob label reference count around
1900 delete_related_insns.
1902 2002-01-05 Richard Henderson <rth@redhat.com>
1904 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
1907 2002-01-05 Richard Henderson <rth@redhat.com>
1909 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
1910 * integrate.c (output_inline_function): Likewise.
1911 * toplev.c (rest_of_compilation): Do it here instead. Move call
1912 to remove_unnecessary_notes after emitting abstract instance.
1913 Force an emitted nested function to have its parent emited as well.
1914 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
1916 (rtl_for_decl_location): Do not look at reload data structures
1917 before reload has run.
1919 2002-01-05 Kazu Hirata <kazu@hxi.com>
1921 * cse.c: Fix formatting.
1922 * dwarf2asm.c: Likewise.
1923 * dwarf2out.c: Likewise.
1924 * explow.c: Likewise.
1925 * expmed.c: Likewise.
1926 * function.c: Likewise.
1928 * gencheck.c: Likewise.
1929 * genrecog.c: Likewise.
1930 * ggc-common.c: Likewise.
1931 * ggc-page.c: Likewise.
1932 * global.c: Likewise.
1934 2002-01-05 Kazu Hirata <kazu@hxi.com>
1936 * combine.c: Fix formatting.
1938 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
1941 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
1943 2002-01-05 David Edelsohn <edelsohn@gnu.org>
1945 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
1946 as 1 for __powerpc64__ as well.
1948 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
1950 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
1953 2002-01-05 Daniel Berlin <dan@dberlin.org>
1955 * lcm.c: Revert change, due to performance regression it causes on
1956 SPEC because it's slightly more conservative (sigh, I hate
1959 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
1961 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
1963 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
1965 * doc/cppinternals.texi: Update.
1967 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
1969 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
1970 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
1972 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
1973 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
1974 kludge for pre-october-14th mmix versions to handle new-found bug
1975 with PUSHJ/PUSHGO and the register stack.
1976 * config/mmix/mmix.h (struct machine_function): Rename member
1977 has_call_value_without_parameters to has_call_without_parameters.
1978 All referers changed.
1979 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
1980 TARGET_MASK_BRANCH_PREDICT): New macros.
1981 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
1982 -mno-reg-stack-fill-bug-workaround.
1983 * config/mmix/mmix.md ("call"): Set struct machine member
1984 has_call_without_parameters.
1986 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
1988 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
1990 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
1992 * cfgcleanup.c: Include tm_p.h
1993 (mark_effect): Fix handling of hard register; fix handling of SET
1995 2002-01-04 Kazu Hirata <kazu@hxi.com>
1997 * config/h8300/h8300.md (anonymous patterns): Check that
1998 operands are registers before using REGNO on them.
2000 2002-01-03 Roland McGrath <roland@frob.com>
2002 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
2004 2002-01-04 Jakub Jelinek <jakub@redhat.com>
2006 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
2007 * c-common.h (genrtl_expr_stmt_value): Likewise.
2008 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
2009 (expand_expr_stmt_value): Add maybe_last argument.
2010 Don't warn about statement with no effect if it is the last statement
2011 in expression statement.
2012 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
2013 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
2014 expand_expr_stmt_value.
2015 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
2016 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
2017 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
2018 as maybe_last to expand_expr_stmt_value.
2020 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
2022 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
2023 be passed in, do not build it.
2024 (c_begin_if_stmt): New function.
2025 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2026 * c-common.h (c_expand_start_cond): Update prototype.
2027 (c_begin_if_stmt): Prototype new function.
2028 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2029 * c-parse.in (if_prefix): Use c_begin_if_stmt,
2030 c_begin_while_stmt and c_finish_while_stmt_cond.
2032 2002-01-04 William Cohen <wcohen@redhat.com>
2034 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
2035 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2036 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2037 * config/pa/som.h (ASM_FILE_START): Likewise.
2039 2001-01-04 Daniel Berlin <dan@cgsoftware.com>
2041 * lcm.c: Include df.h.
2042 Add available_transfer_function prototype.
2043 (compute_available): Rework to use iterative dataflow framework.
2044 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
2045 with bb_info in df.h
2046 (available_transfer_function): New function.
2048 * Makefile.in (lcm.o): add df.h to dependencies.
2050 2002-01-04 Richard Henderson <rth@redhat.com>
2052 * config/alpha/alpha.c (some_operand): Accept HIGH.
2053 (input_operand): Likewise; accept simple references to globals.
2054 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
2055 (alpha_const_double_ok_for_letter_p): Likewise.
2056 (alpha_extra_constraint): Likewise.
2057 (alpha_preferred_reload_class): Likewise. Do not force
2058 symbolic constants to memory.
2059 (alpha_legitimate_address_p): Accept simple references
2060 to small_symbolic_operand.
2061 (alpha_legitimize_address): New arg scratch. Be prepared to be
2062 called when no_new_pseudos. Emit simple symbolic references.
2063 Split integers into low, high, and rest.
2064 (alpha_expand_mov): Use alpha_legitimize_address.
2065 (some_small_symbolic_mem_operand): New.
2066 (split_small_symbolic_mem_operand): New.
2067 * config/alpha/alpha-protos.h: Update.
2068 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
2069 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
2070 (EXTRA_CONSTRAINT): Likewise.
2071 (PREFERRED_RELOAD_CLASS): Likewise.
2072 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
2073 (PREDICATE_CODES): Update.
2074 * config/alpha/alpha.md: New post-reload splitters to convert
2075 simplfied symbolic operands to the form that references $29.
2076 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
2077 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
2079 2002-01-03 Richard Henderson <rth@redhat.com>
2081 * local-alloc.c (function_invariant_p): Update commentary.
2083 2002-01-04 H.J. Lu <hjl@gnu.org>
2085 * toplev.c (rest_of_compilation): Fix a typo when calling
2088 2002-01-03 Kazu Hirata <kazu@hxi.com>
2090 * c-common.c: Fix formatting.
2091 * diagnostic.c: Likewise.
2092 * doloop.c: Likewise.
2093 * dwarf2out.c: Likewise.
2095 2002-01-03 Kazu Hirata <kazu@hxi.com>
2097 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
2098 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
2100 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2102 * cpperror.c: Update comments and copyright.
2103 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
2104 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
2106 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
2108 * collect2.c (main): Use strcmp when testing for "-shared".
2110 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2112 * cppmacro.c: Don't include intl.h. Update comments.
2113 (new_number_token): Allocate enough buffer for 64-bit unsigned
2114 integers; update prototype.
2115 * cppmain.c: Update comments.
2117 2002-01-03 William Cohen <wcohen@redhat.com>
2119 * function.h (struct function): Add profile.
2120 (current_function_profile): New.
2121 doc/extend.texi: Update documentation.
2122 * final.c (final_start_function): Use current_function_profile
2123 instead of profile_flag.
2124 (profile_after_prologue): Likewise.
2125 * function.c (expand_function_start): Likewise.
2126 (expand_function_start): Likewise.
2127 * config/alpha/alpha.c (direct_call_operand):
2128 (alpha_does_function_need_gp): Likewise.
2129 (alpha_expand_prologue): Likewise.
2130 * config/arm/arm.c (arm_expand_prologue): Likewise.
2131 thumb_expand_prologue: Likewise.
2132 * config/d30v/d30v.c (d30v_stack_info): Likewise.
2133 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
2134 (fr30_expand_prologue): Likewise.
2135 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
2136 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
2137 * config/i386/i386.h (FINALIZE_PIC): Likewise.
2138 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
2139 * config/i960/i960.c (i960_output_function_prologue): Likewise.
2140 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
2141 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
2142 (m32r_expand_prologue): Likewise.
2143 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
2144 (m88k_expand_prologue): Likewise.
2145 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
2146 * config/mips/mips.c (compute_frame_size): Likewise.
2147 (mips_expand_prologue): Likewise.
2148 (mips_can_use_return_insn): Likewise.
2149 * config/pa/elf.h (ASM_FILE_START): Likewise.
2150 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2151 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2152 * config/pa/som.h (ASM_FILE_START): Likewise.
2153 * config/romp/romp.c (romp_using_r14): Likewise.
2154 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
2155 (rs6000_stack_info): Likewise.
2156 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2157 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
2158 * config/v850/v850.c (compute_register_save_size): Likewise.
2160 2002-01-03 Jakub Jelinek <jakub@redhat.com>
2162 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
2163 gen_lowpart_common fails, use gen_lowpart_SUBREG.
2165 2002-01-03 Turly O'Connor <turly@apple.com>
2167 * darwin.c (machopic_output_possible_stub_label): Don't generate
2168 stub routines for pseudo-stubs which we've just defined.
2170 2002-01-03 Kazu Hirata <kazu@hxi.com>
2172 * builtins.c: Fix formatting.
2173 * c-typeck.c: Likewise.
2174 * combine.c: Likewise.
2178 2002-01-03 Andreas Schwab <schwab@suse.de>
2180 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
2181 and return true if _cpp_push_next_buffer pushed a new include
2183 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
2184 _cpp_pop_file_buffer did not push a new file.
2185 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
2187 2002-01-02 Eric Christopher <echristo@redhat.com>
2189 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
2190 FIND_REG_INC_NOTE call. Update copyright.
2191 * loop.c (canonicalize_condition): Ditto.
2192 * reorg.c (delete_scheduled_jump): Ditto.
2194 2002-01-03 Kazu Hirata <kazu@hxi.com>
2196 * gcse.c: Fix formatting.
2198 2002-01-03 Graham Stott <grahams@redhat.com>
2200 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
2201 forward defs for struct tags rtx_def, union_tree, rtvec_def
2202 also output corresponding typedefs for rtx, tree, and rtvec.
2204 * system.h: Move forward defs for struct tags rtx_def, union_tree,
2205 rtvec_def along with corresponding typedefs for rtx, tree, and
2206 rtvec to config.h, hconfig.h, tconfig.h.
2208 2002-01-03 Graham Stott <grahams@redhat.com>
2210 * tree.h: Update copyright date.
2211 (IS_EXPR_CODE_CLASS): Add parenthesis.
2212 (TREE_SET_CODE): Add whitespace.
2213 (TREE_CHECK): Add parenthesis.
2214 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
2215 (CST_OR_CONSTRUCTOR_CHECK):
2216 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
2217 (TREE_SYMBOL_REFERENCED): Whitespace.
2218 (INT_CST_LT): Likewise.
2219 (INT_CST_LT_UNSIGNED): Likewise.
2220 (tree_real_cst): Unwrap comment.
2221 (tree_string): Likewise.
2222 (tree_complex): Likewise.
2223 (IDENTIFIER_POINTER): correct cast.
2224 (SAVE_EXPR_CONTEXT): Whitespace.
2225 (EXPR_WFL_FILENAME_NODE): Likewise.
2226 (EXPR_WFL_FILENAME): Remove parenthesis.
2227 (DECL_ORIGIN): Add parenthesis.
2228 (DECL_FROM_INLINE): Use NULL_TREE.
2229 (build_int_2): Whitespace.
2230 (build_type_variant): Add parenthesis.
2232 * gcc/jcf-parse.c: Update copyright date.
2233 (yyparse): Constify resource_filename.
2235 2002-01-03 Graham Stott <grahams@redhat.com>
2237 * rtl.h: Update copyright date.
2238 (RTL_CHECK1): Wrap long line.
2239 (RTL_CHECK2): Likewise.
2240 (RTL_CHECKC1): Wrap long line and whitespace.
2241 (RTL_CHECKC2): Likewise.
2242 (XWINT): Whitespace.
2248 (XBITMAP): Likewise.
2259 (X0BITMAP): Likewise.
2261 (X0BBDEF): Likewise.
2262 (X0ADVFLAGS): Likewise.
2263 (X0CSELIB): Likewise.
2264 (X0MEMATTR): Likewise.
2272 (XCBITMAP): Likewise.
2274 (XCBBDEF): Likewise.
2275 (XCADVFLAGS): Likewise.
2276 (XCCSELIB): Likewise.
2278 (INSN_UID): Likewise.
2279 (PREV_INSN): Likewise.
2280 (PATTERN): Likewise.
2281 (INSN_CODE): Likewise.
2282 (PUT_REG_NOTE_KIND): Likewise.
2283 (CODE_LABEL_NUMBER): Likewise.
2284 (NOTE_SOURCE_FILE): Likewise.
2285 (NOTE_BLOCK): Likewise.
2286 (NOTE_EH_HANDLER): Likewise.
2287 (NOTE_RANGE_INFO): Likewise.
2288 (NOTE_LIVE_INFO): Likewise.
2289 (NOTE_BASIC_BLOCK): Likewise.
2290 (NOTE_EXPECTED_VALUE): Likewise.
2291 (NOTE_LINE_NUMBER): Likewise.
2292 (LABEL_NAME): Likewise.
2293 (LABEL_NUSES): Likewise.
2294 (LABEL_ALTERNATE_NAME): Likewise.
2295 (ADDRESSOF_DECL): Likewise.
2296 (JUMP_LABEL): Likewise.
2297 (LABEL_NEXTREF): Likewise.
2299 (ORIGINAL_REGNO: Likewise.
2300 (HARD_REGISTER_NUM_P): Add parenthesis.
2301 (SUBREG_REG): Whitespace.
2302 (SUBREG_BYTE): Likewise.
2303 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
2304 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
2305 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
2306 (ASM_OPERANDS_INPUT_VEC): Likewise.
2307 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
2308 (ASM_OPERANDS_INPUT): Likewise.
2309 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
2310 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
2311 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
2312 (ASM_OPERANDS_INPUT_MODE): Likewise.
2313 (ASM_OPERANDS_SOURCE_FILE): Likewise.
2314 (ASM_OPERANDS_SOURCE_LINE): Likewise.
2315 (MEM_SET_IN_STRUCT_P): Minor reformat.
2316 (TRAP_CONDITION): Whitespace.
2317 (TRAP_CODE): Likewise.
2318 (COND_EXEC_TEST): Likewise.
2319 (COND_EXEC_CODE): Likewise.
2320 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
2321 (PHI_NODE_P): Add parenthesis.
2322 (plus_constant): Whitespace and add parenthesis.
2324 2002-01-03 Kazu Hirata <kazu@hxi.com>
2326 * config/avr/avr.c: Fix comment typos.
2327 * config/c4x/c4x.md: Likewise.
2328 * config/dsp16xx/dsp16xx.h: Likewise.
2329 * config/dsp16xx/dsp16xx.md: Likewise.
2330 * config/i386/i386.md: Likewise.
2331 * config/ia64/ia64.c: Likewise.
2332 * config/m32r/m32r.h: Likewise.
2333 * config/m68hc11/m68hc11.md: Likewise.
2334 * config/mmix/mmix.c: Likewise.
2335 * config/mn10200/mn10200.c: Likewise.
2336 * config/romp/romp.c: Likewise.
2337 * config/sh/sh.c: Likewise.
2338 * config/stormy16/stormy16.c: Likewise.
2339 * config/stormy16/stormy16.h: Likewise.
2340 * config/stormy16/stormy16.md: Likewise.
2342 2002-01-03 Graham Stott <grahams@redhat.com>
2344 * loop.h: Update copyright date.
2345 (LOOP_MOVABLES): Fix typo.
2346 (LOOP_REGS): Likewise.
2347 (LOOP_IVS): Likewise.
2349 2002-01-03 Graham Stott <grahams@redhat.com>
2351 * cppinit.c: Update copyright date.
2352 Don't include output.h
2353 * Makefile.in: Update copyright date.
2356 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
2359 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
2360 (-pthread) Add to RS/6000 options.
2362 2002-01-02 Kazu Hirata <kazu@hxi.com>
2364 * except.c: Fix comment typos.
2366 * varasm.c: Likewise.
2367 * doc/tm.texi: Fix a typo.
2369 2002-01-02 Jakub Jelinek <jakub@redhat.com>
2371 * c-typeck.c (output_init_element): Allow initializing static storage
2372 duration objects with compound literals.
2374 2002-01-02 Richard Henderson <rth@redhat.com>
2376 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
2379 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2381 * gcc.c (default_compilers): Const-ify.
2382 * mips-tdump.c (stab_names): Likewise.
2383 * mips-tfile.c (map_coff_types, map_coff_storage,
2384 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
2385 pseudo_ops_t, pseudo_ops): Likewise.
2386 * protoize.c (default_include): Likewise
2388 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
2389 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
2390 Add array size in declaration.
2391 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
2392 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
2393 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
2394 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
2395 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
2396 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
2397 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
2398 emtens, make_nan): Const-ify.
2399 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
2400 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
2402 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
2404 * config.gcc (ia64-*-*): Set extra_headers.
2405 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
2406 * config/alpha/t-osf: Remove.
2407 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
2409 2002-01-02 David Edelsohn <edelsohn@gnu.org>
2411 * config/rs6000/t-aix43: Revert previous change.
2413 2002-01-02 Jason Merrill <jason@redhat.com>
2415 * c-decl.c (c_expand_body): Call outlining_inline_function when
2416 emitting an inline function out of line.
2418 2002-01-02 Richard Henderson <rth@redhat.com>
2420 * dwarf2out.c (limbo_die_node): Add created_for member.
2421 (new_die): New argument created_for. Update all callers.
2422 (mark_limbo_die_list): New.
2423 (dwarf2out_init): Register limbo_die_list as a root.
2424 (dwarf2out_finish): Force insert limbo dies into their function
2427 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
2430 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
2432 2002-01-02 Kazu Hirata <kazu@hxi.com>
2434 * config/h8300/fixunssfsi.c: Update copyright.
2437 * config/h8300/h8300.c: Update copyright.
2440 2002-01-02 Kazu Hirata <kazu@hxi.com>
2442 * config/romp/romp.c: Fix comment formatting.
2443 * config/romp/romp.h: Likewise.
2444 * config/romp/romp.md: Likewise.
2445 * config/s390/s390.c: Likewise.
2446 * config/stormy16/stormy16.c: Likewise.
2447 * config/stormy16/stormy16.h: Likewise.
2449 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
2451 * c-common.h (genrtl_expr_stmt_value): Declare.
2452 * c-semantics.c (genrtl_goto_stmt): Redirect to...
2453 (genrtl_goto_stmt_value): ... this new function. Pass new
2454 argument down to expand_expr_stmt_value, taking
2455 TREE_ADDRESSABLE into account.
2456 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
2457 STMT_EXPR as addressable, i.e., one whose result we want.
2458 * expr.c (expand_expr): Don't save expression statement value
2459 of labeled_blocks or loop_exprs.
2460 * stmt.c (expand_expr_stmt): Redirect to...
2461 (expand_expr_stmt_value): ... this new function. Use new
2462 argument to tell whether to save expression value.
2463 (expand_end_stmt_expr): Reset last_expr_type and
2464 last_expr_value if we don't have either.
2465 * tree-inline.c (declare_return_variable): Mark its use
2466 statement as addressable.
2467 * tree.h: Document new use of TREE_ADDRESSABLE.
2468 (expand_expr_stmt_value): Declare.
2470 2002-01-01 Tom Rix <trix@redhat.com>
2472 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
2473 rs6000_emit_allocate_stack.
2475 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
2477 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
2478 ${srcdir}/ginclude/ to every entry in extra_headers.
2479 * configure: Regenerate.
2480 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
2481 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
2482 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
2483 * ginclude/proto.h: Rename to config/convex/proto.h.
2485 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2487 * attribs.c (handle_vector_size_attribute): Use host_integerp
2488 and tree_int_cst; remove warnings.
2489 * caller-save.c (insert_restore): Add cast to get rid of warning.
2490 (insert_save): Likewise.
2491 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
2492 * regmove.c (find_matches): Add temporary var to kill a warning.
2494 2002-01-01 Douglas B Rupp <rupp@gnat.com>
2496 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
2497 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
2498 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
2499 (vms-dwarf2eh.o): Add Makefile rule.
2500 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
2501 * config/alpha/vms-dwarf2eh.asm: New file.
2503 * gcc.c (delete_if_ordinary): Delete all versions.
2505 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
2507 * config/mmix/mmix.md: Update FIXME to not mention
2509 (MMIX_rJ_REGNUM): New define_constants constant.
2510 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
2511 "*movdicc_real"): Adjust contraints formatting.
2512 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
2513 for branch prediction.
2514 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
2516 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
2517 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
2518 number. Delete related FIXMEs.
2519 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
2520 from number to MMIX_rJ_REGNUM.
2521 (TARGET_MASK_BRANCH_PREDICT): New.
2522 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
2523 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
2524 value. Add -mbranch-predict and -mno-branch-predict.
2525 (TARGET_VERSION): Drop date.
2526 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
2527 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
2528 for finding out global symbols.
2529 (mmix_asm_output_labelref): Revert condition for global symbol.
2530 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
2531 (mmix_print_operand_punct_valid_p): A '+' is valid.
2533 See ChangeLog.6 for earlier changes.