1 2002-01-25 Bob Wilson <bob.wilson@acm.org>
3 * doc/install.texi (xtensa-*-elf): New target.
4 (xtensa-*-linux*): New target.
5 * doc/contrib.texi: Add myself.
7 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
9 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
10 purpose register to hold an SImode (or smaller) value.
12 2002-01-25 Jakub Jelinek <jakub@redhat.com>
14 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
16 * crtstuff.c: Likewise.
18 2002-01-25 Kazu Hirata <kazu@hxi.com>
20 * config/h8300/h8300.md (negation patterns): Tighten
21 predicates to register_operand.
23 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
25 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
28 * builtins.c (expand_builtin_prefetch): Same.
30 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
32 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
35 2002-01-24 Kazu Hirata <kazu@hxi.com>
37 * config/h8300/h8300.c (print_operand): Remove support for
38 operand character 'A'.
39 * config/h8300/h8300.md (three anonymous patterns): Replace
40 operand character 'A' with either 'T' or 'S'.
42 2002-01-24 Kazu Hirata <kazu@hxi.com>
44 * config/h8300/h8300.c (print_operand): Remove support for
45 operand character 'U'.
47 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
49 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
51 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
53 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
54 values to be assigned to the stack pointer.
56 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
58 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
59 to const_double needs to be done right for big-endian systems.
61 2002-01-24 Jason Merrill <jason@redhat.com>
63 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
64 to can_throw_internal.
66 2002-01-23 Richard Henderson <rth@redhat.com>
68 * fold-const.c (fold): Change UINT_MAX test to check vs precision
69 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
71 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
73 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
74 (symGOT2reg): Use them, then set as GOT value as unchanging.
75 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
76 as a temporary, if possible.
77 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
78 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
80 2002-01-23 Kazu Hirata <kazu@hxi.com>
82 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
83 accept to accept 0x80 as operands[2].
85 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
87 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
89 2002-01-23 Richard Henderson <rth@redhat.com>
91 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
93 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
95 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
96 (parmlist_or_identifiers_1): Verify that only a parmlist follows
99 2002-01-23 Richard Henderson <rth@redhat.com>
101 * expr.c (move_by_pieces_1): Extend size before negation.
103 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
104 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
105 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
106 * config/m68k/t-m68kelf: Likewise.
108 2002-01-23 Bob Wilson <bob.wilson@acm.org>
110 * config/xtensa/elf.h: New file.
111 * config/xtensa/lib1funcs.asm: New file.
112 * config/xtensa/lib2funcs.S: New file.
113 * config/xtensa/linux.h: New file.
114 * config/xtensa/t-xtensa: New file.
115 * config/xtensa/xtensa-config.h: New file.
116 * config/xtensa/xtensa-protos.h: New file.
117 * config/xtensa/xtensa.c: New file.
118 * config/xtensa/xtensa.h: New file.
119 * config/xtensa/xtensa.md: New file.
120 * config.gcc (xtensa-*-elf*): New target.
121 (xtensa-*-linux*): New target.
122 * cse.c (canon_hash): Compare rtx pointers instead of register
123 numbers. This is required for the Xtensa port.
124 * integrate.c (copy_insn_list): Handle case where the static
125 chain is in memory and the memory address has to be copied to
127 * doc/invoke.texi (Option Summary): Add Xtensa options.
128 (Xtensa Options): New node.
129 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
131 2002-01-23 Zack Weinberg <zack@codesourcery.com>
133 * diagnostic.c (internal_error): Do ICE suppression only
134 when ENABLE_CHECKING is not defined.
136 * c-typeck.c (require_complete_type): Return error_mark_node
137 if type is error_mark_node.
139 2002-01-23 Janis Johnson <janis187@us.ibm.com>
141 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
142 -Os and issue a warning.
144 2002-01-23 Zack Weinberg <zack@codesourcery.com>
146 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
147 current (lack of) need for host configuration by hand.
149 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
150 references. Documentation of some target macros moved from
151 hostconfig.texi to tm.texi.
153 2002-01-23 Will Cohen <wcohen@redhat.com>
155 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
158 2002-01-23 Kazu Hirata <kazu@hxi.com>
160 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
163 2002-01-23 Jason Merrill <jason@redhat.com>
165 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
167 * function.c (assign_parms): Don't put args of inline functions
168 into registers when not optimizing.
170 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
172 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
173 (prologue_use): New pattern.
174 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
175 preference to gen_rtx_USE.
176 (thumb_expand_prologue): Use gen_prologue_use in preference to
178 (thumb_expand_epilogue): Use gen_prologue_use in preference to
181 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
183 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
185 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
188 * doc/extend.texi: Correct documentation of __alignof__.
190 2002-01-22 Zack Weinberg <zack@codesourcery.com>
192 * params.h: Rename arguments of DEFPARAM so that it will be
193 recognized as a translation keyword.
195 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
197 * extend.texi: Document altivec functions.
198 Fix N-bit adjectives in X86 builtin documentation.
200 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
202 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
205 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
207 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
209 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
211 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
213 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
215 2002-01-22 Richard Henderson <rth@redhat.com>
217 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
218 copy_insn not copy_rtx.
220 2002-01-23 Alan Modra <amodra@bigpond.net.au>
222 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
223 "nonzero" as that might add "1" bits. Ensure "constop" is
224 properly sign extened.
225 (force_to_mode): Tweak for sign extended constop.
227 2002-01-22 Richard Henderson <rth@redhat.com>
229 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
230 for_each_rtx instead of assuming we're already looking at the MEM.
231 (split_small_symbolic_mem_operand): Likewise.
232 * config/alpha/alpha.h (PREDICATE_CODES): Update.
233 * config/alpha/alpha.md (small symbolic memory splitters): Update.
235 2002-01-22 Richard Henderson <rth@redhat.com>
237 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
238 sequence number for the literal.
239 (divmoddi_internal_er): Likewise.
241 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
244 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
245 in LIBICONV variable.
246 * configure: Regenerated.
248 2002-01-22 Krister Walfridsson <cato@df.lth.se>
250 * dependence.c (build_def_use): Remove array_idx.
252 * dwarfout.c (last_filename): Remove.
253 (output_compile_unit_die): Remove last_filename.
255 2002-01-22 Roger Sayle <roger@eyesopen.com>
256 Richard Henderson <rth@redhat.com>
259 * fold-const.c (fold): Optimize unsigned comparisons against
260 UINT_MAX (and similar unsigned constants).
262 2002-01-22 Janis Johnson <janis187@us.ibm.com>
264 * Makefile.in (loop.o): Depend on OPTABS_H.
265 * loop.c (emit_prefetch_instructions): Check the prefetch operand
266 against the predicate.
269 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
270 for the address operand.
272 2002-01-22 Richard Henderson <rth@redhat.com>
274 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
276 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
279 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
282 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
284 * config.gcc (x86_64-*-netbsd*): New target.
285 * config/i386/netbsd64.h: New file.
287 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
289 * regrename.c (kill_value): Fix typo.
291 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
293 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
295 * config/rs6000/rs6000.h: Same.
297 * function.c (instantiate_virtual_regs): Remove
298 STARTING_FRAME_PHASE.
299 (assign_stack_local_1): Same.
300 Calculate frame phase.
302 2002-01-22 Nick Clifton <nickc@redhat.com>
304 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
305 variable declaration to outer scope in order to simplify
307 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
308 arm_hard_regno_mode_ok.
309 * config/arm/arm-protos.h: Add a prototype for
310 arm_hard_regno_mode_ok.
311 * config/arm/arm.c (soft_df_operand): Remove now redundant
312 check for DImode values using IP_REGNUM.
313 (nonimmediate_soft_df_operand): Remove now redundant check for
314 DImode values using IP_REGNUM.
315 (arm_hard_regno_mode_ok): New function. New check: make sure
316 that DImode values are not stored in IP_REGNUM.
318 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
320 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
322 2002-01-22 Jason Merrill <jason@redhat.com>
324 * c-semantics.c (genrtl_compound_stmt): Only check nesting
325 consistency if this COMPOUND_STMT is scoped.
327 2002-01-22 Kazu Hirata <kazu@hxi.com>
329 * predict.c: Fix formatting.
330 * print-tree.c: Likewise.
331 * protoize.c: Likewise.
334 * sbitmap.h: Likewise.
336 * sched-deps.c: Likewise.
337 * sched-vis.c: Likewise.
338 * sdbout.c: Likewise.
339 * sibcall.c: Likewise.
341 * ssa-ccp.c: Likewise.
342 * ssa-dce.c: Likewise.
344 * stor-layout.c: Likewise.
345 * system.h: Likewise.
347 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
349 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
350 if fits in bounds of base type.
352 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
353 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
354 (add_bound_info, default): If can't find a context, make a
356 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
358 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
360 * c-typeck.c (parser_build_binary_op): If result from
361 build_binary_op is ERROR_MARK just return error_mark_node without
364 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
366 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
367 Split a.out-specific bits into...
368 * config/netbsd-aout.h: ...this.
369 * config/netbsd-elf.h: New file.
370 * config/alpha/netbsd-elf.h: Remove.
371 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
372 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
373 (STARTFILE_SPEC): Remove redundant definition.
374 (ENDFILE_SPEC): Likewise.
375 (LINK_SPEC): Likewise.
376 (CPP_SPEC): Likewise.
377 (ASM_SPEC): Likewise.
378 (LIB_SPEC): Likewise.
379 (SWITCH_TAKES_ARG): Likewise.
380 (TARGET_MEM_FUNCTIONS): Likewise.
381 (CPP_PREDEFINES): Redefine.
382 (ASM_FINAL_SPEC): Remove redefinition.
383 (ASM_COMMENT_START): Redefine.
384 (FUNCTION_PROFILER): Define.
385 (TARGET_VERSION): Redefine.
386 Comment and formatting cleanup.
387 * config/i386/netbsd.h: Include <netbsd-aout.h>.
388 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
389 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
390 big- or little-endian.
391 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
392 * config.gcc (*-*-netbsd*): Add definitions common to all
394 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
395 gnu_ld definitions. Add netbsd-elf.h to and remove
396 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
397 tmake_file, and don't lose previous tmake_file contents.
398 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
399 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
400 gnu_ld definitions. Add netbsd-elf.h to tm_file.
401 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
402 (mipsel-*-netbsd*): Rename this to...
403 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
404 mips/little.h to tm_file for mips*el-*.
405 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
406 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
407 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
409 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
411 * pa-protos.h (reg_before_reload_operand): New function prototype.
412 * pa.c (reg_before_reload_operand): New function implementation.
413 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
416 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
418 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
420 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
422 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
423 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
424 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
425 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
426 (ENDFILE_SPEC): Undefine.
427 (STARTFILE_SPEC): Redefine for PA.
429 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
431 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
433 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
435 * config.gcc: Add entries to supported PowerPC --with-cpu
438 2002-01-21 Jakub Jelinek <jakub@redhat.com>
440 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
441 true for 64-bit mode only SSE registers in 32-bit mode.
443 2002-01-21 Kazu Hirata <kazu@hxi.com>
445 * unwind-dw2.c: Fix formatting.
446 * unwind-dw2-fde.c: Likewise.
447 * unwind-dw2-fde.h: Likewise.
448 * unwind-pe.h: Likewise.
449 * varasm.c: Likewise.
450 * varray.h: Likewise.
452 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
454 Remove workaround for register stack overwrite bug in mmix.
455 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
456 support for TARGET_REG_STACK_FILL_BUG.
457 * config/mmix/mmix.h: Remove member has_call_without_parameters.
458 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
460 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
461 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
462 -mno-reg-stack-fill-bug-workaround.
463 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
464 machine member has_call_without_parameters.
465 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
466 -mreg-stack-fill-bug-workaround and
467 -mno-reg-stack-fill-bug-workaround.
468 (MMIX Options): Ditto.
470 2002-01-21 Kazu Hirata <kazu@hxi.com>
472 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
474 Remove redundant code.
476 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
478 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
479 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
480 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
481 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
482 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
483 out target macro definitions and non-target-specific comments
484 mostly taken from old versions of the manual.
486 2002-01-20 Kazu Hirata <kazu@hxi.com>
488 * config/h8300/h8300.h: Fix comment formatting.
489 * config/ia64/aix.h: Likewise.
490 * config/ia64/ia64-protos.h: Likewise.
491 * config/ia64/ia64.c: Likewise.
492 * config/ia64/ia64.h: Likewise.
493 * config/ia64/ia64intrin.h: Likewise.
494 * config/ia64/linux.h: Likewise.
495 * config/ia64/unwind-aix.c: Likewise.
496 * config/ia64/unwind-ia64.c: Likewise.
498 2002-01-20 Kazu Hirata <kazu@hxi.com>
500 * config/h8300/h8300.c: Revise comments about shift code.
502 2002-01-20 Kazu Hirata <kazu@hxi.com>
504 * config/h8300/h8300.c (function_arg): Update a comment.
506 2002-01-20 Kazu Hirata <kazu@hxi.com>
508 * config/h8300/h8300.md: Update the comments at the beginning
511 2002-01-20 Kazu Hirata <kazu@hxi.com>
513 * config/i370/i370.c: Fix comment formatting.
514 * config/i370/i370.h: Likewise.
515 * config/i370/i370.md: Likewise.
516 * config/i370/linux.h: Likewise.
518 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
520 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
522 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
523 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
526 2002-01-20 Graham Stott <grahams@redhat.com>
528 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
530 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
532 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
534 2002-01-19 Tom Rix <trix@redhat.com>
536 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
538 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
540 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
542 * function.c (assign_stack_local_1): Adjust x_frame_offset with
543 STARTING_FRAME_PHASE.
544 (STARTING_FRAME_PHASE): New.
545 (instantiate_virtual_regs): Check saneness of
546 STARTING_FRAME_PHASE.
548 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
550 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
552 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
554 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
556 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
557 be used for bootstrapping GCC 3.0.
559 2002-01-18 Kazu Hirata <kazu@hxi.com>
561 * config/h8300/h8300.md: Fix an insn length.
563 2002-01-18 Kazu Hirata <kazu@hxi.com>
565 * bitmap.h: Fix comment formatting.
566 * combine.c: Likewise.
567 * cppfiles.c: Likewise.
568 * c-pragma.h: Likewise.
569 * c-typeck.c: Likewise.
571 * dwarf2out.c: Likewise.
572 * function.c: Likewise.
574 * genattrtab.c: Likewise.
575 * gthr-win32.h: Likewise.
576 * haifa-sched.c: Likewise.
577 * predict.c: Likewise.
578 * rtlanal.c: Likewise.
580 * unwind-dw2-fde.h: Likewise.
581 * unwind-pe.h: Likewise.
582 * vmsdbgout.c: Likewise.
584 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
586 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
587 if type_required and passed decl.
589 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
591 * config.gcc (cpu_type): Include altivec.h in powerpc
595 * config/rs6000/altivec.h: New.
597 2002-01-17 David Edelsohn <edelsohn@gnu.org>
599 * doc/install.texi (*-ibm-aix*): Update assembler and exception
600 handling information.
601 * doc/trouble.texi (Interoperation): Add libstdc++ information
603 (Misunderstandings): Add template instantiation and static template
604 member information for AIX.
606 2002-01-17 Jason Merrill <jason@redhat.com>
608 * dbxout.c (dbxout_type): Support const and volatile.
610 * except.c (add_partial_entry): Remove backwards compatibility code.
611 (end_protect_partials): Likewise.
613 2002-01-17 Jakub Jelinek <jakub@redhat.com>
615 * config/ia64/ia64.md (prologue_use): New.
616 * config/ia64/ia64.c (ia64_expand_prologue): Use
617 gen_prologue_use instead of gen_rtx_USE.
618 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
619 as CODE_FOR_pred_rel_mutex.
620 (ia64_sched_reorder2): Likewise.
622 2002-01-16 Eric Christopher <echristo@redhat.com>
624 * config/mips/r3900.h: Reformat.
625 (SUBTARGET_CPP_SIZE_SPEC): Remove.
626 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
627 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
628 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
629 * config/mips/t-elf: Remove mips3 multilib.
631 2002-01-16 H.J. Lu <hjl@gnu.org>
633 * config/mips/linux.h: Include "mips/abi64.h".
635 2002-01-16 H.J. Lu <hjl@gnu.org>
637 * config/mips/t-linux: New.
639 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
641 * config/mips/linux.h: Don't include "gofast.h".
642 (INIT_SUBTARGET_OPTABS): Removed.
644 2002-01-16 Kazu Hirata <kazu@hxi.com>
646 * config/h8300/h8300-protos.h: Replace emit_a_shift with
648 * config/h8300/h8300.c: Likewise.
649 * config/h8300/h8300.md: Likewise.
651 2002-01-16 Kazu Hirata <kazu@hxi.com>
653 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
654 spaces after an opcode name.
655 (pushqi1_h8300hs): Likewise.
656 (pushhi1_h8300hs): Likewise.
658 2002-01-16 Kazu Hirata <kazu@hxi.com>
660 * doc/extend.texi: Replace "option" with "attribute"
663 2002-01-16 Jakub Jelinek <jakub@redhat.com>
665 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
666 (and:DI () (const_int -8)).
667 (split_small_symbolic_mem_operand): Split
668 (mem (and:DI () (const_int -8)).
670 2002-01-16 Jakub Jelinek <jakub@redhat.com>
673 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
674 same way as TYPE_IMUL.
675 (ultrasparc_sched_reorder): Likewise.
676 * config/sparc/sparc.md (type): Add comment to update
677 ultrasparc_sched_reorder when making changes.
679 2002-01-16 Kazu Hirata <kazu@hxi.com>
681 * doc/invoke.texi: Change the dump file name of block
682 reordering pass from 28.bbro to 29.bbro.
685 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
687 * i386.md (minsf splitter): Fix pasto.
689 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
691 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
692 to frame pointer initialisation instruction.
693 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
694 initialisation instruction.
695 (soft_df_operand): Do not accept the IP register.
696 (nonimmediate_soft_df_operand): Do not accept the IP register.
698 2002-01-16 Jakub Jelinek <jakub@redhat.com>
701 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
702 MASK_V8 being both set.
704 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
706 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
707 insn for GOT register; add REG_MAYBE_DEAD notes instead.
708 config/s390/s390.md (call, call_value): Add GOT register to
709 CALL_INSN_FUNCTION_USAGE where needed.
710 (call_exp, call_value_exp): New.
712 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
714 * config/arm/arm.c: General formatting tidy up.
716 2002-01-16 Graham Stott <grahams@redhat.com>
718 * calls.c (try_to_integrate): Use "(size_t)" intermediate
719 cast and when casting an integer literal to "rtx" pointer.
720 (expand_call): Likewise.
721 * flow.c (try_pre_increment): Likewise.
722 (find_use_as_address): Likewise.
723 * integrate.c (expand_iline_function): Likewise.
724 * regmove.c (try_auto_increment): Likewise.
726 2002-01-16 Graham Stott <grahams@redhat.com>
728 * sched-rgn.c (passed): Use sbitmap_free.
731 (in_queue): Likewise.
732 (in_stack): Likewise.
734 2002-01-15 Eric Christopher <echristo@redhat.com>
736 * flow.c (propagate_one_insn): Change to use fatal_insn.
738 2002-01-15 Kazu Hirata <kazu@hxi.com>
740 * expmed.c (extract_fixed_bit_field): Remove unused code.
741 * system.h: Poison SLOW_ZERO_EXTEND.
742 * doc/tm.texi: Remove.
743 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
744 * config/arm/arm.h: Likewise.
745 * config/avr/avr.h: Likewise.
746 * config/clipper/clipper.h: Likewise.
747 * config/convex/convex.h: Likewise.
748 * config/d30v/d30v.h: Likewise.
749 * config/dsp16xx/dsp16xx.h: Likewise.
750 * config/elxsi/elxsi.h: Likewise.
751 * config/fr30/fr30.h: Likewise.
752 * config/h8300/h8300.h: Likewise.
753 * config/i370/i370.h: Likewise.
754 * config/i386/i386.h: Likewise.
755 * config/m68k/m68k.h: Likewise.
756 * config/mips/mips.h: Likewise.
757 * config/ns32k/ns32k.h: Likewise.
758 * config/pdp11/pdp11.h: Likewise.
759 * config/pj/pj.h: Likewise.
760 * config/s390/s390.h: Likewise.
761 * config/sh/sh.h: Likewise.
762 * config/stormy16/stormy16.h: Likewise.
763 * config/v850/v850.h: Likewise.
764 * config/vax/vax.h: Likewise.
765 * config/we32k/we32k.h: Likewise.
767 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
769 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
770 (altivec_lvsl): Change constraint to b.
771 (altivec_lvsr): Same.
772 (altivec_lvebx): Same.
773 (altivec_lvehx): Same.
774 (altivec_lvewx): Same.
775 (altivec_lvxl): Same.
777 (altivec_stvx): Add parallel.
778 (altivec_stvxl): Same.
779 (altivec_stvehx): Same.
780 (altivec_stvebx): Same.
781 (altivec_stvebx): Same.
783 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
785 * config.gcc: Change altivec.h to altivec-defs.h.
787 * config/rs6000/altivec.h: Delete.
789 * config/rs6000/altivec-defs.h: Add.
791 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
793 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
796 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
797 less than or equal to eight bytes.
799 * vax.md (andsi3): Remove constraints and change SET destination
800 operand type to nonimmediate_operand.
801 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
802 when it is a CONST_INT.
804 2002-01-15 Jason Merrill <jason@redhat.com>
806 * c-common.def (FILE_STMT): New code.
807 * c-common.c (statement_code_p): It's a statement.
808 * c-common.h (stmt_tree_s): Add x_last_filename.
809 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
810 (last_expr_filename): New macro.
811 * c-semantics.c (begin_stmt_tree): Initialize it.
812 (add_stmt): If the filename changed, also insert a
814 (expand_stmt): Handle seeing one.
816 2002-01-15 Eric Christopher <echristo@redhat.com>
818 * flow.c (propagate_one_insn): Add error message and print out
821 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
823 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
824 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
825 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
826 TRAMPOLINE_ALIGNMENT.
827 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
829 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
830 PCC_BITFIELD_TYPE_MATTERS.
831 * config/interix.h (STDC_VALUE): Remove. Use
832 STDC_0_IN_SYSTEM_HEADERS.
833 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
834 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
835 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
837 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
839 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
840 not work on this platform currently.
842 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
844 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
845 readonly_warning in _().
847 2002-01-15 Douglas B Rupp <rupp@gnat.com>
849 * gcc.c (delete_if_ordinary): Backout previous change.
851 2002-01-15 Kazu Hirata <kazu@hxi.com>
853 * config/h8300/h8300.c (print_operand): Remove support for
854 unused operand characters.
856 * read-rtl.c: Fix formatting.
859 * regclass.c: Likewise.
860 * regmove.c: Likewise.
861 * reg-stack.c: Likewise.
862 * reload1.c: Likewise.
863 * rtlanal.c: Likewise.
865 2002-01-15 Kazu Hirata <kazu@hxi.com>
867 * config/i386/i386.c: Fix formatting.
869 2002-01-15 Jakub Jelinek <jakub@redhat.com>
871 * c-typeck.c (process_init_element): Don't save_expr
872 COMPOUND_LITERAL_EXPR if just its initializer will be used.
874 2002-01-15 David Edelsohn <edelsohn@gnu.org>
876 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
877 emit optional traceback table if optimize_size or TARGET_ELF.
878 * config/rs6000/rs6000.md (prefetch): New.
880 2002-01-15 Andreas Jaeger <aj@suse.de>
882 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
884 2002-01-15 Kazu Hirata <kazu@hxi.com>
886 * mips-tfile.c: Fix formatting.
888 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
890 * unroll.c (final_reg_note_copy): Fix previous commit.
892 2002-01-14 Kazu Hirata <kazu@hxi.com>
894 * config/h8300/h8300-protos.h: Remove the prototype for
896 * config/h8300/h8300.c (eq_operator): Remove.
898 2002-01-14 Richard Henderson <rth@redhat.com>
900 * config/i386/i386.md (prefetch): Tidy.
901 (prefetch_3dnow): Fix locality operand.
903 2002-01-14 Richard Henderson <rth@redhat.com>
905 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
906 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
908 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
910 * reload1.c (reload_combine): Pass reg_sum replacement through
911 copy_rtx in loop performing multiple changes.
913 2002-01-14 Jakub Jelinek <jakub@redhat.com>
915 * except.c (remove_unreachable_regions): New.
916 (free_eh_status): Clear exception_handler_labels.
917 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
918 (find_exception_handler_labels): Don't add the same label more than
920 (remove_exception_handler_label): Don't die if
921 find_exception_handler_labels hasn't been called for the current
924 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
926 * toplev.c (rest_of_compilation): Rebuild jump labels after
929 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
931 * doc/extend.texi: Move documentation of X86 built-in functions
933 * doc/invoke.texi: From here.
934 * doc/sourcebuild.texi: Document location of documentation for
935 machine built-in functions.
937 2002-01-13 Christopher Faylor <cgf@redhat.com>
939 * cppfiles.c (TEST_THRESHOLD): New macro.
940 (SHOULD_MMAP): Ditto.
941 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
944 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
946 * unroll.c (final_reg_note_copy): Properly handle
948 (unroll_loops): Fix LOOP_CONDITION heuristics.
950 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
952 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
953 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
955 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
957 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
960 2002-01-14 Tom Rix <trix@redhat.com>
962 * config/rs6000/rs6000.md: Fix typo with sradi.
964 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
966 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
967 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
968 (clrstrdi, clrstrsi): Adapt callers.
970 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
972 (movti splitter): Never use register 0 as base register.
974 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
976 * combine.c (simplify_shift_const): Always generate new rtx
977 for shift expression instead of reusing given expression.
979 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
981 * config/alpha/alpha.c (alpha_expand_mov): Don't call
982 alpha_legitimize_address unless mode is Pmode.
984 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
986 * doc/md.texi (Modifiers): Document the '*' constraint for the
989 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
990 * doc/extend.texi (Function Attributes): 'interrupt' is valid
993 2002-01-13 Richard Henderson <rth@redhat.com>
995 * reload.c (find_reloads): Use a hard reg destination as reload reg
996 for an input reload of the source.
998 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1000 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
1003 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
1005 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1006 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1008 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
1010 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1012 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
1014 2002-01-12 Tom Rix <trix@redhat.com>
1016 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
1019 2002-01-12 Richard Henderson <rth@redhat.com>
1021 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
1023 * doc/invoke.texi: Update Alpha options.
1025 * doc/invoke.texi: Update i386 built-in function lists.
1027 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
1029 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
1030 referencing outside.
1032 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1034 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
1035 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
1036 offsets, and change line folding.
1037 * optabs.c (expand_binop): Remove warnings.
1038 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
1040 2002-01-12 Graham Stott <grahams@redhat.com>
1042 * attribs.c (handle_deprecated_attribute): constify WHAT.
1043 * diagnostic.c (warn_deprecated_use): Add braces, fixes
1044 dangling else warning and constify WHAT.
1045 * except.h (struct function, struct inline_remap): Move
1046 struct tag forward defs before all prototypes.
1047 (duplicate_eh_regions): Whitespace.
1049 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
1051 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
1052 MODE_BASE_REG_CLASS.
1053 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
1055 2002-01-12 Richard Henderson <rth@redhat.com>
1057 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
1058 (ix86_expand_vector_move): New.
1059 (bdesc_2arg): Remove andps, andnps, orps, xorps.
1060 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
1061 Remove old prefetch builtins. Special case the logicals removed above.
1062 (ix86_expand_builtin): Likewise.
1063 (safe_vector_operand): Use V4SFmode, not TImode.
1064 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
1065 (ix86_expand_timode_binop_builtin): New.
1066 * config/i386/i386-protos.h: Update.
1067 * config/i386/i386.h (enum ix86_builtins): Update.
1068 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
1069 Use ix86_expand_vector_move in vector move expanders.
1070 (movti_internal, movti_rex64): Add xorps alternative.
1071 (sse_clrv4sf): Rename and adjust from sse_clrti.
1072 (prefetch): Don't work so hard.
1073 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
1074 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
1075 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
1077 2002-01-11 Richard Henderson <rth@redhat.com>
1079 * config/i386/mmintrin.h: New file.
1080 * config/i386/xmmintrin.h: New file.
1081 * config.gcc (i?86-*-*): Add extra_headers.
1082 * simplify-rtx.c (simplify_unary_operation): Handle saturating
1084 (simplify_binary_operation): Handle saturating arithmetic codes.
1085 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
1086 not the lowpart subreg.
1087 (ix86_expand_builtin): Return a TImode dummy register instead of 0
1089 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
1091 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1093 * conflict.c (conflict_graph_compute): Free regsets when finished.
1094 * ssa.c (compute_coalesced_reg_partition): Likewise.
1096 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1098 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
1099 every where we allocate a register.
1101 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1103 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
1104 * lcm.c (compute_earliest, compute_farthest): Likewise.
1106 2002-01-11 Janis Johnson <janis187@us.ibm.com>
1108 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
1110 2002-01-11 Janis Johnson <janis187@us.ibm.com>
1112 * doc/rtl.texi (Insns): Fix 2 typos.
1114 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1116 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
1117 options. Use @table @gcctabopt for MMIX options. Add index
1118 entries for MMIX options. Start new paragraph with first
1119 heading of the machine-dependent options.
1121 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
1124 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
1125 * combine.c (force_to_mode): Same.
1126 * reload1.c (clear_reload_reg_in_use): Same.
1128 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
1130 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
1133 2002-01-11 Andreas Jaeger <aj@suse.de>,
1134 Brad Lucier <lucier@math.purdue.edu>
1136 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
1139 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
1141 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
1142 Protect with IN_LIBGCC.
1143 (LINK_EH_SPEC): Add required trailing space.
1145 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
1147 * c-tree.h: Move function declarations so that they are listed
1148 under the filename which contains them.
1149 (check_identifier, finish_decl_top_level,
1150 lookup_name_current_level_global, shadow_record_fields): Remove.
1152 2002-01-11 Andreas Jaeger <aj@suse.de>
1154 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
1157 2002-01-10 Richard Henderson <rth@redhat.com>
1159 * config/alpha/alpha.c (print_operand): Add 'J'.
1160 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
1161 new operand with the sequence number for the lituse. When splitting
1162 the insns, use gen_movdi_er_high_g and generate a sequence number.
1163 (gen_movdi_er_high_g): Print the sequence number if non-zero.
1165 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
1167 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
1168 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
1170 (altivec_expand_builtin): Same.
1171 (altivec_expand_stv_builtin): New.
1173 * config/rs6000/rs6000.h (rs6000_builtins): Same.
1175 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
1176 ("altivec_lvehx"): New.
1177 ("altivec_lvewx"): New.
1178 ("altivec_lvxl"): New.
1179 ("altivec_lvx"): New.
1180 ("altivec_stvx"): New.
1181 ("altivec_stvebx"): New.
1182 ("altivec_stvehx"): New.
1183 ("altivec_stvewx"): New.
1184 ("altivec_stvxl"): New.
1186 2002-01-10 Richard Henderson <rth@redhat.com>
1188 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
1189 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
1190 care not to delete instructions twice.
1192 2002-01-10 Zack Weinberg <zack@codesourcery.com>
1194 * toplev.c: Don't declare environ (it's not used anywhere).
1195 * configure.in: Don't check for declaration of environ.
1196 * config/i386/xm-mingw32.h: Don't #define environ.
1197 * config.in, configure: Regenerate.
1199 2002-01-10 Zack Weinberg <zack@codesourcery.com>
1201 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
1202 * configure: Regenerate.
1204 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
1205 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
1206 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
1208 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
1209 LIMITS_H_TEST here, not in m68k/x-next.
1210 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
1211 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
1213 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
1214 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
1215 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
1217 * config/i386/x-djgpp: Renamed i386/t-djgpp.
1218 * config/m88k/x-dolph: Renamed m88k/t-dolph.
1219 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
1220 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
1221 replacement of quadlib.asm with quadlib.c.
1223 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
1224 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
1225 config/rs6000/xm-beos.h: Delete file.
1227 * config.gcc: Update to match above changes.
1229 2002-01-10 Kazu Hirata <kazu@hxi.com>
1231 * config/h8300/h8300.h: Fix comment typos.
1232 * config/h8300/h8300.md: Likewise.
1233 * config/h8300/lib1funcs.asm: Likewise.
1235 2002-01-10 Dale Johannesen <dalej@apple.com>
1237 PR optimization/5269
1238 * unroll.c (precondition_loop_p): Make *increment be the correct
1239 sign when n_iterations known, to avoid confusing caller.
1241 2002-01-10 Kazu Hirata <kazu@hxi.com>
1243 * doc/extend.texi (deprecated): Fix a typo.
1245 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
1247 * basic-block.h (update_br_prob_note): Declare.
1248 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
1249 (try_forward_edges): Care negative frequencies and update note.
1250 (outgoing_edges_match): Tweek conditional merging heuristics.
1251 (try_crossjump_to_edge): use update_br_prob_note.
1252 * cfglayout.c (fixup_reorder_chain): Likewise.
1253 * cfrtl.c (update_br_prob_note): New.
1254 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
1256 * i386.c (ix86_decompose_address): Return -1 if address contains
1258 (legitimate_address_p): Require ix86_decompose_address to return 1.
1260 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
1261 (cprop_insn): Likewise.
1263 2002-01-10 Kazu Hirata <kazu@hxi.com>
1265 * toplev.c: Fix formatting.
1267 * tree-dump.c: Likewise.
1268 * unroll.c: Likewise.
1269 * unwind-dw2.c: Likewise.
1270 * unwind-dw2-fde.c: Likewise.
1271 * unwind-dw2-fde-glibc.c: Likewise.
1272 * unwind-sjlj.c: Likewise.
1274 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1276 * doc/invoke.texi: Document PDP-11 options.
1278 2002-01-10 Kazu Hirata <kazu@hxi.com>
1280 * config/h8300/h8300.h: Fix formatting.
1282 2001-01-10 Ira Ruben <ira@apple.com>
1284 Add __attribute__ ((deprecated)).
1285 * extend.texi: Document __attribute__ ((deprecated)).
1286 * invoke.texi: Document -Wno-deprecated-declarations.
1287 * testsuite/g++.dg/other/deprecated.C: New C++ test.
1288 * testsuite/gcc.dg/deprecated.c: New C test.
1289 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
1290 (c_common_attribute_table): Add "deprecated" entry.
1291 (handle_deprecated_attribute): New function.
1292 * c-decl.c (deprecated_states): New enum.
1293 deprecated_state: State of "deprecated" handling.
1294 (start_decl): Set deprecated_state based on attributes.
1295 (grokdeclarator): Test for deprecated uses, propagate attribute.
1296 * c-typeck.c (build_component_ref): Test for deprecated fields.
1297 (build_external_ref): Test for deprecated primaries.
1298 * diagnostic.c (warn_deprecated_use) New function to issue
1299 warnings about __attribute__ ((depricated)) references.
1300 * flags.h (warn_deprecated_decl): Extern declared for
1301 -W[no-]deprecated-declarations option.
1302 * print-tree.c (print_node): Show deprecated flag status.
1303 * toplev.c (warn_deprecated_decl): Defined.
1304 (W_options): Added "deprecated-declaration".
1305 * toplev.h (warn_deprecated_use): Extern declared.
1306 * tree.h (struct tree_common): Define deprecated_flag.
1307 (TREE_DEPRECATED): New macro to access flag.
1308 * cp/call.c (build_call): Test for deprecated calls.
1309 * cp/class.c (add_implicitly_declared_members): Set global
1310 flag to tell grokdeclarator to not issue deprecated warnings.
1311 * cp/cp-tree.h: Add extern for adding_implicit_members.
1312 * cp/decl.c (deprecated_states): New enum.
1313 (start_decl): Set deprecated_state based on attributes.
1314 (grokdeclarator): Test for deprecated uses, propagate attribute.
1315 * cp/lex.c (do_identifier): Test for deprecated primaries.
1316 * cp/typeck.c (build_component_ref): Test for deprecated fields.
1318 2001-01-10 Ira Ruben <ira@apple.com>
1320 Fix to assign attributes to inline member functions.
1321 * cp/decl.c (start_method): Handle attrlist.
1323 2002-01-10 Kazu Hirata <kazu@hxi.com>
1325 * combine.c (expand_field_assignment): Use subreg_lsb().
1327 2002-01-10 David Edelsohn <edelsohn@gnu.org>
1329 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
1330 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
1331 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
1332 Recurse for any operand of AND as long as constant is non-zero.
1334 2002-01-10 Kazu Hirata <kazu@hxi.com>
1336 * config/h8300/h8300.md: Remove constraints from expanders.
1338 2002-01-10 Kazu Hirata <kazu@hxi.com>
1340 * varasm.c: Fix formatting.
1341 * varray.c: Likewise.
1342 * vmsdbgout.c: Likewise.
1343 * xcoffout.c: Likewise.
1345 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
1347 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
1348 update edge probabilities to match.
1350 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1352 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
1354 * doc/languages.texi, doc/sourcebuild.texi: New files.
1355 * doc/configfiles.texi: Make a subsubsection. Update.
1356 * doc/configterms.texi: Add @node. Remove warning that this isn't
1357 instructions for building GCC.
1358 * doc/makefile.texi: Make a subsection.
1359 * doc/gccint.texi: Update.
1361 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
1363 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
1365 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
1367 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
1369 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
1371 * optabs.c (expand_fix): Look for wider integer modes first.
1373 * i386.md (mov?f): Avoid the fake const double trick for medium
1375 (min?f*/max?f*): Prohibit memory operands for i387 variant.
1376 (fop_df_4): Disable for SSE compilation.
1378 2002-01-10 Graham Stott <grahams@redhat.com>
1380 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
1381 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
1383 2002-01-10 Richard Henderson <rth@redhat.com>
1385 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
1387 2002-01-10 Richard Henderson <rth@redhat.com>
1389 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
1390 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
1392 2002-01-10 Kazu Hirata <kazu@hxi.com>
1394 * combine.c (can_combine_p): Fix a comment typo.
1396 2002-01-09 Zack Weinberg <zack@codesourcery.com>
1398 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
1399 empty list correctly. Change loop index $t to $f for
1400 consistency with rest of Makefile.
1402 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
1404 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
1405 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1407 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
1408 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
1409 (altivec_init_builtins): Same.
1410 (altivec_expand_unop_builtin): Return NULL_RTX on error.
1411 (altivec_expand_binop_builtin): Same.
1412 (altivec_expand_ternop_builtin): Same.
1415 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
1416 ("altivec_vctuxs"): Fix typo.
1417 ("altivec_vnmsubfp"): Same.
1418 ("altivec_dssall"): New.
1419 ("altivec_mfvscr"): New.
1420 ("altivec_dss"): New.
1421 ("altivec_lvsl"): New.
1422 ("altivec_lvsr"): New.
1423 ("altivec_dstt"): New.
1424 ("altivec_dstst"): New.
1425 ("altivec_dststt"): New.
1426 ("altivec_dst"): New.
1428 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
1429 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1431 2002-01-09 Richard Henderson <rth@redhat.com>
1433 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
1435 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
1437 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
1439 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
1441 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
1443 2002-01-09 Kazu Hirata <kazu@hxi.com>
1445 * read-rtl.c: Fix formatting.
1447 * regclass.c: Likewise.
1448 * regrename.c: Likewise.
1449 * reg-stack.c: Likewise.
1450 * reload1.c: Likewise.
1451 * reload.c: Likewise.
1454 2002-01-09 Kazu Hirata <kazu@hxi.com>
1456 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
1457 to extract items in the expr_list chain.
1459 2002-01-09 Richard Henderson <rth@redhat.com>
1461 * config/vax/vax.c (vax_rtx_cost): Never abort.
1463 * config/vax/vax.h (REAL_ARITHMETIC): Define.
1465 2002-01-09 Jan Hubicka <jh@suse.cz>
1467 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
1469 2002-01-09 Richard Henderson <rth@redhat.com>
1471 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
1472 Unify code from various alternatives.
1474 2002-01-09 Richard Henderson <rth@redhat.com>
1476 * regrename.c (copy_value): Ignore the copy if the source register
1477 is present in the value chain with a narrower mode.
1479 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1481 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
1482 for the c4x target. Also improve layout.
1484 2002-01-09 Richard Henderson <rth@redhat.com>
1486 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
1487 * config/m32r/m32r.md (and ior xor splitters): Swap operands
1488 to match insn patterns.
1490 2002-01-09 Richard Henderson <rth@redhat.com>
1492 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
1493 (copyprop_hardreg_forward_1): Likewise.
1495 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
1497 * pa.md (decrement_and_branch_until_zero): Change predicate for
1498 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
1500 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1502 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
1503 gets undefined. For Darwin.
1505 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1507 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
1509 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1511 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
1513 2002-01-08 Richard Henderson <rth@redhat.com>
1515 * regrename.c (copy_value): Ignore overlapping copies.
1517 2002-01-08 Richard Henderson <rth@redhat.com>
1519 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
1520 as needed to avoid shared structure.
1522 2002-01-08 Kazu Hirata <kazu@hxi.com>
1524 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
1527 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1529 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
1530 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
1531 documentation of obsolete macros.
1532 * system.h: Poison these macros.
1533 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
1534 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
1535 config/c4x/c4x.h, config/clipper/clipper.h,
1536 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
1537 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
1538 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
1539 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
1540 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
1541 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
1542 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
1543 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
1544 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
1545 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
1546 config/sparc/sparc.h, config/stormy16/stormy16.h,
1547 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
1548 definitions and commented out definitions of obsolete macros.
1549 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
1550 of MAX_INT_TYPE_SIZE.
1552 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1554 * config/s390/s390.c (s390_preferred_reload_class): Never
1555 return ADDR_REGS if it isn't a subset of the given class.
1556 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
1557 FP_REGS, but all superclasses as well.
1559 * config/s390/s390.c (s390_function_profiler): Fix thinko.
1561 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
1562 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
1563 must not be a const_int.
1565 2002-01-08 Richard Henderson <rth@redhat.com>
1567 * Makefile.in (toplev.o): Depend on options.h.
1568 (gcc.o): Depend on specs.h.
1570 2002-01-08 Jakub Jelinek <jakub@redhat.com>
1572 * expr.c (store_expr): Convert VOIDmode constants back to target's
1575 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1577 * doc/invoke.texi: Markup gcc as @command. Refer to
1578 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
1579 of http://gcc.gnu.org/thanks.html.
1581 2002-01-08 Dale Johannesen <dalej@apple.com>
1583 * config/rs6000/rs6000.md: Add missing int register
1584 target case to movdf_low.
1586 2002-01-08 Zack Weinberg <zack@codesourcery.com>
1588 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
1589 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
1590 (cppinit.o): Depend on except.h.
1591 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
1592 s-specs): New rules.
1594 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
1595 Don't create specs.h/options.h/gencheck.h here. Remove
1596 unnecessary variable settings from last argument of AC_OUTPUT.
1597 * config.in, configure: Regenerate.
1598 * intl.c: Hardcode package name as "gcc".
1600 * cppinit.c: Include except.h.
1601 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
1603 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
1604 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
1605 (!)USING_SJLJ_EXCEPTIONS.
1606 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
1608 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1610 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
1611 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
1612 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
1613 documentation of obsolete macros.
1614 * system.h: Poison these macros.
1615 * config/d30v/d30v.h, config/ns32k/encore.h,
1616 config/stormy16/stormy16.h: Remove definitions and commented out
1617 definitions of obsolete macros.
1619 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
1621 * objc/objc-act.c (handle_class_ref): Mark the declaration of
1622 %sobjc_class_ref_%s as used - to prevent unwanted compiler
1625 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1627 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
1628 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
1629 to insn adjusting stack/frame pointer.
1630 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
1631 accept operands that cause the insn to be non-splittable.
1633 2002-01-08 Graham Stott <grahams@redhat.com>
1635 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
1636 (C_TYPE_FIELDS_VOLATILE): Likewise.
1637 (C_TYPE_BEING_DEFINED): Likewise.
1638 (C_IS_RESERVED_WORD): Likewise.
1639 (C_TYPE_VARIABLE_SIZE): Likewise.
1640 (C_DECL_VARIABLE_SIZE): Likewise.
1641 (C_MISSING_PROTOTYPE_WARNED): Likewise.
1642 (C_SET_EXP_ORIGINAL_CODE): Likewise.
1643 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
1645 (C_DECL_ANTICIPATED): Likewise.
1646 (c_build_type_variant): Add parenthesis.
1648 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1650 * gcc.c (option_map): Remove --version.
1651 (process_command): Handle -fversion following the GNU Coding
1652 Standards. Partially addresses PR other/704.
1654 2002-01-08 Graham Stott <grahams@redhat.com>
1656 * combine.c (combine_instructions): Fix typo.
1658 2002-01-08 Graham Stott <grahams@redhat.com>
1660 * debug.h: Use "tree" and "rtx" throughout.
1662 * debug.c: Likewise.
1664 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
1666 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
1667 constant pool, use the pool's version of the symbol instead.
1669 2002-01-07 Richard Henderson <rth@redhat.com>
1671 * regrename.c (find_oldest_value_reg): Ignore the value chain if
1672 the original register was copied in a mode with a fewer number of
1673 hard registers than the desired mode.
1674 (copyprop_hardreg_forward_1): Likewise.
1675 (debug_value_data): Fix loop test.
1676 * toplev.c (parse_options_and_default_flags): Reenable
1677 -fcprop-registers at -O1.
1679 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1681 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
1682 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
1684 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
1687 * config/rs6000/rs6000.md: Add altivec predicate patterns.
1689 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
1691 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
1692 (pa_output_function_prologue): Output local label at the beginning of
1693 the prologue when profiling.
1694 (hppa_profile_hook): Use the local label rather than the function label.
1695 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
1697 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1699 * config/rs6000/rs6000.c (print_operand): Remove extra space.
1700 (altivec_expand_unop_builtin): Fix thinko.
1701 (altivec_expand_binop_builtin): Same.
1702 (altivec_expand_ternop_builtin): Same.
1703 (altivec_expand_builtin): Same.
1705 2002-01-07 Richard Henderson <rth@redhat.com>
1707 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
1709 2002-01-07 Jason Merrill <jason@redhat.com>
1711 * unwind-dw2.c (execute_cfa_program): Use < again.
1713 2002-01-07 Jakub Jelinek <jakub@redhat.com>
1715 * predict.c (combine_predictions_for_insn): Avoid division by zero.
1717 2002-01-07 Jakub Jelinek <jakub@redhat.com>
1719 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
1720 Don't allow -1 - x -> ~x simplifications in the first pass.
1722 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1724 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
1726 (altivec_expand_binop_builtin): Same.
1727 (altivec_expand_unop_builtin): Same.
1728 (print_operand): Fix typo.
1729 (bdesc_1arg): Add vupk* variants.
1731 * rs6000.h (rs6000_builtins): Add vupk* enums.
1733 * rs6000.md: Add altivec_vupk* variants.
1735 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
1737 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
1738 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
1739 and last update dates.
1741 2002-01-07 Janis Johnson <janis187@us.ibm.com>
1743 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
1745 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
1747 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
1748 * config/avr/avr.h (CPP_SPEC): Likewise.
1749 (LINK_SPEC): Likewise.
1750 (CRT_BINUTILS_SPECS): Likewise.
1751 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
1752 * doc/invoke.texi (AVR Options): Document them.
1754 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
1756 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
1759 2002-01-07 Graham Stott <grahams@redhat.com>
1761 * config/i386/i386.h: Update copyright date.
1762 (HALF_PIC_PTR): Add parenthesis.
1763 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
1764 (CONSTANT_ALIGNMENT): Add parenthesis.
1765 (DATA_ALIGNMENT): Likewise.
1766 (LOCAL_ALIGNMENT): Likewise.
1767 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
1768 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
1769 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
1770 (HARD_REGNO_NREGS): Add paranethesis.
1771 (VALID_SSE_REG_MODE): Whitespace.
1772 (VALID_MMX_REG_MODE): Whitespace.
1773 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
1774 (ix86_hard_regno_mode_ok): Add parenthesis.
1775 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
1776 (RETURN_IN_MEMORY): Whitespace.
1777 (N_REG_CLASSES): Add parenthesis.
1778 (INTEGER_CLASS_P): Add parenthesis and wrap.
1779 (FLOAT_CLASS_P): Likewise.
1780 (SSE_CLASS_P): Likewise.
1781 (MMX_CLASS_P): Likewise.
1782 (MAYBE_INTEGER_CLASS_P): Likewise.
1783 (MAYBE_FLOAT_CLASS_P): Likewise.
1784 (MAYBE_SSE_CLASS_P): Likewise.
1785 (MAYBE_MMX_CLASS_P): Likewise.
1786 (Q_CLASS_P): Likewise.
1787 (GENERAL_REGNO_P): Uppercase macro parameter.
1788 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
1789 (FP_REGNO_P): Likewise.
1790 (ANY_FP_REGNO_P): Uppercase macro parameter.
1791 (SSE_REGNO_P): Likewise.
1792 (SSE_REGNO): Likewise.
1793 (SSE_REG_P): Likewise.
1794 (SSE_FLOAT_MODE_P): Likewise.
1795 (MMX_REGNO_P): Likewise.
1796 (MMX_REG_P):Likewise.
1797 (STACK_REG_P): Likewise.
1798 (NON_STACK_REG_P): Likewise.
1799 (STACK_TOP_P): Likewise.
1800 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
1801 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
1802 (SECONDARY_MEMORY_NEEDED): Likewise.
1803 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
1804 (MD_ASM_CLOBBERS): Whitespace and wrap.
1805 (MUST_PASS_IN_STACK): Whitespace and wrap.
1806 (RETURN_POPS_ARGS): Add parenthesis.
1807 (INIT_CUMULATIVE_ARGS): Likewise.
1808 (FUNCTION_ARG): Likewise.
1809 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
1810 (SETUP_INCOMING_VARARGS): Likewise.
1811 (BUILD_VA_LIST_TYPE): Add parenthesis.
1812 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
1814 (EXPAND_BUILTIN_VA_ARG): Likewise.
1815 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
1816 (INITIALIZE_TRAMPOLINE): Add parenthesis.
1817 (INITIAL_ELIMINATION_OFFSET): Likewise.
1818 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
1819 (REGNO_OK_FOR_BASE_P): Likewise.
1820 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
1821 (REGNO_OK_FOR_DIREG_P): Likewise.
1822 (REG_OK_FOR_INDEX_P): Whitespace.
1823 (REG_OK_FOR_BASE_P): Whitespace.
1824 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
1826 (FIND_BASE_TERM): Fix typo.
1827 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
1828 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
1829 (SYMBOLIC_CONST; Whitespace.
1830 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
1831 (ENCODE_SECTION_INFO): Whitespace.
1832 (FINALIZE_PIC): Remove do { ... } while (0).
1833 (PROMOTE_MODE): Wrap in do { ... } while (0).
1834 (CONST_COSTS): Whitespace.
1835 (RTX_COSTS): Add paramethesis, whitespace and wrap.
1836 (REGISTER_MOVE_COST): Add parenthesis.
1837 (MEMORY_MOVE_COST): Likewise.
1838 (EXTRA_CC_MODES): Whitespace.
1839 (SELECT_CC_MODE): Add parenthesis and whitespace.
1840 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
1841 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
1842 (ASM_OUTPUT_LABEL): Add paramethesis.
1843 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
1844 (ASM_OUTPUT_REG_POP): Likewise.
1845 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
1846 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
1848 * config/i386/i386.c: Update copyright.
1849 (CHECK_STACK_LIMIT): Add parenthesis.
1850 (AT_BP): Uppercase macro parameter.
1851 (x86_64_int_parameter_registers): Constify.
1852 (x86_64_int_return_registers): Likewise.
1853 (ix86_compare_op0): Use rtx.
1854 (construct_container): Constify INTREG parameter.
1855 (function_arg): Use rtx.
1857 * diagnostic.h: Update copyright date.
1858 (output_buffer_state): Add parenthesis.
1859 (output_buffer_format_args): Likewise.
1861 * combine.c (combine_instructions): Replace XEXP (links, 0)
1864 2002-01-06 H.J. Lu <hjl@gnu.org>
1866 * cfgcleanup.c (thread_jump): Fix 2 typos.
1868 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
1870 * config.gcc: Add support for --enable-altivec.
1872 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
1874 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
1876 2002-01-06 Jakub Jelinek <jakub@redhat.com>
1878 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
1879 __objc_class_name_*.
1881 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
1883 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
1885 2002-01-06 Richard Henderson <rth@redhat.com>
1887 * reorg.c (emit_delay_sequence): Remove death notes, not merely
1888 nop them out. Increment label reference count for REG_LABEL.
1889 (fill_slots_from_thread): Frob label reference count around
1890 delete_related_insns.
1892 2002-01-05 Richard Henderson <rth@redhat.com>
1894 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
1897 2002-01-05 Richard Henderson <rth@redhat.com>
1899 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
1900 * integrate.c (output_inline_function): Likewise.
1901 * toplev.c (rest_of_compilation): Do it here instead. Move call
1902 to remove_unnecessary_notes after emitting abstract instance.
1903 Force an emitted nested function to have its parent emited as well.
1904 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
1906 (rtl_for_decl_location): Do not look at reload data structures
1907 before reload has run.
1909 2002-01-05 Kazu Hirata <kazu@hxi.com>
1911 * cse.c: Fix formatting.
1912 * dwarf2asm.c: Likewise.
1913 * dwarf2out.c: Likewise.
1914 * explow.c: Likewise.
1915 * expmed.c: Likewise.
1916 * function.c: Likewise.
1918 * gencheck.c: Likewise.
1919 * genrecog.c: Likewise.
1920 * ggc-common.c: Likewise.
1921 * ggc-page.c: Likewise.
1922 * global.c: Likewise.
1924 2002-01-05 Kazu Hirata <kazu@hxi.com>
1926 * combine.c: Fix formatting.
1928 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
1931 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
1933 2002-01-05 David Edelsohn <edelsohn@gnu.org>
1935 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
1936 as 1 for __powerpc64__ as well.
1938 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
1940 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
1943 2002-01-05 Daniel Berlin <dan@dberlin.org>
1945 * lcm.c: Revert change, due to performance regression it causes on
1946 SPEC because it's slightly more conservative (sigh, I hate
1949 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
1951 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
1953 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
1955 * doc/cppinternals.texi: Update.
1957 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
1959 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
1960 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
1962 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
1963 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
1964 kludge for pre-october-14th mmix versions to handle new-found bug
1965 with PUSHJ/PUSHGO and the register stack.
1966 * config/mmix/mmix.h (struct machine_function): Rename member
1967 has_call_value_without_parameters to has_call_without_parameters.
1968 All referers changed.
1969 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
1970 TARGET_MASK_BRANCH_PREDICT): New macros.
1971 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
1972 -mno-reg-stack-fill-bug-workaround.
1973 * config/mmix/mmix.md ("call"): Set struct machine member
1974 has_call_without_parameters.
1976 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
1978 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
1980 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
1982 * cfgcleanup.c: Include tm_p.h
1983 (mark_effect): Fix handling of hard register; fix handling of SET
1985 2002-01-04 Kazu Hirata <kazu@hxi.com>
1987 * config/h8300/h8300.md (anonymous patterns): Check that
1988 operands are registers before using REGNO on them.
1990 2002-01-03 Roland McGrath <roland@frob.com>
1992 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
1994 2002-01-04 Jakub Jelinek <jakub@redhat.com>
1996 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
1997 * c-common.h (genrtl_expr_stmt_value): Likewise.
1998 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
1999 (expand_expr_stmt_value): Add maybe_last argument.
2000 Don't warn about statement with no effect if it is the last statement
2001 in expression statement.
2002 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
2003 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
2004 expand_expr_stmt_value.
2005 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
2006 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
2007 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
2008 as maybe_last to expand_expr_stmt_value.
2010 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
2012 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
2013 be passed in, do not build it.
2014 (c_begin_if_stmt): New function.
2015 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2016 * c-common.h (c_expand_start_cond): Update prototype.
2017 (c_begin_if_stmt): Prototype new function.
2018 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2019 * c-parse.in (if_prefix): Use c_begin_if_stmt,
2020 c_begin_while_stmt and c_finish_while_stmt_cond.
2022 2002-01-04 William Cohen <wcohen@redhat.com>
2024 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
2025 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2026 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2027 * config/pa/som.h (ASM_FILE_START): Likewise.
2029 2001-01-04 Daniel Berlin <dan@cgsoftware.com>
2031 * lcm.c: Include df.h.
2032 Add available_transfer_function prototype.
2033 (compute_available): Rework to use iterative dataflow framework.
2034 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
2035 with bb_info in df.h
2036 (available_transfer_function): New function.
2038 * Makefile.in (lcm.o): add df.h to dependencies.
2040 2002-01-04 Richard Henderson <rth@redhat.com>
2042 * config/alpha/alpha.c (some_operand): Accept HIGH.
2043 (input_operand): Likewise; accept simple references to globals.
2044 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
2045 (alpha_const_double_ok_for_letter_p): Likewise.
2046 (alpha_extra_constraint): Likewise.
2047 (alpha_preferred_reload_class): Likewise. Do not force
2048 symbolic constants to memory.
2049 (alpha_legitimate_address_p): Accept simple references
2050 to small_symbolic_operand.
2051 (alpha_legitimize_address): New arg scratch. Be prepared to be
2052 called when no_new_pseudos. Emit simple symbolic references.
2053 Split integers into low, high, and rest.
2054 (alpha_expand_mov): Use alpha_legitimize_address.
2055 (some_small_symbolic_mem_operand): New.
2056 (split_small_symbolic_mem_operand): New.
2057 * config/alpha/alpha-protos.h: Update.
2058 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
2059 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
2060 (EXTRA_CONSTRAINT): Likewise.
2061 (PREFERRED_RELOAD_CLASS): Likewise.
2062 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
2063 (PREDICATE_CODES): Update.
2064 * config/alpha/alpha.md: New post-reload splitters to convert
2065 simplfied symbolic operands to the form that references $29.
2066 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
2067 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
2069 2002-01-03 Richard Henderson <rth@redhat.com>
2071 * local-alloc.c (function_invariant_p): Update commentary.
2073 2002-01-04 H.J. Lu <hjl@gnu.org>
2075 * toplev.c (rest_of_compilation): Fix a typo when calling
2078 2002-01-03 Kazu Hirata <kazu@hxi.com>
2080 * c-common.c: Fix formatting.
2081 * diagnostic.c: Likewise.
2082 * doloop.c: Likewise.
2083 * dwarf2out.c: Likewise.
2085 2002-01-03 Kazu Hirata <kazu@hxi.com>
2087 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
2088 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
2090 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2092 * cpperror.c: Update comments and copyright.
2093 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
2094 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
2096 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
2098 * collect2.c (main): Use strcmp when testing for "-shared".
2100 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2102 * cppmacro.c: Don't include intl.h. Update comments.
2103 (new_number_token): Allocate enough buffer for 64-bit unsigned
2104 integers; update prototype.
2105 * cppmain.c: Update comments.
2107 2002-01-03 William Cohen <wcohen@redhat.com>
2109 * function.h (struct function): Add profile.
2110 (current_function_profile): New.
2111 doc/extend.texi: Update documentation.
2112 * final.c (final_start_function): Use current_function_profile
2113 instead of profile_flag.
2114 (profile_after_prologue): Likewise.
2115 * function.c (expand_function_start): Likewise.
2116 (expand_function_start): Likewise.
2117 * config/alpha/alpha.c (direct_call_operand):
2118 (alpha_does_function_need_gp): Likewise.
2119 (alpha_expand_prologue): Likewise.
2120 * config/arm/arm.c (arm_expand_prologue): Likewise.
2121 thumb_expand_prologue: Likewise.
2122 * config/d30v/d30v.c (d30v_stack_info): Likewise.
2123 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
2124 (fr30_expand_prologue): Likewise.
2125 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
2126 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
2127 * config/i386/i386.h (FINALIZE_PIC): Likewise.
2128 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
2129 * config/i960/i960.c (i960_output_function_prologue): Likewise.
2130 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
2131 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
2132 (m32r_expand_prologue): Likewise.
2133 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
2134 (m88k_expand_prologue): Likewise.
2135 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
2136 * config/mips/mips.c (compute_frame_size): Likewise.
2137 (mips_expand_prologue): Likewise.
2138 (mips_can_use_return_insn): Likewise.
2139 * config/pa/elf.h (ASM_FILE_START): Likewise.
2140 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2141 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2142 * config/pa/som.h (ASM_FILE_START): Likewise.
2143 * config/romp/romp.c (romp_using_r14): Likewise.
2144 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
2145 (rs6000_stack_info): Likewise.
2146 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2147 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
2148 * config/v850/v850.c (compute_register_save_size): Likewise.
2150 2002-01-03 Jakub Jelinek <jakub@redhat.com>
2152 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
2153 gen_lowpart_common fails, use gen_lowpart_SUBREG.
2155 2002-01-03 Turly O'Connor <turly@apple.com>
2157 * darwin.c (machopic_output_possible_stub_label): Don't generate
2158 stub routines for pseudo-stubs which we've just defined.
2160 2002-01-03 Kazu Hirata <kazu@hxi.com>
2162 * builtins.c: Fix formatting.
2163 * c-typeck.c: Likewise.
2164 * combine.c: Likewise.
2168 2002-01-03 Andreas Schwab <schwab@suse.de>
2170 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
2171 and return true if _cpp_push_next_buffer pushed a new include
2173 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
2174 _cpp_pop_file_buffer did not push a new file.
2175 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
2177 2002-01-02 Eric Christopher <echristo@redhat.com>
2179 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
2180 FIND_REG_INC_NOTE call. Update copyright.
2181 * loop.c (canonicalize_condition): Ditto.
2182 * reorg.c (delete_scheduled_jump): Ditto.
2184 2002-01-03 Kazu Hirata <kazu@hxi.com>
2186 * gcse.c: Fix formatting.
2188 2002-01-03 Graham Stott <grahams@redhat.com>
2190 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
2191 forward defs for struct tags rtx_def, union_tree, rtvec_def
2192 also output corresponding typedefs for rtx, tree, and rtvec.
2194 * system.h: Move forward defs for struct tags rtx_def, union_tree,
2195 rtvec_def along with corresponding typedefs for rtx, tree, and
2196 rtvec to config.h, hconfig.h, tconfig.h.
2198 2002-01-03 Graham Stott <grahams@redhat.com>
2200 * tree.h: Update copyright date.
2201 (IS_EXPR_CODE_CLASS): Add parenthesis.
2202 (TREE_SET_CODE): Add whitespace.
2203 (TREE_CHECK): Add parenthesis.
2204 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
2205 (CST_OR_CONSTRUCTOR_CHECK):
2206 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
2207 (TREE_SYMBOL_REFERENCED): Whitespace.
2208 (INT_CST_LT): Likewise.
2209 (INT_CST_LT_UNSIGNED): Likewise.
2210 (tree_real_cst): Unwrap comment.
2211 (tree_string): Likewise.
2212 (tree_complex): Likewise.
2213 (IDENTIFIER_POINTER): correct cast.
2214 (SAVE_EXPR_CONTEXT): Whitespace.
2215 (EXPR_WFL_FILENAME_NODE): Likewise.
2216 (EXPR_WFL_FILENAME): Remove parenthesis.
2217 (DECL_ORIGIN): Add parenthesis.
2218 (DECL_FROM_INLINE): Use NULL_TREE.
2219 (build_int_2): Whitespace.
2220 (build_type_variant): Add parenthesis.
2222 * gcc/jcf-parse.c: Update copyright date.
2223 (yyparse): Constify resource_filename.
2225 2002-01-03 Graham Stott <grahams@redhat.com>
2227 * rtl.h: Update copyright date.
2228 (RTL_CHECK1): Wrap long line.
2229 (RTL_CHECK2): Likewise.
2230 (RTL_CHECKC1): Wrap long line and whitespace.
2231 (RTL_CHECKC2): Likewise.
2232 (XWINT): Whitespace.
2238 (XBITMAP): Likewise.
2249 (X0BITMAP): Likewise.
2251 (X0BBDEF): Likewise.
2252 (X0ADVFLAGS): Likewise.
2253 (X0CSELIB): Likewise.
2254 (X0MEMATTR): Likewise.
2262 (XCBITMAP): Likewise.
2264 (XCBBDEF): Likewise.
2265 (XCADVFLAGS): Likewise.
2266 (XCCSELIB): Likewise.
2268 (INSN_UID): Likewise.
2269 (PREV_INSN): Likewise.
2270 (PATTERN): Likewise.
2271 (INSN_CODE): Likewise.
2272 (PUT_REG_NOTE_KIND): Likewise.
2273 (CODE_LABEL_NUMBER): Likewise.
2274 (NOTE_SOURCE_FILE): Likewise.
2275 (NOTE_BLOCK): Likewise.
2276 (NOTE_EH_HANDLER): Likewise.
2277 (NOTE_RANGE_INFO): Likewise.
2278 (NOTE_LIVE_INFO): Likewise.
2279 (NOTE_BASIC_BLOCK): Likewise.
2280 (NOTE_EXPECTED_VALUE): Likewise.
2281 (NOTE_LINE_NUMBER): Likewise.
2282 (LABEL_NAME): Likewise.
2283 (LABEL_NUSES): Likewise.
2284 (LABEL_ALTERNATE_NAME): Likewise.
2285 (ADDRESSOF_DECL): Likewise.
2286 (JUMP_LABEL): Likewise.
2287 (LABEL_NEXTREF): Likewise.
2289 (ORIGINAL_REGNO: Likewise.
2290 (HARD_REGISTER_NUM_P): Add parenthesis.
2291 (SUBREG_REG): Whitespace.
2292 (SUBREG_BYTE): Likewise.
2293 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
2294 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
2295 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
2296 (ASM_OPERANDS_INPUT_VEC): Likewise.
2297 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
2298 (ASM_OPERANDS_INPUT): Likewise.
2299 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
2300 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
2301 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
2302 (ASM_OPERANDS_INPUT_MODE): Likewise.
2303 (ASM_OPERANDS_SOURCE_FILE): Likewise.
2304 (ASM_OPERANDS_SOURCE_LINE): Likewise.
2305 (MEM_SET_IN_STRUCT_P): Minor reformat.
2306 (TRAP_CONDITION): Whitespace.
2307 (TRAP_CODE): Likewise.
2308 (COND_EXEC_TEST): Likewise.
2309 (COND_EXEC_CODE): Likewise.
2310 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
2311 (PHI_NODE_P): Add parenthesis.
2312 (plus_constant): Whitespace and add parenthesis.
2314 2002-01-03 Kazu Hirata <kazu@hxi.com>
2316 * config/avr/avr.c: Fix comment typos.
2317 * config/c4x/c4x.md: Likewise.
2318 * config/dsp16xx/dsp16xx.h: Likewise.
2319 * config/dsp16xx/dsp16xx.md: Likewise.
2320 * config/i386/i386.md: Likewise.
2321 * config/ia64/ia64.c: Likewise.
2322 * config/m32r/m32r.h: Likewise.
2323 * config/m68hc11/m68hc11.md: Likewise.
2324 * config/mmix/mmix.c: Likewise.
2325 * config/mn10200/mn10200.c: Likewise.
2326 * config/romp/romp.c: Likewise.
2327 * config/sh/sh.c: Likewise.
2328 * config/stormy16/stormy16.c: Likewise.
2329 * config/stormy16/stormy16.h: Likewise.
2330 * config/stormy16/stormy16.md: Likewise.
2332 2002-01-03 Graham Stott <grahams@redhat.com>
2334 * loop.h: Update copyright date.
2335 (LOOP_MOVABLES): Fix typo.
2336 (LOOP_REGS): Likewise.
2337 (LOOP_IVS): Likewise.
2339 2002-01-03 Graham Stott <grahams@redhat.com>
2341 * cppinit.c: Update copyright date.
2342 Don't include output.h
2343 * Makefile.in: Update copyright date.
2346 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
2349 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
2350 (-pthread) Add to RS/6000 options.
2352 2002-01-02 Kazu Hirata <kazu@hxi.com>
2354 * except.c: Fix comment typos.
2356 * varasm.c: Likewise.
2357 * doc/tm.texi: Fix a typo.
2359 2002-01-02 Jakub Jelinek <jakub@redhat.com>
2361 * c-typeck.c (output_init_element): Allow initializing static storage
2362 duration objects with compound literals.
2364 2002-01-02 Richard Henderson <rth@redhat.com>
2366 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
2369 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2371 * gcc.c (default_compilers): Const-ify.
2372 * mips-tdump.c (stab_names): Likewise.
2373 * mips-tfile.c (map_coff_types, map_coff_storage,
2374 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
2375 pseudo_ops_t, pseudo_ops): Likewise.
2376 * protoize.c (default_include): Likewise
2378 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
2379 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
2380 Add array size in declaration.
2381 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
2382 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
2383 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
2384 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
2385 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
2386 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
2387 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
2388 emtens, make_nan): Const-ify.
2389 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
2390 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
2392 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
2394 * config.gcc (ia64-*-*): Set extra_headers.
2395 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
2396 * config/alpha/t-osf: Remove.
2397 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
2399 2002-01-02 David Edelsohn <edelsohn@gnu.org>
2401 * config/rs6000/t-aix43: Revert previous change.
2403 2002-01-02 Jason Merrill <jason@redhat.com>
2405 * c-decl.c (c_expand_body): Call outlining_inline_function when
2406 emitting an inline function out of line.
2408 2002-01-02 Richard Henderson <rth@redhat.com>
2410 * dwarf2out.c (limbo_die_node): Add created_for member.
2411 (new_die): New argument created_for. Update all callers.
2412 (mark_limbo_die_list): New.
2413 (dwarf2out_init): Register limbo_die_list as a root.
2414 (dwarf2out_finish): Force insert limbo dies into their function
2417 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
2420 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
2422 2002-01-02 Kazu Hirata <kazu@hxi.com>
2424 * config/h8300/fixunssfsi.c: Update copyright.
2427 * config/h8300/h8300.c: Update copyright.
2430 2002-01-02 Kazu Hirata <kazu@hxi.com>
2432 * config/romp/romp.c: Fix comment formatting.
2433 * config/romp/romp.h: Likewise.
2434 * config/romp/romp.md: Likewise.
2435 * config/s390/s390.c: Likewise.
2436 * config/stormy16/stormy16.c: Likewise.
2437 * config/stormy16/stormy16.h: Likewise.
2439 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
2441 * c-common.h (genrtl_expr_stmt_value): Declare.
2442 * c-semantics.c (genrtl_goto_stmt): Redirect to...
2443 (genrtl_goto_stmt_value): ... this new function. Pass new
2444 argument down to expand_expr_stmt_value, taking
2445 TREE_ADDRESSABLE into account.
2446 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
2447 STMT_EXPR as addressable, i.e., one whose result we want.
2448 * expr.c (expand_expr): Don't save expression statement value
2449 of labeled_blocks or loop_exprs.
2450 * stmt.c (expand_expr_stmt): Redirect to...
2451 (expand_expr_stmt_value): ... this new function. Use new
2452 argument to tell whether to save expression value.
2453 (expand_end_stmt_expr): Reset last_expr_type and
2454 last_expr_value if we don't have either.
2455 * tree-inline.c (declare_return_variable): Mark its use
2456 statement as addressable.
2457 * tree.h: Document new use of TREE_ADDRESSABLE.
2458 (expand_expr_stmt_value): Declare.
2460 2002-01-01 Tom Rix <trix@redhat.com>
2462 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
2463 rs6000_emit_allocate_stack.
2465 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
2467 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
2468 ${srcdir}/ginclude/ to every entry in extra_headers.
2469 * configure: Regenerate.
2470 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
2471 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
2472 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
2473 * ginclude/proto.h: Rename to config/convex/proto.h.
2475 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2477 * attribs.c (handle_vector_size_attribute): Use host_integerp
2478 and tree_int_cst; remove warnings.
2479 * caller-save.c (insert_restore): Add cast to get rid of warning.
2480 (insert_save): Likewise.
2481 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
2482 * regmove.c (find_matches): Add temporary var to kill a warning.
2484 2002-01-01 Douglas B Rupp <rupp@gnat.com>
2486 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
2487 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
2488 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
2489 (vms-dwarf2eh.o): Add Makefile rule.
2490 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
2491 * config/alpha/vms-dwarf2eh.asm: New file.
2493 * gcc.c (delete_if_ordinary): Delete all versions.
2495 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
2497 * config/mmix/mmix.md: Update FIXME to not mention
2499 (MMIX_rJ_REGNUM): New define_constants constant.
2500 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
2501 "*movdicc_real"): Adjust contraints formatting.
2502 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
2503 for branch prediction.
2504 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
2506 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
2507 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
2508 number. Delete related FIXMEs.
2509 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
2510 from number to MMIX_rJ_REGNUM.
2511 (TARGET_MASK_BRANCH_PREDICT): New.
2512 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
2513 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
2514 value. Add -mbranch-predict and -mno-branch-predict.
2515 (TARGET_VERSION): Drop date.
2516 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
2517 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
2518 for finding out global symbols.
2519 (mmix_asm_output_labelref): Revert condition for global symbol.
2520 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
2521 (mmix_print_operand_punct_valid_p): A '+' is valid.
2523 See ChangeLog.6 for earlier changes.