1 2002-01-26 Richard Henderson <rth@redhat.com>
3 * Makefile.in (CRTSTUFF_CFLAGS): New.
4 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
5 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
6 crtstuff.c instead of alpha assembly version.
7 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
8 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
9 not FORCE_{INIT,FINI}_SECTION_ALIGN.
10 (__do_global_dtors_aux): Mark used.
11 (frame_dummy, __do_global_ctors_aux): Mark used.
12 (fini_dummy, init_dummy): Remove.
14 * config/alpha/crtbegin.asm: Remove file.
15 * config/alpha/crtend.asm: Remove file.
16 * config/alpha/t-crtbe: Remove file.
17 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
20 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
21 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
23 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
25 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
26 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
27 CRT_END_INIT_DUMMY hack.
28 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
29 FORCE_{INIT,FINI}_SECTION_ALIGN.
31 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
32 FORCE_{INIT,FINI}_SECTION_ALIGN.
34 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
36 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
38 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
39 (FORCE_CODE_SECTION_ALIGN): New.
41 2002-01-26 Richard Henderson <rth@redhat.com>
43 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
45 2002-01-26 Richard Henderson <rth@redhat.com>
47 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
48 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
50 2002-01-26 Kazu Hirata <kazu@hxi.com>
52 * config/h8300/h8300.md: Remove bit extraction patterns that
54 Restrict each bit extraction pattern to a variant on which the
57 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
59 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
61 2002-01-26 Kazu Hirata <kazu@hxi.com>
63 * config/h8300/h8300.md: Remove bit test patterns that cannot
65 Restrict each bit test pattern to a variant on which the
68 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
70 * builtins.c (expand_builtin_strncat): Remove redundant check for
73 2002-01-25 David O'Brien <obrien@FreeBSD.org>
75 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
77 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
80 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
82 * dbxout.c (dbxout_init): Use assemble_name rather than just
83 stripping off the first character.
84 (dbxout_source_file): Likewise.
86 2002-01-25 DJ Delorie <dj@redhat.com>
88 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
89 using rtx_equal_p, not by comparing pointers.
91 2002-01-25 Steve Ellcey <sje@cup.hp.com>
93 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
94 for PIC_OFFSET_TABLE_REGNUM.
95 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
97 2002-01-25 David O'Brien <obrien@FreeBSD.org>
99 * config.gcc (x86_64-*-freebsd*): New target.
100 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
102 (i[34567]86-*-freebsd*): Don't include svr4.h.
103 * config/i386/freebsd64.h: New file.
105 2002-01-25 Douglas B Rupp <rupp@gnat.com>
107 * config/alpha/x-vms (version): Make static.
109 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
112 * Makefile.in (install-headers-cp): New target.
113 * config.gcc (alpha-dec-*vms*): Install headers with
116 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
118 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
121 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
123 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
125 (expand_builtin_strncat): Likewise.
126 * c-decl.c (finish_struct): Use tree_low_cst.
127 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
128 * tree.c (compare_tree_int): Likewise.
130 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
132 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
133 adjustments even if they are implemented by more than two insns.
135 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
137 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
138 * df.h (struct ref): Kill B.
139 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
141 * basic-block.h (PROP_EQUAL_NOTES): New flag.
142 * flow.c (propagate_one_insn): Use it.
143 (mark_used_regs): Handle NIL.
145 2001-01-25 Geoffrey Keating <geoffk@redhat.com>
147 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
150 2002-01-25 David Edelsohn <edelsohn@gnu.org>
152 * rs6000.md (prefetch): Make address V4SI mode so that the address
153 is restricted to legitimate form for instruction.
155 2002-01-25 Bob Wilson <bob.wilson@acm.org>
157 * doc/install.texi (xtensa-*-elf): New target.
158 (xtensa-*-linux*): New target.
159 * doc/contrib.texi: Add myself.
161 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
163 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
164 purpose register to hold an SImode (or smaller) value.
166 2002-01-25 Jakub Jelinek <jakub@redhat.com>
168 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
170 * crtstuff.c: Likewise.
172 2002-01-25 Kazu Hirata <kazu@hxi.com>
174 * config/h8300/h8300.md (negation patterns): Tighten
175 predicates to register_operand.
177 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
179 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
182 * builtins.c (expand_builtin_prefetch): Same.
184 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
186 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
189 2002-01-24 Kazu Hirata <kazu@hxi.com>
191 * config/h8300/h8300.c (print_operand): Remove support for
192 operand character 'A'.
193 * config/h8300/h8300.md (three anonymous patterns): Replace
194 operand character 'A' with either 'T' or 'S'.
196 2002-01-24 Kazu Hirata <kazu@hxi.com>
198 * config/h8300/h8300.c (print_operand): Remove support for
199 operand character 'U'.
201 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
203 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
205 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
207 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
208 values to be assigned to the stack pointer.
210 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
212 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
213 to const_double needs to be done right for big-endian systems.
215 2002-01-24 Jason Merrill <jason@redhat.com>
217 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
218 to can_throw_internal.
220 2002-01-23 Richard Henderson <rth@redhat.com>
222 * fold-const.c (fold): Change UINT_MAX test to check vs precision
223 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
225 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
227 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
228 (symGOT2reg): Use them, then set as GOT value as unchanging.
229 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
230 as a temporary, if possible.
231 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
232 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
234 2002-01-23 Kazu Hirata <kazu@hxi.com>
236 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
237 accept to accept 0x80 as operands[2].
239 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
241 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
243 2002-01-23 Richard Henderson <rth@redhat.com>
245 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
247 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
249 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
250 (parmlist_or_identifiers_1): Verify that only a parmlist follows
253 2002-01-23 Richard Henderson <rth@redhat.com>
255 * expr.c (move_by_pieces_1): Extend size before negation.
257 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
258 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
259 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
260 * config/m68k/t-m68kelf: Likewise.
262 2002-01-23 Bob Wilson <bob.wilson@acm.org>
264 * config/xtensa/elf.h: New file.
265 * config/xtensa/lib1funcs.asm: New file.
266 * config/xtensa/lib2funcs.S: New file.
267 * config/xtensa/linux.h: New file.
268 * config/xtensa/t-xtensa: New file.
269 * config/xtensa/xtensa-config.h: New file.
270 * config/xtensa/xtensa-protos.h: New file.
271 * config/xtensa/xtensa.c: New file.
272 * config/xtensa/xtensa.h: New file.
273 * config/xtensa/xtensa.md: New file.
274 * config.gcc (xtensa-*-elf*): New target.
275 (xtensa-*-linux*): New target.
276 * cse.c (canon_hash): Compare rtx pointers instead of register
277 numbers. This is required for the Xtensa port.
278 * integrate.c (copy_insn_list): Handle case where the static
279 chain is in memory and the memory address has to be copied to
281 * doc/invoke.texi (Option Summary): Add Xtensa options.
282 (Xtensa Options): New node.
283 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
285 2002-01-23 Zack Weinberg <zack@codesourcery.com>
287 * diagnostic.c (internal_error): Do ICE suppression only
288 when ENABLE_CHECKING is not defined.
290 * c-typeck.c (require_complete_type): Return error_mark_node
291 if type is error_mark_node.
293 2002-01-23 Janis Johnson <janis187@us.ibm.com>
295 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
296 -Os and issue a warning.
298 2002-01-23 Zack Weinberg <zack@codesourcery.com>
300 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
301 current (lack of) need for host configuration by hand.
303 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
304 references. Documentation of some target macros moved from
305 hostconfig.texi to tm.texi.
307 2002-01-23 Will Cohen <wcohen@redhat.com>
309 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
312 2002-01-23 Kazu Hirata <kazu@hxi.com>
314 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
317 2002-01-23 Jason Merrill <jason@redhat.com>
319 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
321 * function.c (assign_parms): Don't put args of inline functions
322 into registers when not optimizing.
324 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
326 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
327 (prologue_use): New pattern.
328 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
329 preference to gen_rtx_USE.
330 (thumb_expand_prologue): Use gen_prologue_use in preference to
332 (thumb_expand_epilogue): Use gen_prologue_use in preference to
335 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
337 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
339 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
342 * doc/extend.texi: Correct documentation of __alignof__.
344 2002-01-22 Zack Weinberg <zack@codesourcery.com>
346 * params.h: Rename arguments of DEFPARAM so that it will be
347 recognized as a translation keyword.
349 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
351 * extend.texi: Document altivec functions.
352 Fix N-bit adjectives in X86 builtin documentation.
354 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
356 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
359 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
361 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
363 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
365 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
367 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
369 2002-01-22 Richard Henderson <rth@redhat.com>
371 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
372 copy_insn not copy_rtx.
374 2002-01-23 Alan Modra <amodra@bigpond.net.au>
376 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
377 "nonzero" as that might add "1" bits. Ensure "constop" is
378 properly sign extened.
379 (force_to_mode): Tweak for sign extended constop.
381 2002-01-22 Richard Henderson <rth@redhat.com>
383 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
384 for_each_rtx instead of assuming we're already looking at the MEM.
385 (split_small_symbolic_mem_operand): Likewise.
386 * config/alpha/alpha.h (PREDICATE_CODES): Update.
387 * config/alpha/alpha.md (small symbolic memory splitters): Update.
389 2002-01-22 Richard Henderson <rth@redhat.com>
391 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
392 sequence number for the literal.
393 (divmoddi_internal_er): Likewise.
395 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
398 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
399 in LIBICONV variable.
400 * configure: Regenerated.
402 2002-01-22 Krister Walfridsson <cato@df.lth.se>
404 * dependence.c (build_def_use): Remove array_idx.
406 * dwarfout.c (last_filename): Remove.
407 (output_compile_unit_die): Remove last_filename.
409 2002-01-22 Roger Sayle <roger@eyesopen.com>
410 Richard Henderson <rth@redhat.com>
413 * fold-const.c (fold): Optimize unsigned comparisons against
414 UINT_MAX (and similar unsigned constants).
416 2002-01-22 Janis Johnson <janis187@us.ibm.com>
418 * Makefile.in (loop.o): Depend on OPTABS_H.
419 * loop.c (emit_prefetch_instructions): Check the prefetch operand
420 against the predicate.
423 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
424 for the address operand.
426 2002-01-22 Richard Henderson <rth@redhat.com>
428 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
430 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
433 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
436 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
438 * config.gcc (x86_64-*-netbsd*): New target.
439 * config/i386/netbsd64.h: New file.
441 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
443 * regrename.c (kill_value): Fix typo.
445 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
447 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
449 * config/rs6000/rs6000.h: Same.
451 * function.c (instantiate_virtual_regs): Remove
452 STARTING_FRAME_PHASE.
453 (assign_stack_local_1): Same.
454 Calculate frame phase.
456 2002-01-22 Nick Clifton <nickc@redhat.com>
458 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
459 variable declaration to outer scope in order to simplify
461 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
462 arm_hard_regno_mode_ok.
463 * config/arm/arm-protos.h: Add a prototype for
464 arm_hard_regno_mode_ok.
465 * config/arm/arm.c (soft_df_operand): Remove now redundant
466 check for DImode values using IP_REGNUM.
467 (nonimmediate_soft_df_operand): Remove now redundant check for
468 DImode values using IP_REGNUM.
469 (arm_hard_regno_mode_ok): New function. New check: make sure
470 that DImode values are not stored in IP_REGNUM.
472 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
474 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
476 2002-01-22 Jason Merrill <jason@redhat.com>
478 * c-semantics.c (genrtl_compound_stmt): Only check nesting
479 consistency if this COMPOUND_STMT is scoped.
481 2002-01-22 Kazu Hirata <kazu@hxi.com>
483 * predict.c: Fix formatting.
484 * print-tree.c: Likewise.
485 * protoize.c: Likewise.
488 * sbitmap.h: Likewise.
490 * sched-deps.c: Likewise.
491 * sched-vis.c: Likewise.
492 * sdbout.c: Likewise.
493 * sibcall.c: Likewise.
495 * ssa-ccp.c: Likewise.
496 * ssa-dce.c: Likewise.
498 * stor-layout.c: Likewise.
499 * system.h: Likewise.
501 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
503 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
504 if fits in bounds of base type.
506 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
507 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
508 (add_bound_info, default): If can't find a context, make a
510 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
512 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
514 * c-typeck.c (parser_build_binary_op): If result from
515 build_binary_op is ERROR_MARK just return error_mark_node without
518 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
520 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
521 Split a.out-specific bits into...
522 * config/netbsd-aout.h: ...this.
523 * config/netbsd-elf.h: New file.
524 * config/alpha/netbsd-elf.h: Remove.
525 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
526 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
527 (STARTFILE_SPEC): Remove redundant definition.
528 (ENDFILE_SPEC): Likewise.
529 (LINK_SPEC): Likewise.
530 (CPP_SPEC): Likewise.
531 (ASM_SPEC): Likewise.
532 (LIB_SPEC): Likewise.
533 (SWITCH_TAKES_ARG): Likewise.
534 (TARGET_MEM_FUNCTIONS): Likewise.
535 (CPP_PREDEFINES): Redefine.
536 (ASM_FINAL_SPEC): Remove redefinition.
537 (ASM_COMMENT_START): Redefine.
538 (FUNCTION_PROFILER): Define.
539 (TARGET_VERSION): Redefine.
540 Comment and formatting cleanup.
541 * config/i386/netbsd.h: Include <netbsd-aout.h>.
542 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
543 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
544 big- or little-endian.
545 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
546 * config.gcc (*-*-netbsd*): Add definitions common to all
548 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
549 gnu_ld definitions. Add netbsd-elf.h to and remove
550 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
551 tmake_file, and don't lose previous tmake_file contents.
552 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
553 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
554 gnu_ld definitions. Add netbsd-elf.h to tm_file.
555 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
556 (mipsel-*-netbsd*): Rename this to...
557 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
558 mips/little.h to tm_file for mips*el-*.
559 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
560 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
561 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
563 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
565 * pa-protos.h (reg_before_reload_operand): New function prototype.
566 * pa.c (reg_before_reload_operand): New function implementation.
567 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
570 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
572 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
574 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
576 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
577 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
578 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
579 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
580 (ENDFILE_SPEC): Undefine.
581 (STARTFILE_SPEC): Redefine for PA.
583 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
585 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
587 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
589 * config.gcc: Add entries to supported PowerPC --with-cpu
592 2002-01-21 Jakub Jelinek <jakub@redhat.com>
594 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
595 true for 64-bit mode only SSE registers in 32-bit mode.
597 2002-01-21 Kazu Hirata <kazu@hxi.com>
599 * unwind-dw2.c: Fix formatting.
600 * unwind-dw2-fde.c: Likewise.
601 * unwind-dw2-fde.h: Likewise.
602 * unwind-pe.h: Likewise.
603 * varasm.c: Likewise.
604 * varray.h: Likewise.
606 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
608 Remove workaround for register stack overwrite bug in mmix.
609 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
610 support for TARGET_REG_STACK_FILL_BUG.
611 * config/mmix/mmix.h: Remove member has_call_without_parameters.
612 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
614 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
615 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
616 -mno-reg-stack-fill-bug-workaround.
617 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
618 machine member has_call_without_parameters.
619 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
620 -mreg-stack-fill-bug-workaround and
621 -mno-reg-stack-fill-bug-workaround.
622 (MMIX Options): Ditto.
624 2002-01-21 Kazu Hirata <kazu@hxi.com>
626 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
628 Remove redundant code.
630 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
632 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
633 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
634 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
635 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
636 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
637 out target macro definitions and non-target-specific comments
638 mostly taken from old versions of the manual.
640 2002-01-20 Kazu Hirata <kazu@hxi.com>
642 * config/h8300/h8300.h: Fix comment formatting.
643 * config/ia64/aix.h: Likewise.
644 * config/ia64/ia64-protos.h: Likewise.
645 * config/ia64/ia64.c: Likewise.
646 * config/ia64/ia64.h: Likewise.
647 * config/ia64/ia64intrin.h: Likewise.
648 * config/ia64/linux.h: Likewise.
649 * config/ia64/unwind-aix.c: Likewise.
650 * config/ia64/unwind-ia64.c: Likewise.
652 2002-01-20 Kazu Hirata <kazu@hxi.com>
654 * config/h8300/h8300.c: Revise comments about shift code.
656 2002-01-20 Kazu Hirata <kazu@hxi.com>
658 * config/h8300/h8300.c (function_arg): Update a comment.
660 2002-01-20 Kazu Hirata <kazu@hxi.com>
662 * config/h8300/h8300.md: Update the comments at the beginning
665 2002-01-20 Kazu Hirata <kazu@hxi.com>
667 * config/i370/i370.c: Fix comment formatting.
668 * config/i370/i370.h: Likewise.
669 * config/i370/i370.md: Likewise.
670 * config/i370/linux.h: Likewise.
672 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
674 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
676 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
677 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
680 2002-01-20 Graham Stott <grahams@redhat.com>
682 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
684 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
686 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
688 2002-01-19 Tom Rix <trix@redhat.com>
690 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
692 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
694 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
696 * function.c (assign_stack_local_1): Adjust x_frame_offset with
697 STARTING_FRAME_PHASE.
698 (STARTING_FRAME_PHASE): New.
699 (instantiate_virtual_regs): Check saneness of
700 STARTING_FRAME_PHASE.
702 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
704 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
706 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
708 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
710 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
711 be used for bootstrapping GCC 3.0.
713 2002-01-18 Kazu Hirata <kazu@hxi.com>
715 * config/h8300/h8300.md: Fix an insn length.
717 2002-01-18 Kazu Hirata <kazu@hxi.com>
719 * bitmap.h: Fix comment formatting.
720 * combine.c: Likewise.
721 * cppfiles.c: Likewise.
722 * c-pragma.h: Likewise.
723 * c-typeck.c: Likewise.
725 * dwarf2out.c: Likewise.
726 * function.c: Likewise.
728 * genattrtab.c: Likewise.
729 * gthr-win32.h: Likewise.
730 * haifa-sched.c: Likewise.
731 * predict.c: Likewise.
732 * rtlanal.c: Likewise.
734 * unwind-dw2-fde.h: Likewise.
735 * unwind-pe.h: Likewise.
736 * vmsdbgout.c: Likewise.
738 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
740 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
741 if type_required and passed decl.
743 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
745 * config.gcc (cpu_type): Include altivec.h in powerpc
749 * config/rs6000/altivec.h: New.
751 2002-01-17 David Edelsohn <edelsohn@gnu.org>
753 * doc/install.texi (*-ibm-aix*): Update assembler and exception
754 handling information.
755 * doc/trouble.texi (Interoperation): Add libstdc++ information
757 (Misunderstandings): Add template instantiation and static template
758 member information for AIX.
760 2002-01-17 Jason Merrill <jason@redhat.com>
762 * dbxout.c (dbxout_type): Support const and volatile.
764 * except.c (add_partial_entry): Remove backwards compatibility code.
765 (end_protect_partials): Likewise.
767 2002-01-17 Jakub Jelinek <jakub@redhat.com>
769 * config/ia64/ia64.md (prologue_use): New.
770 * config/ia64/ia64.c (ia64_expand_prologue): Use
771 gen_prologue_use instead of gen_rtx_USE.
772 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
773 as CODE_FOR_pred_rel_mutex.
774 (ia64_sched_reorder2): Likewise.
776 2002-01-16 Eric Christopher <echristo@redhat.com>
778 * config/mips/r3900.h: Reformat.
779 (SUBTARGET_CPP_SIZE_SPEC): Remove.
780 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
781 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
782 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
783 * config/mips/t-elf: Remove mips3 multilib.
785 2002-01-16 H.J. Lu <hjl@gnu.org>
787 * config/mips/linux.h: Include "mips/abi64.h".
789 2002-01-16 H.J. Lu <hjl@gnu.org>
791 * config/mips/t-linux: New.
793 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
795 * config/mips/linux.h: Don't include "gofast.h".
796 (INIT_SUBTARGET_OPTABS): Removed.
798 2002-01-16 Kazu Hirata <kazu@hxi.com>
800 * config/h8300/h8300-protos.h: Replace emit_a_shift with
802 * config/h8300/h8300.c: Likewise.
803 * config/h8300/h8300.md: Likewise.
805 2002-01-16 Kazu Hirata <kazu@hxi.com>
807 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
808 spaces after an opcode name.
809 (pushqi1_h8300hs): Likewise.
810 (pushhi1_h8300hs): Likewise.
812 2002-01-16 Kazu Hirata <kazu@hxi.com>
814 * doc/extend.texi: Replace "option" with "attribute"
817 2002-01-16 Jakub Jelinek <jakub@redhat.com>
819 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
820 (and:DI () (const_int -8)).
821 (split_small_symbolic_mem_operand): Split
822 (mem (and:DI () (const_int -8)).
824 2002-01-16 Jakub Jelinek <jakub@redhat.com>
827 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
828 same way as TYPE_IMUL.
829 (ultrasparc_sched_reorder): Likewise.
830 * config/sparc/sparc.md (type): Add comment to update
831 ultrasparc_sched_reorder when making changes.
833 2002-01-16 Kazu Hirata <kazu@hxi.com>
835 * doc/invoke.texi: Change the dump file name of block
836 reordering pass from 28.bbro to 29.bbro.
839 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
841 * i386.md (minsf splitter): Fix pasto.
843 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
845 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
846 to frame pointer initialisation instruction.
847 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
848 initialisation instruction.
849 (soft_df_operand): Do not accept the IP register.
850 (nonimmediate_soft_df_operand): Do not accept the IP register.
852 2002-01-16 Jakub Jelinek <jakub@redhat.com>
855 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
856 MASK_V8 being both set.
858 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
860 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
861 insn for GOT register; add REG_MAYBE_DEAD notes instead.
862 config/s390/s390.md (call, call_value): Add GOT register to
863 CALL_INSN_FUNCTION_USAGE where needed.
864 (call_exp, call_value_exp): New.
866 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
868 * config/arm/arm.c: General formatting tidy up.
870 2002-01-16 Graham Stott <grahams@redhat.com>
872 * calls.c (try_to_integrate): Use "(size_t)" intermediate
873 cast and when casting an integer literal to "rtx" pointer.
874 (expand_call): Likewise.
875 * flow.c (try_pre_increment): Likewise.
876 (find_use_as_address): Likewise.
877 * integrate.c (expand_iline_function): Likewise.
878 * regmove.c (try_auto_increment): Likewise.
880 2002-01-16 Graham Stott <grahams@redhat.com>
882 * sched-rgn.c (passed): Use sbitmap_free.
885 (in_queue): Likewise.
886 (in_stack): Likewise.
888 2002-01-15 Eric Christopher <echristo@redhat.com>
890 * flow.c (propagate_one_insn): Change to use fatal_insn.
892 2002-01-15 Kazu Hirata <kazu@hxi.com>
894 * expmed.c (extract_fixed_bit_field): Remove unused code.
895 * system.h: Poison SLOW_ZERO_EXTEND.
896 * doc/tm.texi: Remove.
897 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
898 * config/arm/arm.h: Likewise.
899 * config/avr/avr.h: Likewise.
900 * config/clipper/clipper.h: Likewise.
901 * config/convex/convex.h: Likewise.
902 * config/d30v/d30v.h: Likewise.
903 * config/dsp16xx/dsp16xx.h: Likewise.
904 * config/elxsi/elxsi.h: Likewise.
905 * config/fr30/fr30.h: Likewise.
906 * config/h8300/h8300.h: Likewise.
907 * config/i370/i370.h: Likewise.
908 * config/i386/i386.h: Likewise.
909 * config/m68k/m68k.h: Likewise.
910 * config/mips/mips.h: Likewise.
911 * config/ns32k/ns32k.h: Likewise.
912 * config/pdp11/pdp11.h: Likewise.
913 * config/pj/pj.h: Likewise.
914 * config/s390/s390.h: Likewise.
915 * config/sh/sh.h: Likewise.
916 * config/stormy16/stormy16.h: Likewise.
917 * config/v850/v850.h: Likewise.
918 * config/vax/vax.h: Likewise.
919 * config/we32k/we32k.h: Likewise.
921 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
923 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
924 (altivec_lvsl): Change constraint to b.
925 (altivec_lvsr): Same.
926 (altivec_lvebx): Same.
927 (altivec_lvehx): Same.
928 (altivec_lvewx): Same.
929 (altivec_lvxl): Same.
931 (altivec_stvx): Add parallel.
932 (altivec_stvxl): Same.
933 (altivec_stvehx): Same.
934 (altivec_stvebx): Same.
935 (altivec_stvebx): Same.
937 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
939 * config.gcc: Change altivec.h to altivec-defs.h.
941 * config/rs6000/altivec.h: Delete.
943 * config/rs6000/altivec-defs.h: Add.
945 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
947 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
950 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
951 less than or equal to eight bytes.
953 * vax.md (andsi3): Remove constraints and change SET destination
954 operand type to nonimmediate_operand.
955 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
956 when it is a CONST_INT.
958 2002-01-15 Jason Merrill <jason@redhat.com>
960 * c-common.def (FILE_STMT): New code.
961 * c-common.c (statement_code_p): It's a statement.
962 * c-common.h (stmt_tree_s): Add x_last_filename.
963 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
964 (last_expr_filename): New macro.
965 * c-semantics.c (begin_stmt_tree): Initialize it.
966 (add_stmt): If the filename changed, also insert a
968 (expand_stmt): Handle seeing one.
970 2002-01-15 Eric Christopher <echristo@redhat.com>
972 * flow.c (propagate_one_insn): Add error message and print out
975 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
977 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
978 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
979 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
980 TRAMPOLINE_ALIGNMENT.
981 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
983 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
984 PCC_BITFIELD_TYPE_MATTERS.
985 * config/interix.h (STDC_VALUE): Remove. Use
986 STDC_0_IN_SYSTEM_HEADERS.
987 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
988 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
989 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
991 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
993 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
994 not work on this platform currently.
996 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
998 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
999 readonly_warning in _().
1001 2002-01-15 Douglas B Rupp <rupp@gnat.com>
1003 * gcc.c (delete_if_ordinary): Backout previous change.
1005 2002-01-15 Kazu Hirata <kazu@hxi.com>
1007 * config/h8300/h8300.c (print_operand): Remove support for
1008 unused operand characters.
1010 * read-rtl.c: Fix formatting.
1012 * recog.c: Likewise.
1013 * regclass.c: Likewise.
1014 * regmove.c: Likewise.
1015 * reg-stack.c: Likewise.
1016 * reload1.c: Likewise.
1017 * rtlanal.c: Likewise.
1019 2002-01-15 Kazu Hirata <kazu@hxi.com>
1021 * config/i386/i386.c: Fix formatting.
1023 2002-01-15 Jakub Jelinek <jakub@redhat.com>
1025 * c-typeck.c (process_init_element): Don't save_expr
1026 COMPOUND_LITERAL_EXPR if just its initializer will be used.
1028 2002-01-15 David Edelsohn <edelsohn@gnu.org>
1030 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
1031 emit optional traceback table if optimize_size or TARGET_ELF.
1032 * config/rs6000/rs6000.md (prefetch): New.
1034 2002-01-15 Andreas Jaeger <aj@suse.de>
1036 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
1038 2002-01-15 Kazu Hirata <kazu@hxi.com>
1040 * mips-tfile.c: Fix formatting.
1042 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
1044 * unroll.c (final_reg_note_copy): Fix previous commit.
1046 2002-01-14 Kazu Hirata <kazu@hxi.com>
1048 * config/h8300/h8300-protos.h: Remove the prototype for
1050 * config/h8300/h8300.c (eq_operator): Remove.
1052 2002-01-14 Richard Henderson <rth@redhat.com>
1054 * config/i386/i386.md (prefetch): Tidy.
1055 (prefetch_3dnow): Fix locality operand.
1057 2002-01-14 Richard Henderson <rth@redhat.com>
1059 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
1060 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
1062 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
1064 * reload1.c (reload_combine): Pass reg_sum replacement through
1065 copy_rtx in loop performing multiple changes.
1067 2002-01-14 Jakub Jelinek <jakub@redhat.com>
1069 * except.c (remove_unreachable_regions): New.
1070 (free_eh_status): Clear exception_handler_labels.
1071 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
1072 (find_exception_handler_labels): Don't add the same label more than
1074 (remove_exception_handler_label): Don't die if
1075 find_exception_handler_labels hasn't been called for the current
1078 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
1080 * toplev.c (rest_of_compilation): Rebuild jump labels after
1083 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
1085 * doc/extend.texi: Move documentation of X86 built-in functions
1087 * doc/invoke.texi: From here.
1088 * doc/sourcebuild.texi: Document location of documentation for
1089 machine built-in functions.
1091 2002-01-13 Christopher Faylor <cgf@redhat.com>
1093 * cppfiles.c (TEST_THRESHOLD): New macro.
1094 (SHOULD_MMAP): Ditto.
1095 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
1098 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
1100 * unroll.c (final_reg_note_copy): Properly handle
1102 (unroll_loops): Fix LOOP_CONDITION heuristics.
1104 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
1106 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
1107 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
1109 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
1111 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
1114 2002-01-14 Tom Rix <trix@redhat.com>
1116 * config/rs6000/rs6000.md: Fix typo with sradi.
1118 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
1120 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
1121 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
1122 (clrstrdi, clrstrsi): Adapt callers.
1124 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
1126 (movti splitter): Never use register 0 as base register.
1128 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
1130 * combine.c (simplify_shift_const): Always generate new rtx
1131 for shift expression instead of reusing given expression.
1133 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1135 * config/alpha/alpha.c (alpha_expand_mov): Don't call
1136 alpha_legitimize_address unless mode is Pmode.
1138 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
1140 * doc/md.texi (Modifiers): Document the '*' constraint for the
1143 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
1144 * doc/extend.texi (Function Attributes): 'interrupt' is valid
1147 2002-01-13 Richard Henderson <rth@redhat.com>
1149 * reload.c (find_reloads): Use a hard reg destination as reload reg
1150 for an input reload of the source.
1152 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1154 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
1157 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
1159 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1160 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1162 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
1164 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1166 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
1168 2002-01-12 Tom Rix <trix@redhat.com>
1170 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
1173 2002-01-12 Richard Henderson <rth@redhat.com>
1175 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
1177 * doc/invoke.texi: Update Alpha options.
1179 * doc/invoke.texi: Update i386 built-in function lists.
1181 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
1183 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
1184 referencing outside.
1186 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1188 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
1189 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
1190 offsets, and change line folding.
1191 * optabs.c (expand_binop): Remove warnings.
1192 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
1194 2002-01-12 Graham Stott <grahams@redhat.com>
1196 * attribs.c (handle_deprecated_attribute): constify WHAT.
1197 * diagnostic.c (warn_deprecated_use): Add braces, fixes
1198 dangling else warning and constify WHAT.
1199 * except.h (struct function, struct inline_remap): Move
1200 struct tag forward defs before all prototypes.
1201 (duplicate_eh_regions): Whitespace.
1203 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
1205 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
1206 MODE_BASE_REG_CLASS.
1207 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
1209 2002-01-12 Richard Henderson <rth@redhat.com>
1211 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
1212 (ix86_expand_vector_move): New.
1213 (bdesc_2arg): Remove andps, andnps, orps, xorps.
1214 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
1215 Remove old prefetch builtins. Special case the logicals removed above.
1216 (ix86_expand_builtin): Likewise.
1217 (safe_vector_operand): Use V4SFmode, not TImode.
1218 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
1219 (ix86_expand_timode_binop_builtin): New.
1220 * config/i386/i386-protos.h: Update.
1221 * config/i386/i386.h (enum ix86_builtins): Update.
1222 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
1223 Use ix86_expand_vector_move in vector move expanders.
1224 (movti_internal, movti_rex64): Add xorps alternative.
1225 (sse_clrv4sf): Rename and adjust from sse_clrti.
1226 (prefetch): Don't work so hard.
1227 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
1228 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
1229 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
1231 2002-01-11 Richard Henderson <rth@redhat.com>
1233 * config/i386/mmintrin.h: New file.
1234 * config/i386/xmmintrin.h: New file.
1235 * config.gcc (i?86-*-*): Add extra_headers.
1236 * simplify-rtx.c (simplify_unary_operation): Handle saturating
1238 (simplify_binary_operation): Handle saturating arithmetic codes.
1239 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
1240 not the lowpart subreg.
1241 (ix86_expand_builtin): Return a TImode dummy register instead of 0
1243 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
1245 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1247 * conflict.c (conflict_graph_compute): Free regsets when finished.
1248 * ssa.c (compute_coalesced_reg_partition): Likewise.
1250 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1252 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
1253 every where we allocate a register.
1255 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1257 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
1258 * lcm.c (compute_earliest, compute_farthest): Likewise.
1260 2002-01-11 Janis Johnson <janis187@us.ibm.com>
1262 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
1264 2002-01-11 Janis Johnson <janis187@us.ibm.com>
1266 * doc/rtl.texi (Insns): Fix 2 typos.
1268 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1270 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
1271 options. Use @table @gcctabopt for MMIX options. Add index
1272 entries for MMIX options. Start new paragraph with first
1273 heading of the machine-dependent options.
1275 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
1278 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
1279 * combine.c (force_to_mode): Same.
1280 * reload1.c (clear_reload_reg_in_use): Same.
1282 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
1284 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
1287 2002-01-11 Andreas Jaeger <aj@suse.de>,
1288 Brad Lucier <lucier@math.purdue.edu>
1290 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
1293 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
1295 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
1296 Protect with IN_LIBGCC.
1297 (LINK_EH_SPEC): Add required trailing space.
1299 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
1301 * c-tree.h: Move function declarations so that they are listed
1302 under the filename which contains them.
1303 (check_identifier, finish_decl_top_level,
1304 lookup_name_current_level_global, shadow_record_fields): Remove.
1306 2002-01-11 Andreas Jaeger <aj@suse.de>
1308 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
1311 2002-01-10 Richard Henderson <rth@redhat.com>
1313 * config/alpha/alpha.c (print_operand): Add 'J'.
1314 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
1315 new operand with the sequence number for the lituse. When splitting
1316 the insns, use gen_movdi_er_high_g and generate a sequence number.
1317 (gen_movdi_er_high_g): Print the sequence number if non-zero.
1319 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
1321 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
1322 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
1324 (altivec_expand_builtin): Same.
1325 (altivec_expand_stv_builtin): New.
1327 * config/rs6000/rs6000.h (rs6000_builtins): Same.
1329 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
1330 ("altivec_lvehx"): New.
1331 ("altivec_lvewx"): New.
1332 ("altivec_lvxl"): New.
1333 ("altivec_lvx"): New.
1334 ("altivec_stvx"): New.
1335 ("altivec_stvebx"): New.
1336 ("altivec_stvehx"): New.
1337 ("altivec_stvewx"): New.
1338 ("altivec_stvxl"): New.
1340 2002-01-10 Richard Henderson <rth@redhat.com>
1342 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
1343 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
1344 care not to delete instructions twice.
1346 2002-01-10 Zack Weinberg <zack@codesourcery.com>
1348 * toplev.c: Don't declare environ (it's not used anywhere).
1349 * configure.in: Don't check for declaration of environ.
1350 * config/i386/xm-mingw32.h: Don't #define environ.
1351 * config.in, configure: Regenerate.
1353 2002-01-10 Zack Weinberg <zack@codesourcery.com>
1355 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
1356 * configure: Regenerate.
1358 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
1359 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
1360 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
1362 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
1363 LIMITS_H_TEST here, not in m68k/x-next.
1364 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
1365 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
1367 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
1368 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
1369 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
1371 * config/i386/x-djgpp: Renamed i386/t-djgpp.
1372 * config/m88k/x-dolph: Renamed m88k/t-dolph.
1373 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
1374 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
1375 replacement of quadlib.asm with quadlib.c.
1377 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
1378 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
1379 config/rs6000/xm-beos.h: Delete file.
1381 * config.gcc: Update to match above changes.
1383 2002-01-10 Kazu Hirata <kazu@hxi.com>
1385 * config/h8300/h8300.h: Fix comment typos.
1386 * config/h8300/h8300.md: Likewise.
1387 * config/h8300/lib1funcs.asm: Likewise.
1389 2002-01-10 Dale Johannesen <dalej@apple.com>
1391 PR optimization/5269
1392 * unroll.c (precondition_loop_p): Make *increment be the correct
1393 sign when n_iterations known, to avoid confusing caller.
1395 2002-01-10 Kazu Hirata <kazu@hxi.com>
1397 * doc/extend.texi (deprecated): Fix a typo.
1399 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
1401 * basic-block.h (update_br_prob_note): Declare.
1402 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
1403 (try_forward_edges): Care negative frequencies and update note.
1404 (outgoing_edges_match): Tweek conditional merging heuristics.
1405 (try_crossjump_to_edge): use update_br_prob_note.
1406 * cfglayout.c (fixup_reorder_chain): Likewise.
1407 * cfrtl.c (update_br_prob_note): New.
1408 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
1410 * i386.c (ix86_decompose_address): Return -1 if address contains
1412 (legitimate_address_p): Require ix86_decompose_address to return 1.
1414 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
1415 (cprop_insn): Likewise.
1417 2002-01-10 Kazu Hirata <kazu@hxi.com>
1419 * toplev.c: Fix formatting.
1421 * tree-dump.c: Likewise.
1422 * unroll.c: Likewise.
1423 * unwind-dw2.c: Likewise.
1424 * unwind-dw2-fde.c: Likewise.
1425 * unwind-dw2-fde-glibc.c: Likewise.
1426 * unwind-sjlj.c: Likewise.
1428 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1430 * doc/invoke.texi: Document PDP-11 options.
1432 2002-01-10 Kazu Hirata <kazu@hxi.com>
1434 * config/h8300/h8300.h: Fix formatting.
1436 2001-01-10 Ira Ruben <ira@apple.com>
1438 Add __attribute__ ((deprecated)).
1439 * extend.texi: Document __attribute__ ((deprecated)).
1440 * invoke.texi: Document -Wno-deprecated-declarations.
1441 * testsuite/g++.dg/other/deprecated.C: New C++ test.
1442 * testsuite/gcc.dg/deprecated.c: New C test.
1443 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
1444 (c_common_attribute_table): Add "deprecated" entry.
1445 (handle_deprecated_attribute): New function.
1446 * c-decl.c (deprecated_states): New enum.
1447 deprecated_state: State of "deprecated" handling.
1448 (start_decl): Set deprecated_state based on attributes.
1449 (grokdeclarator): Test for deprecated uses, propagate attribute.
1450 * c-typeck.c (build_component_ref): Test for deprecated fields.
1451 (build_external_ref): Test for deprecated primaries.
1452 * diagnostic.c (warn_deprecated_use) New function to issue
1453 warnings about __attribute__ ((depricated)) references.
1454 * flags.h (warn_deprecated_decl): Extern declared for
1455 -W[no-]deprecated-declarations option.
1456 * print-tree.c (print_node): Show deprecated flag status.
1457 * toplev.c (warn_deprecated_decl): Defined.
1458 (W_options): Added "deprecated-declaration".
1459 * toplev.h (warn_deprecated_use): Extern declared.
1460 * tree.h (struct tree_common): Define deprecated_flag.
1461 (TREE_DEPRECATED): New macro to access flag.
1462 * cp/call.c (build_call): Test for deprecated calls.
1463 * cp/class.c (add_implicitly_declared_members): Set global
1464 flag to tell grokdeclarator to not issue deprecated warnings.
1465 * cp/cp-tree.h: Add extern for adding_implicit_members.
1466 * cp/decl.c (deprecated_states): New enum.
1467 (start_decl): Set deprecated_state based on attributes.
1468 (grokdeclarator): Test for deprecated uses, propagate attribute.
1469 * cp/lex.c (do_identifier): Test for deprecated primaries.
1470 * cp/typeck.c (build_component_ref): Test for deprecated fields.
1472 2001-01-10 Ira Ruben <ira@apple.com>
1474 Fix to assign attributes to inline member functions.
1475 * cp/decl.c (start_method): Handle attrlist.
1477 2002-01-10 Kazu Hirata <kazu@hxi.com>
1479 * combine.c (expand_field_assignment): Use subreg_lsb().
1481 2002-01-10 David Edelsohn <edelsohn@gnu.org>
1483 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
1484 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
1485 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
1486 Recurse for any operand of AND as long as constant is non-zero.
1488 2002-01-10 Kazu Hirata <kazu@hxi.com>
1490 * config/h8300/h8300.md: Remove constraints from expanders.
1492 2002-01-10 Kazu Hirata <kazu@hxi.com>
1494 * varasm.c: Fix formatting.
1495 * varray.c: Likewise.
1496 * vmsdbgout.c: Likewise.
1497 * xcoffout.c: Likewise.
1499 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
1501 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
1502 update edge probabilities to match.
1504 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1506 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
1508 * doc/languages.texi, doc/sourcebuild.texi: New files.
1509 * doc/configfiles.texi: Make a subsubsection. Update.
1510 * doc/configterms.texi: Add @node. Remove warning that this isn't
1511 instructions for building GCC.
1512 * doc/makefile.texi: Make a subsection.
1513 * doc/gccint.texi: Update.
1515 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
1517 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
1519 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
1521 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
1523 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
1525 * optabs.c (expand_fix): Look for wider integer modes first.
1527 * i386.md (mov?f): Avoid the fake const double trick for medium
1529 (min?f*/max?f*): Prohibit memory operands for i387 variant.
1530 (fop_df_4): Disable for SSE compilation.
1532 2002-01-10 Graham Stott <grahams@redhat.com>
1534 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
1535 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
1537 2002-01-10 Richard Henderson <rth@redhat.com>
1539 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
1541 2002-01-10 Richard Henderson <rth@redhat.com>
1543 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
1544 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
1546 2002-01-10 Kazu Hirata <kazu@hxi.com>
1548 * combine.c (can_combine_p): Fix a comment typo.
1550 2002-01-09 Zack Weinberg <zack@codesourcery.com>
1552 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
1553 empty list correctly. Change loop index $t to $f for
1554 consistency with rest of Makefile.
1556 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
1558 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
1559 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1561 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
1562 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
1563 (altivec_init_builtins): Same.
1564 (altivec_expand_unop_builtin): Return NULL_RTX on error.
1565 (altivec_expand_binop_builtin): Same.
1566 (altivec_expand_ternop_builtin): Same.
1569 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
1570 ("altivec_vctuxs"): Fix typo.
1571 ("altivec_vnmsubfp"): Same.
1572 ("altivec_dssall"): New.
1573 ("altivec_mfvscr"): New.
1574 ("altivec_dss"): New.
1575 ("altivec_lvsl"): New.
1576 ("altivec_lvsr"): New.
1577 ("altivec_dstt"): New.
1578 ("altivec_dstst"): New.
1579 ("altivec_dststt"): New.
1580 ("altivec_dst"): New.
1582 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
1583 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1585 2002-01-09 Richard Henderson <rth@redhat.com>
1587 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
1589 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
1591 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
1593 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
1595 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
1597 2002-01-09 Kazu Hirata <kazu@hxi.com>
1599 * read-rtl.c: Fix formatting.
1601 * regclass.c: Likewise.
1602 * regrename.c: Likewise.
1603 * reg-stack.c: Likewise.
1604 * reload1.c: Likewise.
1605 * reload.c: Likewise.
1608 2002-01-09 Kazu Hirata <kazu@hxi.com>
1610 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
1611 to extract items in the expr_list chain.
1613 2002-01-09 Richard Henderson <rth@redhat.com>
1615 * config/vax/vax.c (vax_rtx_cost): Never abort.
1617 * config/vax/vax.h (REAL_ARITHMETIC): Define.
1619 2002-01-09 Jan Hubicka <jh@suse.cz>
1621 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
1623 2002-01-09 Richard Henderson <rth@redhat.com>
1625 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
1626 Unify code from various alternatives.
1628 2002-01-09 Richard Henderson <rth@redhat.com>
1630 * regrename.c (copy_value): Ignore the copy if the source register
1631 is present in the value chain with a narrower mode.
1633 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1635 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
1636 for the c4x target. Also improve layout.
1638 2002-01-09 Richard Henderson <rth@redhat.com>
1640 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
1641 * config/m32r/m32r.md (and ior xor splitters): Swap operands
1642 to match insn patterns.
1644 2002-01-09 Richard Henderson <rth@redhat.com>
1646 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
1647 (copyprop_hardreg_forward_1): Likewise.
1649 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
1651 * pa.md (decrement_and_branch_until_zero): Change predicate for
1652 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
1654 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1656 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
1657 gets undefined. For Darwin.
1659 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1661 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
1663 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1665 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
1667 2002-01-08 Richard Henderson <rth@redhat.com>
1669 * regrename.c (copy_value): Ignore overlapping copies.
1671 2002-01-08 Richard Henderson <rth@redhat.com>
1673 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
1674 as needed to avoid shared structure.
1676 2002-01-08 Kazu Hirata <kazu@hxi.com>
1678 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
1681 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1683 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
1684 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
1685 documentation of obsolete macros.
1686 * system.h: Poison these macros.
1687 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
1688 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
1689 config/c4x/c4x.h, config/clipper/clipper.h,
1690 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
1691 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
1692 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
1693 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
1694 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
1695 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
1696 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
1697 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
1698 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
1699 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
1700 config/sparc/sparc.h, config/stormy16/stormy16.h,
1701 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
1702 definitions and commented out definitions of obsolete macros.
1703 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
1704 of MAX_INT_TYPE_SIZE.
1706 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1708 * config/s390/s390.c (s390_preferred_reload_class): Never
1709 return ADDR_REGS if it isn't a subset of the given class.
1710 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
1711 FP_REGS, but all superclasses as well.
1713 * config/s390/s390.c (s390_function_profiler): Fix thinko.
1715 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
1716 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
1717 must not be a const_int.
1719 2002-01-08 Richard Henderson <rth@redhat.com>
1721 * Makefile.in (toplev.o): Depend on options.h.
1722 (gcc.o): Depend on specs.h.
1724 2002-01-08 Jakub Jelinek <jakub@redhat.com>
1726 * expr.c (store_expr): Convert VOIDmode constants back to target's
1729 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1731 * doc/invoke.texi: Markup gcc as @command. Refer to
1732 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
1733 of http://gcc.gnu.org/thanks.html.
1735 2002-01-08 Dale Johannesen <dalej@apple.com>
1737 * config/rs6000/rs6000.md: Add missing int register
1738 target case to movdf_low.
1740 2002-01-08 Zack Weinberg <zack@codesourcery.com>
1742 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
1743 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
1744 (cppinit.o): Depend on except.h.
1745 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
1746 s-specs): New rules.
1748 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
1749 Don't create specs.h/options.h/gencheck.h here. Remove
1750 unnecessary variable settings from last argument of AC_OUTPUT.
1751 * config.in, configure: Regenerate.
1752 * intl.c: Hardcode package name as "gcc".
1754 * cppinit.c: Include except.h.
1755 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
1757 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
1758 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
1759 (!)USING_SJLJ_EXCEPTIONS.
1760 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
1762 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1764 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
1765 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
1766 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
1767 documentation of obsolete macros.
1768 * system.h: Poison these macros.
1769 * config/d30v/d30v.h, config/ns32k/encore.h,
1770 config/stormy16/stormy16.h: Remove definitions and commented out
1771 definitions of obsolete macros.
1773 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
1775 * objc/objc-act.c (handle_class_ref): Mark the declaration of
1776 %sobjc_class_ref_%s as used - to prevent unwanted compiler
1779 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1781 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
1782 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
1783 to insn adjusting stack/frame pointer.
1784 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
1785 accept operands that cause the insn to be non-splittable.
1787 2002-01-08 Graham Stott <grahams@redhat.com>
1789 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
1790 (C_TYPE_FIELDS_VOLATILE): Likewise.
1791 (C_TYPE_BEING_DEFINED): Likewise.
1792 (C_IS_RESERVED_WORD): Likewise.
1793 (C_TYPE_VARIABLE_SIZE): Likewise.
1794 (C_DECL_VARIABLE_SIZE): Likewise.
1795 (C_MISSING_PROTOTYPE_WARNED): Likewise.
1796 (C_SET_EXP_ORIGINAL_CODE): Likewise.
1797 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
1799 (C_DECL_ANTICIPATED): Likewise.
1800 (c_build_type_variant): Add parenthesis.
1802 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1804 * gcc.c (option_map): Remove --version.
1805 (process_command): Handle -fversion following the GNU Coding
1806 Standards. Partially addresses PR other/704.
1808 2002-01-08 Graham Stott <grahams@redhat.com>
1810 * combine.c (combine_instructions): Fix typo.
1812 2002-01-08 Graham Stott <grahams@redhat.com>
1814 * debug.h: Use "tree" and "rtx" throughout.
1816 * debug.c: Likewise.
1818 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
1820 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
1821 constant pool, use the pool's version of the symbol instead.
1823 2002-01-07 Richard Henderson <rth@redhat.com>
1825 * regrename.c (find_oldest_value_reg): Ignore the value chain if
1826 the original register was copied in a mode with a fewer number of
1827 hard registers than the desired mode.
1828 (copyprop_hardreg_forward_1): Likewise.
1829 (debug_value_data): Fix loop test.
1830 * toplev.c (parse_options_and_default_flags): Reenable
1831 -fcprop-registers at -O1.
1833 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1835 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
1836 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
1838 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
1841 * config/rs6000/rs6000.md: Add altivec predicate patterns.
1843 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
1845 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
1846 (pa_output_function_prologue): Output local label at the beginning of
1847 the prologue when profiling.
1848 (hppa_profile_hook): Use the local label rather than the function label.
1849 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
1851 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1853 * config/rs6000/rs6000.c (print_operand): Remove extra space.
1854 (altivec_expand_unop_builtin): Fix thinko.
1855 (altivec_expand_binop_builtin): Same.
1856 (altivec_expand_ternop_builtin): Same.
1857 (altivec_expand_builtin): Same.
1859 2002-01-07 Richard Henderson <rth@redhat.com>
1861 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
1863 2002-01-07 Jason Merrill <jason@redhat.com>
1865 * unwind-dw2.c (execute_cfa_program): Use < again.
1867 2002-01-07 Jakub Jelinek <jakub@redhat.com>
1869 * predict.c (combine_predictions_for_insn): Avoid division by zero.
1871 2002-01-07 Jakub Jelinek <jakub@redhat.com>
1873 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
1874 Don't allow -1 - x -> ~x simplifications in the first pass.
1876 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1878 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
1880 (altivec_expand_binop_builtin): Same.
1881 (altivec_expand_unop_builtin): Same.
1882 (print_operand): Fix typo.
1883 (bdesc_1arg): Add vupk* variants.
1885 * rs6000.h (rs6000_builtins): Add vupk* enums.
1887 * rs6000.md: Add altivec_vupk* variants.
1889 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
1891 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
1892 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
1893 and last update dates.
1895 2002-01-07 Janis Johnson <janis187@us.ibm.com>
1897 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
1899 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
1901 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
1902 * config/avr/avr.h (CPP_SPEC): Likewise.
1903 (LINK_SPEC): Likewise.
1904 (CRT_BINUTILS_SPECS): Likewise.
1905 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
1906 * doc/invoke.texi (AVR Options): Document them.
1908 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
1910 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
1913 2002-01-07 Graham Stott <grahams@redhat.com>
1915 * config/i386/i386.h: Update copyright date.
1916 (HALF_PIC_PTR): Add parenthesis.
1917 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
1918 (CONSTANT_ALIGNMENT): Add parenthesis.
1919 (DATA_ALIGNMENT): Likewise.
1920 (LOCAL_ALIGNMENT): Likewise.
1921 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
1922 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
1923 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
1924 (HARD_REGNO_NREGS): Add paranethesis.
1925 (VALID_SSE_REG_MODE): Whitespace.
1926 (VALID_MMX_REG_MODE): Whitespace.
1927 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
1928 (ix86_hard_regno_mode_ok): Add parenthesis.
1929 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
1930 (RETURN_IN_MEMORY): Whitespace.
1931 (N_REG_CLASSES): Add parenthesis.
1932 (INTEGER_CLASS_P): Add parenthesis and wrap.
1933 (FLOAT_CLASS_P): Likewise.
1934 (SSE_CLASS_P): Likewise.
1935 (MMX_CLASS_P): Likewise.
1936 (MAYBE_INTEGER_CLASS_P): Likewise.
1937 (MAYBE_FLOAT_CLASS_P): Likewise.
1938 (MAYBE_SSE_CLASS_P): Likewise.
1939 (MAYBE_MMX_CLASS_P): Likewise.
1940 (Q_CLASS_P): Likewise.
1941 (GENERAL_REGNO_P): Uppercase macro parameter.
1942 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
1943 (FP_REGNO_P): Likewise.
1944 (ANY_FP_REGNO_P): Uppercase macro parameter.
1945 (SSE_REGNO_P): Likewise.
1946 (SSE_REGNO): Likewise.
1947 (SSE_REG_P): Likewise.
1948 (SSE_FLOAT_MODE_P): Likewise.
1949 (MMX_REGNO_P): Likewise.
1950 (MMX_REG_P):Likewise.
1951 (STACK_REG_P): Likewise.
1952 (NON_STACK_REG_P): Likewise.
1953 (STACK_TOP_P): Likewise.
1954 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
1955 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
1956 (SECONDARY_MEMORY_NEEDED): Likewise.
1957 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
1958 (MD_ASM_CLOBBERS): Whitespace and wrap.
1959 (MUST_PASS_IN_STACK): Whitespace and wrap.
1960 (RETURN_POPS_ARGS): Add parenthesis.
1961 (INIT_CUMULATIVE_ARGS): Likewise.
1962 (FUNCTION_ARG): Likewise.
1963 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
1964 (SETUP_INCOMING_VARARGS): Likewise.
1965 (BUILD_VA_LIST_TYPE): Add parenthesis.
1966 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
1968 (EXPAND_BUILTIN_VA_ARG): Likewise.
1969 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
1970 (INITIALIZE_TRAMPOLINE): Add parenthesis.
1971 (INITIAL_ELIMINATION_OFFSET): Likewise.
1972 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
1973 (REGNO_OK_FOR_BASE_P): Likewise.
1974 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
1975 (REGNO_OK_FOR_DIREG_P): Likewise.
1976 (REG_OK_FOR_INDEX_P): Whitespace.
1977 (REG_OK_FOR_BASE_P): Whitespace.
1978 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
1980 (FIND_BASE_TERM): Fix typo.
1981 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
1982 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
1983 (SYMBOLIC_CONST; Whitespace.
1984 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
1985 (ENCODE_SECTION_INFO): Whitespace.
1986 (FINALIZE_PIC): Remove do { ... } while (0).
1987 (PROMOTE_MODE): Wrap in do { ... } while (0).
1988 (CONST_COSTS): Whitespace.
1989 (RTX_COSTS): Add paramethesis, whitespace and wrap.
1990 (REGISTER_MOVE_COST): Add parenthesis.
1991 (MEMORY_MOVE_COST): Likewise.
1992 (EXTRA_CC_MODES): Whitespace.
1993 (SELECT_CC_MODE): Add parenthesis and whitespace.
1994 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
1995 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
1996 (ASM_OUTPUT_LABEL): Add paramethesis.
1997 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
1998 (ASM_OUTPUT_REG_POP): Likewise.
1999 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
2000 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
2002 * config/i386/i386.c: Update copyright.
2003 (CHECK_STACK_LIMIT): Add parenthesis.
2004 (AT_BP): Uppercase macro parameter.
2005 (x86_64_int_parameter_registers): Constify.
2006 (x86_64_int_return_registers): Likewise.
2007 (ix86_compare_op0): Use rtx.
2008 (construct_container): Constify INTREG parameter.
2009 (function_arg): Use rtx.
2011 * diagnostic.h: Update copyright date.
2012 (output_buffer_state): Add parenthesis.
2013 (output_buffer_format_args): Likewise.
2015 * combine.c (combine_instructions): Replace XEXP (links, 0)
2018 2002-01-06 H.J. Lu <hjl@gnu.org>
2020 * cfgcleanup.c (thread_jump): Fix 2 typos.
2022 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
2024 * config.gcc: Add support for --enable-altivec.
2026 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2028 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
2030 2002-01-06 Jakub Jelinek <jakub@redhat.com>
2032 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
2033 __objc_class_name_*.
2035 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2037 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
2039 2002-01-06 Richard Henderson <rth@redhat.com>
2041 * reorg.c (emit_delay_sequence): Remove death notes, not merely
2042 nop them out. Increment label reference count for REG_LABEL.
2043 (fill_slots_from_thread): Frob label reference count around
2044 delete_related_insns.
2046 2002-01-05 Richard Henderson <rth@redhat.com>
2048 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
2051 2002-01-05 Richard Henderson <rth@redhat.com>
2053 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
2054 * integrate.c (output_inline_function): Likewise.
2055 * toplev.c (rest_of_compilation): Do it here instead. Move call
2056 to remove_unnecessary_notes after emitting abstract instance.
2057 Force an emitted nested function to have its parent emited as well.
2058 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
2060 (rtl_for_decl_location): Do not look at reload data structures
2061 before reload has run.
2063 2002-01-05 Kazu Hirata <kazu@hxi.com>
2065 * cse.c: Fix formatting.
2066 * dwarf2asm.c: Likewise.
2067 * dwarf2out.c: Likewise.
2068 * explow.c: Likewise.
2069 * expmed.c: Likewise.
2070 * function.c: Likewise.
2072 * gencheck.c: Likewise.
2073 * genrecog.c: Likewise.
2074 * ggc-common.c: Likewise.
2075 * ggc-page.c: Likewise.
2076 * global.c: Likewise.
2078 2002-01-05 Kazu Hirata <kazu@hxi.com>
2080 * combine.c: Fix formatting.
2082 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
2085 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
2087 2002-01-05 David Edelsohn <edelsohn@gnu.org>
2089 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
2090 as 1 for __powerpc64__ as well.
2092 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
2094 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
2097 2002-01-05 Daniel Berlin <dan@dberlin.org>
2099 * lcm.c: Revert change, due to performance regression it causes on
2100 SPEC because it's slightly more conservative (sigh, I hate
2103 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
2105 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
2107 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
2109 * doc/cppinternals.texi: Update.
2111 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
2113 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
2114 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
2116 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
2117 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
2118 kludge for pre-october-14th mmix versions to handle new-found bug
2119 with PUSHJ/PUSHGO and the register stack.
2120 * config/mmix/mmix.h (struct machine_function): Rename member
2121 has_call_value_without_parameters to has_call_without_parameters.
2122 All referers changed.
2123 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
2124 TARGET_MASK_BRANCH_PREDICT): New macros.
2125 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
2126 -mno-reg-stack-fill-bug-workaround.
2127 * config/mmix/mmix.md ("call"): Set struct machine member
2128 has_call_without_parameters.
2130 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
2132 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
2134 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
2136 * cfgcleanup.c: Include tm_p.h
2137 (mark_effect): Fix handling of hard register; fix handling of SET
2139 2002-01-04 Kazu Hirata <kazu@hxi.com>
2141 * config/h8300/h8300.md (anonymous patterns): Check that
2142 operands are registers before using REGNO on them.
2144 2002-01-03 Roland McGrath <roland@frob.com>
2146 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
2148 2002-01-04 Jakub Jelinek <jakub@redhat.com>
2150 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
2151 * c-common.h (genrtl_expr_stmt_value): Likewise.
2152 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
2153 (expand_expr_stmt_value): Add maybe_last argument.
2154 Don't warn about statement with no effect if it is the last statement
2155 in expression statement.
2156 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
2157 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
2158 expand_expr_stmt_value.
2159 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
2160 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
2161 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
2162 as maybe_last to expand_expr_stmt_value.
2164 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
2166 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
2167 be passed in, do not build it.
2168 (c_begin_if_stmt): New function.
2169 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2170 * c-common.h (c_expand_start_cond): Update prototype.
2171 (c_begin_if_stmt): Prototype new function.
2172 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2173 * c-parse.in (if_prefix): Use c_begin_if_stmt,
2174 c_begin_while_stmt and c_finish_while_stmt_cond.
2176 2002-01-04 William Cohen <wcohen@redhat.com>
2178 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
2179 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2180 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2181 * config/pa/som.h (ASM_FILE_START): Likewise.
2183 2001-01-04 Daniel Berlin <dan@cgsoftware.com>
2185 * lcm.c: Include df.h.
2186 Add available_transfer_function prototype.
2187 (compute_available): Rework to use iterative dataflow framework.
2188 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
2189 with bb_info in df.h
2190 (available_transfer_function): New function.
2192 * Makefile.in (lcm.o): add df.h to dependencies.
2194 2002-01-04 Richard Henderson <rth@redhat.com>
2196 * config/alpha/alpha.c (some_operand): Accept HIGH.
2197 (input_operand): Likewise; accept simple references to globals.
2198 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
2199 (alpha_const_double_ok_for_letter_p): Likewise.
2200 (alpha_extra_constraint): Likewise.
2201 (alpha_preferred_reload_class): Likewise. Do not force
2202 symbolic constants to memory.
2203 (alpha_legitimate_address_p): Accept simple references
2204 to small_symbolic_operand.
2205 (alpha_legitimize_address): New arg scratch. Be prepared to be
2206 called when no_new_pseudos. Emit simple symbolic references.
2207 Split integers into low, high, and rest.
2208 (alpha_expand_mov): Use alpha_legitimize_address.
2209 (some_small_symbolic_mem_operand): New.
2210 (split_small_symbolic_mem_operand): New.
2211 * config/alpha/alpha-protos.h: Update.
2212 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
2213 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
2214 (EXTRA_CONSTRAINT): Likewise.
2215 (PREFERRED_RELOAD_CLASS): Likewise.
2216 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
2217 (PREDICATE_CODES): Update.
2218 * config/alpha/alpha.md: New post-reload splitters to convert
2219 simplfied symbolic operands to the form that references $29.
2220 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
2221 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
2223 2002-01-03 Richard Henderson <rth@redhat.com>
2225 * local-alloc.c (function_invariant_p): Update commentary.
2227 2002-01-04 H.J. Lu <hjl@gnu.org>
2229 * toplev.c (rest_of_compilation): Fix a typo when calling
2232 2002-01-03 Kazu Hirata <kazu@hxi.com>
2234 * c-common.c: Fix formatting.
2235 * diagnostic.c: Likewise.
2236 * doloop.c: Likewise.
2237 * dwarf2out.c: Likewise.
2239 2002-01-03 Kazu Hirata <kazu@hxi.com>
2241 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
2242 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
2244 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2246 * cpperror.c: Update comments and copyright.
2247 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
2248 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
2250 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
2252 * collect2.c (main): Use strcmp when testing for "-shared".
2254 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2256 * cppmacro.c: Don't include intl.h. Update comments.
2257 (new_number_token): Allocate enough buffer for 64-bit unsigned
2258 integers; update prototype.
2259 * cppmain.c: Update comments.
2261 2002-01-03 William Cohen <wcohen@redhat.com>
2263 * function.h (struct function): Add profile.
2264 (current_function_profile): New.
2265 doc/extend.texi: Update documentation.
2266 * final.c (final_start_function): Use current_function_profile
2267 instead of profile_flag.
2268 (profile_after_prologue): Likewise.
2269 * function.c (expand_function_start): Likewise.
2270 (expand_function_start): Likewise.
2271 * config/alpha/alpha.c (direct_call_operand):
2272 (alpha_does_function_need_gp): Likewise.
2273 (alpha_expand_prologue): Likewise.
2274 * config/arm/arm.c (arm_expand_prologue): Likewise.
2275 thumb_expand_prologue: Likewise.
2276 * config/d30v/d30v.c (d30v_stack_info): Likewise.
2277 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
2278 (fr30_expand_prologue): Likewise.
2279 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
2280 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
2281 * config/i386/i386.h (FINALIZE_PIC): Likewise.
2282 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
2283 * config/i960/i960.c (i960_output_function_prologue): Likewise.
2284 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
2285 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
2286 (m32r_expand_prologue): Likewise.
2287 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
2288 (m88k_expand_prologue): Likewise.
2289 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
2290 * config/mips/mips.c (compute_frame_size): Likewise.
2291 (mips_expand_prologue): Likewise.
2292 (mips_can_use_return_insn): Likewise.
2293 * config/pa/elf.h (ASM_FILE_START): Likewise.
2294 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2295 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2296 * config/pa/som.h (ASM_FILE_START): Likewise.
2297 * config/romp/romp.c (romp_using_r14): Likewise.
2298 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
2299 (rs6000_stack_info): Likewise.
2300 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2301 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
2302 * config/v850/v850.c (compute_register_save_size): Likewise.
2304 2002-01-03 Jakub Jelinek <jakub@redhat.com>
2306 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
2307 gen_lowpart_common fails, use gen_lowpart_SUBREG.
2309 2002-01-03 Turly O'Connor <turly@apple.com>
2311 * darwin.c (machopic_output_possible_stub_label): Don't generate
2312 stub routines for pseudo-stubs which we've just defined.
2314 2002-01-03 Kazu Hirata <kazu@hxi.com>
2316 * builtins.c: Fix formatting.
2317 * c-typeck.c: Likewise.
2318 * combine.c: Likewise.
2322 2002-01-03 Andreas Schwab <schwab@suse.de>
2324 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
2325 and return true if _cpp_push_next_buffer pushed a new include
2327 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
2328 _cpp_pop_file_buffer did not push a new file.
2329 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
2331 2002-01-02 Eric Christopher <echristo@redhat.com>
2333 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
2334 FIND_REG_INC_NOTE call. Update copyright.
2335 * loop.c (canonicalize_condition): Ditto.
2336 * reorg.c (delete_scheduled_jump): Ditto.
2338 2002-01-03 Kazu Hirata <kazu@hxi.com>
2340 * gcse.c: Fix formatting.
2342 2002-01-03 Graham Stott <grahams@redhat.com>
2344 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
2345 forward defs for struct tags rtx_def, union_tree, rtvec_def
2346 also output corresponding typedefs for rtx, tree, and rtvec.
2348 * system.h: Move forward defs for struct tags rtx_def, union_tree,
2349 rtvec_def along with corresponding typedefs for rtx, tree, and
2350 rtvec to config.h, hconfig.h, tconfig.h.
2352 2002-01-03 Graham Stott <grahams@redhat.com>
2354 * tree.h: Update copyright date.
2355 (IS_EXPR_CODE_CLASS): Add parenthesis.
2356 (TREE_SET_CODE): Add whitespace.
2357 (TREE_CHECK): Add parenthesis.
2358 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
2359 (CST_OR_CONSTRUCTOR_CHECK):
2360 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
2361 (TREE_SYMBOL_REFERENCED): Whitespace.
2362 (INT_CST_LT): Likewise.
2363 (INT_CST_LT_UNSIGNED): Likewise.
2364 (tree_real_cst): Unwrap comment.
2365 (tree_string): Likewise.
2366 (tree_complex): Likewise.
2367 (IDENTIFIER_POINTER): correct cast.
2368 (SAVE_EXPR_CONTEXT): Whitespace.
2369 (EXPR_WFL_FILENAME_NODE): Likewise.
2370 (EXPR_WFL_FILENAME): Remove parenthesis.
2371 (DECL_ORIGIN): Add parenthesis.
2372 (DECL_FROM_INLINE): Use NULL_TREE.
2373 (build_int_2): Whitespace.
2374 (build_type_variant): Add parenthesis.
2376 * gcc/jcf-parse.c: Update copyright date.
2377 (yyparse): Constify resource_filename.
2379 2002-01-03 Graham Stott <grahams@redhat.com>
2381 * rtl.h: Update copyright date.
2382 (RTL_CHECK1): Wrap long line.
2383 (RTL_CHECK2): Likewise.
2384 (RTL_CHECKC1): Wrap long line and whitespace.
2385 (RTL_CHECKC2): Likewise.
2386 (XWINT): Whitespace.
2392 (XBITMAP): Likewise.
2403 (X0BITMAP): Likewise.
2405 (X0BBDEF): Likewise.
2406 (X0ADVFLAGS): Likewise.
2407 (X0CSELIB): Likewise.
2408 (X0MEMATTR): Likewise.
2416 (XCBITMAP): Likewise.
2418 (XCBBDEF): Likewise.
2419 (XCADVFLAGS): Likewise.
2420 (XCCSELIB): Likewise.
2422 (INSN_UID): Likewise.
2423 (PREV_INSN): Likewise.
2424 (PATTERN): Likewise.
2425 (INSN_CODE): Likewise.
2426 (PUT_REG_NOTE_KIND): Likewise.
2427 (CODE_LABEL_NUMBER): Likewise.
2428 (NOTE_SOURCE_FILE): Likewise.
2429 (NOTE_BLOCK): Likewise.
2430 (NOTE_EH_HANDLER): Likewise.
2431 (NOTE_RANGE_INFO): Likewise.
2432 (NOTE_LIVE_INFO): Likewise.
2433 (NOTE_BASIC_BLOCK): Likewise.
2434 (NOTE_EXPECTED_VALUE): Likewise.
2435 (NOTE_LINE_NUMBER): Likewise.
2436 (LABEL_NAME): Likewise.
2437 (LABEL_NUSES): Likewise.
2438 (LABEL_ALTERNATE_NAME): Likewise.
2439 (ADDRESSOF_DECL): Likewise.
2440 (JUMP_LABEL): Likewise.
2441 (LABEL_NEXTREF): Likewise.
2443 (ORIGINAL_REGNO: Likewise.
2444 (HARD_REGISTER_NUM_P): Add parenthesis.
2445 (SUBREG_REG): Whitespace.
2446 (SUBREG_BYTE): Likewise.
2447 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
2448 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
2449 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
2450 (ASM_OPERANDS_INPUT_VEC): Likewise.
2451 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
2452 (ASM_OPERANDS_INPUT): Likewise.
2453 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
2454 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
2455 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
2456 (ASM_OPERANDS_INPUT_MODE): Likewise.
2457 (ASM_OPERANDS_SOURCE_FILE): Likewise.
2458 (ASM_OPERANDS_SOURCE_LINE): Likewise.
2459 (MEM_SET_IN_STRUCT_P): Minor reformat.
2460 (TRAP_CONDITION): Whitespace.
2461 (TRAP_CODE): Likewise.
2462 (COND_EXEC_TEST): Likewise.
2463 (COND_EXEC_CODE): Likewise.
2464 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
2465 (PHI_NODE_P): Add parenthesis.
2466 (plus_constant): Whitespace and add parenthesis.
2468 2002-01-03 Kazu Hirata <kazu@hxi.com>
2470 * config/avr/avr.c: Fix comment typos.
2471 * config/c4x/c4x.md: Likewise.
2472 * config/dsp16xx/dsp16xx.h: Likewise.
2473 * config/dsp16xx/dsp16xx.md: Likewise.
2474 * config/i386/i386.md: Likewise.
2475 * config/ia64/ia64.c: Likewise.
2476 * config/m32r/m32r.h: Likewise.
2477 * config/m68hc11/m68hc11.md: Likewise.
2478 * config/mmix/mmix.c: Likewise.
2479 * config/mn10200/mn10200.c: Likewise.
2480 * config/romp/romp.c: Likewise.
2481 * config/sh/sh.c: Likewise.
2482 * config/stormy16/stormy16.c: Likewise.
2483 * config/stormy16/stormy16.h: Likewise.
2484 * config/stormy16/stormy16.md: Likewise.
2486 2002-01-03 Graham Stott <grahams@redhat.com>
2488 * loop.h: Update copyright date.
2489 (LOOP_MOVABLES): Fix typo.
2490 (LOOP_REGS): Likewise.
2491 (LOOP_IVS): Likewise.
2493 2002-01-03 Graham Stott <grahams@redhat.com>
2495 * cppinit.c: Update copyright date.
2496 Don't include output.h
2497 * Makefile.in: Update copyright date.
2500 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
2503 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
2504 (-pthread) Add to RS/6000 options.
2506 2002-01-02 Kazu Hirata <kazu@hxi.com>
2508 * except.c: Fix comment typos.
2510 * varasm.c: Likewise.
2511 * doc/tm.texi: Fix a typo.
2513 2002-01-02 Jakub Jelinek <jakub@redhat.com>
2515 * c-typeck.c (output_init_element): Allow initializing static storage
2516 duration objects with compound literals.
2518 2002-01-02 Richard Henderson <rth@redhat.com>
2520 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
2523 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2525 * gcc.c (default_compilers): Const-ify.
2526 * mips-tdump.c (stab_names): Likewise.
2527 * mips-tfile.c (map_coff_types, map_coff_storage,
2528 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
2529 pseudo_ops_t, pseudo_ops): Likewise.
2530 * protoize.c (default_include): Likewise
2532 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
2533 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
2534 Add array size in declaration.
2535 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
2536 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
2537 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
2538 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
2539 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
2540 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
2541 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
2542 emtens, make_nan): Const-ify.
2543 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
2544 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
2546 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
2548 * config.gcc (ia64-*-*): Set extra_headers.
2549 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
2550 * config/alpha/t-osf: Remove.
2551 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
2553 2002-01-02 David Edelsohn <edelsohn@gnu.org>
2555 * config/rs6000/t-aix43: Revert previous change.
2557 2002-01-02 Jason Merrill <jason@redhat.com>
2559 * c-decl.c (c_expand_body): Call outlining_inline_function when
2560 emitting an inline function out of line.
2562 2002-01-02 Richard Henderson <rth@redhat.com>
2564 * dwarf2out.c (limbo_die_node): Add created_for member.
2565 (new_die): New argument created_for. Update all callers.
2566 (mark_limbo_die_list): New.
2567 (dwarf2out_init): Register limbo_die_list as a root.
2568 (dwarf2out_finish): Force insert limbo dies into their function
2571 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
2574 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
2576 2002-01-02 Kazu Hirata <kazu@hxi.com>
2578 * config/h8300/fixunssfsi.c: Update copyright.
2581 * config/h8300/h8300.c: Update copyright.
2584 2002-01-02 Kazu Hirata <kazu@hxi.com>
2586 * config/romp/romp.c: Fix comment formatting.
2587 * config/romp/romp.h: Likewise.
2588 * config/romp/romp.md: Likewise.
2589 * config/s390/s390.c: Likewise.
2590 * config/stormy16/stormy16.c: Likewise.
2591 * config/stormy16/stormy16.h: Likewise.
2593 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
2595 * c-common.h (genrtl_expr_stmt_value): Declare.
2596 * c-semantics.c (genrtl_goto_stmt): Redirect to...
2597 (genrtl_goto_stmt_value): ... this new function. Pass new
2598 argument down to expand_expr_stmt_value, taking
2599 TREE_ADDRESSABLE into account.
2600 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
2601 STMT_EXPR as addressable, i.e., one whose result we want.
2602 * expr.c (expand_expr): Don't save expression statement value
2603 of labeled_blocks or loop_exprs.
2604 * stmt.c (expand_expr_stmt): Redirect to...
2605 (expand_expr_stmt_value): ... this new function. Use new
2606 argument to tell whether to save expression value.
2607 (expand_end_stmt_expr): Reset last_expr_type and
2608 last_expr_value if we don't have either.
2609 * tree-inline.c (declare_return_variable): Mark its use
2610 statement as addressable.
2611 * tree.h: Document new use of TREE_ADDRESSABLE.
2612 (expand_expr_stmt_value): Declare.
2614 2002-01-01 Tom Rix <trix@redhat.com>
2616 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
2617 rs6000_emit_allocate_stack.
2619 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
2621 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
2622 ${srcdir}/ginclude/ to every entry in extra_headers.
2623 * configure: Regenerate.
2624 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
2625 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
2626 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
2627 * ginclude/proto.h: Rename to config/convex/proto.h.
2629 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2631 * attribs.c (handle_vector_size_attribute): Use host_integerp
2632 and tree_int_cst; remove warnings.
2633 * caller-save.c (insert_restore): Add cast to get rid of warning.
2634 (insert_save): Likewise.
2635 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
2636 * regmove.c (find_matches): Add temporary var to kill a warning.
2638 2002-01-01 Douglas B Rupp <rupp@gnat.com>
2640 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
2641 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
2642 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
2643 (vms-dwarf2eh.o): Add Makefile rule.
2644 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
2645 * config/alpha/vms-dwarf2eh.asm: New file.
2647 * gcc.c (delete_if_ordinary): Delete all versions.
2649 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
2651 * config/mmix/mmix.md: Update FIXME to not mention
2653 (MMIX_rJ_REGNUM): New define_constants constant.
2654 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
2655 "*movdicc_real"): Adjust contraints formatting.
2656 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
2657 for branch prediction.
2658 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
2660 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
2661 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
2662 number. Delete related FIXMEs.
2663 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
2664 from number to MMIX_rJ_REGNUM.
2665 (TARGET_MASK_BRANCH_PREDICT): New.
2666 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
2667 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
2668 value. Add -mbranch-predict and -mno-branch-predict.
2669 (TARGET_VERSION): Drop date.
2670 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
2671 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
2672 for finding out global symbols.
2673 (mmix_asm_output_labelref): Revert condition for global symbol.
2674 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
2675 (mmix_print_operand_punct_valid_p): A '+' is valid.
2677 See ChangeLog.6 for earlier changes.