1 2004-04-18 Release Manager
5 2004-04-18 Alan Modra <amodra@bigpond.net.au>
8 * configure.ac: Define HAVE_LD_AS_NEEDED only for linux.
9 * configure: Regenerate.
10 * gcc.c (init_gcc_specs): Revert earlier change.
12 2004-04-18 Mark Mitchell <mark@codesourcery.com>
15 * doc/invoke.texi (-fprofile-generate): Document requirement to
16 use -fprofile-generate when linking.
19 * gcc.c (init_gcc_specs): Only honor HAVE_LD_AS_NEEDED on
22 * doc/extend.texi (Strong Using): Warn users against using this
25 2004-04-17 Richard Sandiford <rsandifo@redhat.com>
27 * configure.ac (gcc_cv_ld_as_needed): Use AC_CACHE_CHECK.
28 * configure: Regenerate.
30 2004-04-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
32 * config.gcc (i[34567]86-*-solaris2*): Default to DWARF-2
33 debugging on Solaris 7 and up.
35 2004-04-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
37 * doc/install.texi (Specific, mips-sgi-irix5): Reflect working
39 Remove -save-temps workaround, handled automatically.
40 Require GNU binutils 2.15 for debugging.
41 Remove SGI make warnings since GNU make is now required.
42 (Specific, mips-sgi-irix6): Some markup fixes.
43 Describe MIPSpro C problems and workarounds.
44 Mention working O32 ABI support.
45 Recommend GNU as 2.15 for O32 with debugging.
46 Remove description of fixed structure pass/return bug.
48 2004-04-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
50 * aclocal.m4 (gcc_AC_PROG_GNAT): Check if ${CC} produces object
51 file for Ada compilation.
52 Fix gcc_cv_cc_supports_ada spelling.
53 * configure: Regenerate.
55 2004-04-14 Zack Weinberg <zack@codesourcery.com>
58 Backport from mainline:
59 2004-03-12 Matt Austern <austern@apple.com>
61 * varasm.c (make_decl_one_only): Don't use DECL_COMMON if
62 we're compiling for a SUPPORTS_ONE_ONLY target.
64 2004-04-09 Zack Weinberg <zack@codesourcery.com>
66 * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Look only at
68 * config/ia64/ia64.c (ia64_hpux_file_end): Check
69 TREE_SYMBOL_REFERENCED on DECL_ASSEMBLER_NAME, not DECL_NAME.
71 2004-04-08 Mark Mitchell <mark@codesourcery.com>
73 * doc/invoke.texi (Precompiled Headers): Warn about known
76 2004-04-08 Joel Sherrill <joel@oarcorp.com>
79 * ada/5rosinte.adb: Remove fake mprotect() body.
80 * ada/5rosinte.ads: Add SA_SIGINFO. Make pthread_key_t a type
81 which can be set since Finalize_TCB in 7staprop.adb does not
82 go through the Set_Specific interface.
83 * ada/5rtpopsp.adb: Rewrite to use new interface.
84 * ada/init.c: Reorder so the simple single OS conditional __rtems__
85 is tested before more complex ones which mix UNIX and embedded
86 systems in the conditional.
89 2004-04-08 Joel Sherrill <joel@oarcorp.com>
92 * ada/osint.adb (Find_Program_Name): Rework to properly handle
93 filenames which end in .exe or have versioning suffixes like VMS.
95 2004-04-08 Joseph S. Myers <jsm@polyomino.org.uk>
97 * fixinc/inclhack.def (rpc_xdr_lvalue_cast_a,
98 rpc_xdr_lvalue_cast_b): New fixes.
99 * fixinc/fixincl.x: Regenerate.
100 * fixinc/tests/base/rpc/xdr.h: Add new tests.
102 2004-04-06 Mark Mitchell <mark@codesourcery.com>
104 * config/darwin.h (LINK_COMMAND_SPEC): Change c++filt3 to c++filt.
106 2004-04-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
108 * doc/install.texi: Update HP-UX 11 installation procedure.
110 2004-04-05 Jakub Jelinek <jakuB@redhat.com>
111 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
113 PR optimization/13424 (hppa), bootstrap/14462, c/14828
114 * pa.md: Use replace_equiv_address to retain the attributes of the
115 memory operands used in the split and peephole2 patterns for optimizing
116 the pre-reload movstrsi, movstrdi, clrstrsi and clrstrdi patterns.
118 2004-04-05 Alexandre Oliva <aoliva@redhat.com>
120 * cppinit.c (cpp_read_main_file): Return file name obtained by
121 read_original_filename. Missed in 2004-02-04's check in to 3.4
122 branch by Per Bothner.
124 2004-04-05 Eric Botcazou <ebotcazou@libertysurf.fr>
126 * config/sparc/sol2-bi.h (PREFERRED_DEBUGGING_TYPE): Set
127 to DWARF2_DEBUG unconditionally.
128 (ASM_DEBUG_SPEC): Set the default to --gdwarf2 unconditionally.
130 2004-04-04 Mark Mitchell <mark@codesourcery.com>
133 * varasm.c (initializer_constant_valid_p): Allow NOP_EXPRs to
136 2004-04-02 Jakub Jelinek <jakub@redhat.com>
137 Eric Botcazou <ebotcazou@libertysurf.fr>
139 PR optimization/13424, optimization/12419
140 * explow.c (maybe_set_unchanging): Revert 2003-04-07 patch.
141 Set RTX_UNCHANGING_P even for read-only DECL_EXTERNAL decls.
142 * expr.c (store_constructor): When clearing aggregate because
143 of an incomplete or mostly zero constructor, do the clearing
144 without /u flag and then emit a blockage.
146 2004-04-01 Alan Modra <amodra@bigpond.net.au>
147 Jakub Jelinek <jakub@redhat.com>
149 * gcc.c (init_gcc_specs): If HAVE_LD_AS_NEEDED, link with
150 -lgcc --as-needed -lgcc_s --no-as-needed by default.
151 * configure.ac (HAVE_LD_AS_NEEDED): Check for ld --as-needed.
152 * configure: Rebuilt.
153 * config.in: Rebuilt.
154 * Makefile.in (stage1-start): Copy also libgcc_s*$(SHLIB_EXT).
155 (stage2-start, stage3-start, stage4-start): Likewise.
156 (stageprofile-start, stagefeedback-start): Likewise.
158 2004-04-01 Jakub Jelinek <jakub@redhat.com>
160 * config/sparc/sparc.h (DITF_CONVERSION_LIBFUNCS): Define to 0.
161 * config/sparc/linux.h (DITF_CONVERSION_LIBFUNCS): Redefine to 1.
162 * config/sparc/linux64.h (DITF_CONVERSION_LIBFUNCS): Redefine to 1.
163 * config/sparc/sol2.h (DITF_CONVERSION_LIBFUNCS): Redefine to 1.
164 (SOLARIS_CONVERSION_LIBFUNCS): Rename to SUN_CONVERSION_LIBFUNCS.
165 * config/sparc/sparc.c (sparc_init_libfuncs): Initialize optabs
166 with _Q_qtoll, _Q_qtoull and _Q_lltoq if DITF_CONVERSION_LIBFUNCS.
167 * config.gcc (sparc-*-linux*): Revert 2004-03-23 change.
168 * config/sparc/t-linux64 (TARGET_LIBGCC2_CFLAGS): Likewise.
169 * config/sparc/t-linux: Removed.
171 2004-04-01 Jakub Jelinek <jakub@redhat.com>
174 * fold-const.c (fold) <EQ_EXPR>: Properly compute newconst in
175 "bitfld++ == const" to "++bitfld == const + incr" transformations.
177 2004-03-30 Aldy Hernandez <aldyh@redhat.com>
180 * c-typeck.c (build_binary_op): Do not allow comparisons of
183 2004-03-26 Ian Lance Taylor <ian@wasabisystems.com>
186 * doc/install.texi (Specific): Document that exec-shield-randomize
187 interferes with precompiled headers.
189 2004-03-26 Richard Henderson <rth@redhat.com>
192 * c-typeck.c (pop_init_level): Emit pending init elements earlier
195 2004-03-25 Jakub Jelinek <jakub@redhat.com>
197 * config.gcc (sparc-*-linux*): Add sparc/t-linux to tmake_file.
198 * config/sparc/t-linux64 (TARGET_LIBGCC2_CFLAGS): Set.
199 * config/sparc/t-linux: New file.
201 2004-03-25 Jan Hubicka <jh@suse.cz>
204 * cfgrtl.c (try_redirect_by_replacing_jump,
205 force_nonfallthru_and_redirect, commit_one_edge_insertion,
206 cfg_layout_merge_blocks): Do not attach any line number information
207 to newly inserted instructions.
208 * emit-rtl.c (emit_insn*_before, emit_insn*_after): Rename to
210 (emit_*insn_before, emit_insn*_after): New.
211 (emit_*insn_before_setloc, emit_*insn_after_setloc): Do not overwrite
213 * rtl.h (emit_*insn_before_noloc, emit_*insn_after_noloc): Declare.
214 (emit_*insn_before_sameloc, emit_*insn_after_sameloc): Kill.
216 2004-03-24 Steven Bosscher <stevenb@suse.de>
219 * c-pch.c (struct c_pch_validity): New flags_info field.
220 (FLAG_UNIT_AT_A_TIME_SET): New definition.
221 (pch_init): Write out the flags_info field to the PCH. Set the
222 FLAG_UNIT_AT_A_TIME_SET bit of the field if flag_unit_at_a_time
224 (c_common_valid_pch): Make sure the flag settings used for compiling
225 the PCH are the same as those used in the current compilation.
227 2004-03-24 Alexandre Oliva <aoliva@redhat.com>
229 PR preprocessor/14438
230 * cpplib.c (do_pragma): Remove line_change call after pragma
233 2004-03-23 Ian Lance Taylor <ian@wasabisystems.com>
235 * doc/extend.texi (ARM Built-in Functions): Replace with correct
238 2004-03-23 Kazu Hirata <kazu@cs.umass.edu>
240 PR optimization/14669
241 * fold-const.c (fold): Only unwiden integer comparisons for equality
242 and inequality operators, or when the signedness doesn't change.
244 2004-03-23 Jason Merrill <jason@redhat.com>
247 * config/i386/winnt.c (associated_type): Look for attributes on
248 the TYPE_MAIN_VARIANT of *this.
250 2004-03-21 Mark Mitchell <mark@codesourcery.com>
253 * c-decl.c (warn_if_shadowing): Don't warn about a new declaration
254 of a file-scope entity.
256 2004-03-22 Jakub Jelinek <jakub@redhat.com>
259 * c-decl.c (finish_struct): Change type of incorrect flexible array
260 field into error_mark_node.
262 2004-03-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
265 * config/rtems.h: Add STD_LIB_SPEC and LIB_SPEC.
267 2004-03-22 Eric Botcazou <ebotcazou@libertysurf.fr>
270 * expr.c (mark_queue): New function.
271 (emit_insns_enqueued_after_mark): New function replacing
272 emit_queue. Clear the body of emitted queued insns.
273 (emit_queue): Call emit_insns_enqueued_after_mark.
274 (store_expr): Mark the increment queue on entry. Emit
275 only the incrementations queued when expanding the source.
277 2004-03-22 Danny Smith <dannysmith@users.sourceforge.net>
279 * gcov-io.h: Update copyright year.
281 2004-03-22 Danny Smith <dannysmith@users.sourceforge.net>
284 * gcov-io.h (gcov_truncate): Define ftruncate as _chsize for
287 2004-03-21 Roger Sayle <roger@eyesopen.com>
290 * cse.c (fold_rtx): Avoid substituting constants into unary
291 conversion operations.
293 2004-03-21 Joseph S. Myers <jsm@polyomino.org.uk>
295 * frontends.texi: Add missing line.
297 2004-03-21 Zack Weinberg <zack@codesourcery.com>
298 Chris Devers <cdevers@pobox.com>
299 Joseph S. Myers <jsm@polyomino.org.uk>
301 * doc/frontends.texi: Rewrite.
302 * doc/gcc.texi: Update last modification date.
304 2004-03-20 Ian Lance Taylor <ian@wasabisystems.com>
307 * c-typeck.c (tagged_types_tu_compatible_p): Don't use
308 DECL_ORIGINAL_TYPE if there isn't one.
310 2004-03-20 Joseph S. Myers <jsm@polyomino.org.uk>
313 * doc/install.texi: Add info directory category and entry.
315 2004-03-20 Joseph S. Myers <jsm@polyomino.org.uk>
318 * builtins.def (nan, nanf, nanl, nans, nansf, nansl): Change to
321 2004-03-18 Mark Mitchell <mark@codesourcery.com>
323 * c-common.c (pointer_int_sum): Do not complain about using
324 pointers to pointers-to-members.
326 * c-decl.c (grokdeclarator): Do not complain about redeclaring
327 visible "static" identifiers "extern" in a local scope.
328 * dwarf2out.c (loc_descriptor_from_tree): Handle pre- and
329 post-increments/decrements.
331 2004-03-17 Jakub Jelinek <jakub@redhat.com>
333 * config/rs6000/t-linux64 (bispecs): Don't add -mlong-double-128 for
334 32-bit builds when defaulting to 32-bit.
336 2004-03-17 Richard Sandiford <rsandifo@redhat.com>
339 * config/mips/mips.md (UNSPEC_GP): New constant.
340 * config/mips/mips.c (CONST_GP_P): Expect the CONST to contain
341 an UNSPEC instead of (reg $gp).
342 (mips16_gp_pseudo_reg): Change accordingly.
343 (print_operand): Print $gp directly when handling CONST_GP_P.
345 2004-03-16 Mark Mitchell <mark@codesourcery.com>
348 * fold-const.c (fold): Set TREE_NO_UNUSED_WARNING on implicitly
349 generated COMPOUND_EXPRs.
351 2004-03-16 Nathanael Nerode <neroden@gcc.gnu.org>
354 * Makefile.in: Pass $(INCLUDES) down to libgcc.mk explicitly.
356 2004-03-16 Richard Henderson <rth@redhat.com>
359 * except.c (collect_one_action_chain): Create action record for
360 cleanup outer of exception spec.
362 2004-03-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
365 * config.gcc: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff.
367 2004-03-15 Richard Henderson <rth@redhat.com>
370 * target.h (struct gcc_target): Move calls substructure before
371 booleans. Add split_complex_arg.
372 * function.c (assign_parms, split_complex_args): Use it.
373 * calls.c (expand_call): Likewise.
374 (split_complex_values): Likewise. Check for splittable types
375 before allocating memory.
376 (split_complex_types): Likewise.
377 * system.h (SPLIT_COMPLEX_ARGS): Poison.
378 * expr.h (SPLIT_COMPLEX_ARGS): Remove.
379 * target-def.h (TARGET_SPLIT_COMPLEX_ARG): New.
380 * config/alpha/alpha.c (alpha_split_complex_arg): New.
381 (TARGET_SPLIT_COMPLEX_ARG): New.
382 * config/alpha/alpha.h (SPLIT_COMPLEX_ARGS): Remove.
383 * config/rs6000/rs6000.c (TARGET_SPLIT_COMPLEX_ARG): New.
384 (rs6000_override_options): Zap it for non-AIX.
385 (rs6000_function_value): Use targetm.calls.split_complex_arg.
386 * config/rs6000/rs6000.h (SPLIT_COMPLEX_ARGS): Remove.
387 * config/xtensa/xtensa.c (TARGET_SPLIT_COMPLEX_ARG): New.
388 * config/xtensa/xtensa.h (SPLIT_COMPLEX_ARGS): Remove.
389 * doc/tm.texi (TARGET_SPLIT_COMPLEX_ARG): Modify from old
390 SPLIT_COMPLEX_ARGS entry.
392 2004-03-15 Eric Botcazou <ebotcazou@act-europe.fr>
394 * config/sparc/sparc.h: Rework comments about the code model
395 in 64-bit environment and the mode 'Pmode'.
396 * doc/invoke.texi (SPARC options): Rework description of the
397 different code models supported in 64-bit environment.
399 2004-03-14 Joseph S. Myers <jsm@polyomino.org.uk>
401 * doc/contrib.texi, doc/extend.texi, doc/gcov.texi,
402 doc/install.texi, doc/invoke.texi, doc/makefile.texi,
403 doc/sourcebuild.texi, doc/tm.texi, doc/trouble.texi: Capitalize
404 "gcc", "g++" and "g77" or mark up with appropriate markup. Adjust
407 2004-03-13 Eric Botcazou <ebotcazou@libertysurf.fr>
410 * c-decl.c (merge_decls): Do not copy the C_DECL_INVISIBLE flag
411 from the new decl to the old decl.
412 (pushdecl): Use lookup_name to search for a previous decl with the
415 2004-03-13 Dara Hazeghi <dhazeghi@yahoo.com>
417 * doc/install.texi: Note status of -fnew-ra.
419 2004-03-13 Eric Botcazou <ebotcazou@libertysurf.fr>
422 * expr.c (store_expr): Call emit_queue before generating the move
423 from the temporary to the original target. Protect the temporary
426 2004-03-13 Jakub Jelinek <jakub@redhat.com>
429 * config/s390/s390.c (legitimize_pic_address): Don't abort on UNSPEC
430 other than UNSPEC_GOTOFF.
432 2004-03-13 Dean Ferreyra <dferreyra@igc.org>
435 * config/avr/avr.c (avr_progmem_p): Add "attributes" parameter.
436 (avr_insert_attributes): Pass "attributes" to avr_progmem_p.
437 * config/avr/avr-protos.h (avr_progmem_p): Change prototype.
439 2004-03-12 David Edelsohn <edelsohn@gnu.org>
441 * doc/install.texi (*-ibm-aix*): Document assembler and achiver
442 fixes required by libstdc++ and update installation instructions
443 for libstdc++.a. Document use of Bash to speed up configuration.
445 2004-03-12 Eric Botcazou <ebotcazou@libertysurf.fr>
447 * doc/tm.texi (registers) <Values in Registers>: Add
448 entry for REGMODE_NATURAL_SIZE.
450 2004-03-11 Richard Henderson <rth@redhat.com>
453 * config/alpha/alpha.h (STACK_BOUNDARY): Set to 128.
455 2004-03-12 Alan Modra <amodra@bigpond.net.au>
457 * real.c (encode_ibm_extended): Do round low word.
459 2004-03-11 Richard Henderson <rth@redhat.com>
462 * except.c (remove_unreachable_regions): Look thru CALL_PLACEHOLDER.
464 2004-03-11 Richard Sandiford <rsandifo@redhat.com>
467 * config/mips/mips.h (UNITS_PER_FPVALUE): Fix value for
470 2004-03-11 Kelley Cook <kcook@gcc.gnu.org>
473 * configure: Regenerated with autoconf 2.57.
474 * config.in: Regenerated with autoheader 2.57.
476 2004-03-11 Alan Modra <amodra@bigpond.net.au>
478 * config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Don't
481 2004-03-11 Alan Modra <amodra@bigpond.net.au>
483 * config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Add darwin-ldouble.c.
484 (SHLIB_MAPFILES): Add libgcc-ppc64.ver.
485 (SHLIB_MKMAP_OPTS): Delete.
486 (TARGET_LIBGCC2_CFLAGS): Add -specs.
488 * config/rs6000/libgcc-ppc64.ver: New file.
489 * config/rs6000/ppc64-fp.c (__fixtfdi, __floatditf): New functions.
490 (__floatdidf, __floatdisf): Optimize multiply.
491 (__fixunstfdi): New function.
492 * config/rs6000/rs6000.c (rs6000_complex_function_value): Allow for
493 real and imag parts larger than one register.
494 (function_arg): Correct type of reg used when fp arg split partially
496 * config/rs6000/darwin-ldouble.c: Protect with #if !_SOFT_FLOAT
497 and __MACH__ or __powerpc64__.
499 2004-03-10 Richard Henderson <rth@redhat.com>
502 * c-decl.c (grokdeclarator): Don't warn for duplicate qualifiers
503 except for pedantic c90 mode.
505 2004-03-10 Andrew Haley <aph@redhat.com>
507 PR optimization/14381
508 * function.c (expand_function_end): Emit a blockage insn before
509 the epilogue when -fnon-call-exceptions is used.
511 2004-03-10 Joel Sherrill <joel@oarcorp.com>
514 * config.gcc (powerpc*-*-rtems*): Use rs6000/t-rtems.
516 2004-03-10 Roman Zippel <zippel@linux-m68k.org>
519 * config/m68k/m68k.h (FIXED_REGISTERS): Add arg pointer.
520 (CALL_USED_REGISTERS): Likewise.
521 (REG_CLASS_CONTENTS): Likewise.
522 (REG_ALLOC_ORDER): New.
523 (REGNO_REG_CLASS): Use regno_reg_class.
524 * config/m68k/m68k.c: Add regno_reg_class array.
526 2004-03-10 Alan Modra <amodra@bigpond.net.au>
527 Hartmut Penner <hpenner@de.ibm.com>
529 * config/rs6000/rs6000.c (invalid_gpr_mem): New function.
530 (base_reg_operand): New function.
531 (legitimate_offset_address_p): Don't test modes in an attempt to
532 distinguish gpr vs fpr mem loads/stores. Don't prohibit offsets
533 invalid for 64-bit gpr loads/stores here.
534 (secondary_reload_class): Add "inp" parameter. Generate a reload
535 for 64-bit gpr loads/stores.
536 * config/rs6000/rs6000.h (SECONDARY_RELOAD_CLASS): Delete.
537 (SECONDARY_INPUT_RELOAD_CLASS, SECONDARY_OUTPUT_RELOAD_CLASS): Define.
538 (PREDICATE_CODES): Add invalid_gpr_mem and base_reg_operand.
539 (DISPARAGE_RELOAD_CLASS): Define.
540 * config/rs6000/rs6000-protos.h (secondary_reload_class): Update.
541 * config/rs6000/rs6000.md (movdf_hardfloat64): Correct attrs.
542 Add m->b alternative and split.
543 (movdi_internal64): Replace r->m and m->r with r->Y and Y->r.
544 Add m->b alternative and split.
545 * reload.c (find_reloads): Invoke DISPARAGE_RELOAD_CLASS.
547 2004-03-10 Hans-Peter Nilsson <hp@axis.com>
550 * doc/md.texi (Pattern Ordering, Dependent Patterns)
551 (Jump Patterns, Looping Patterns): Wrap in separate "@ifset
554 2004-03-09 Zack Weinberg <zack@codesourcery.com>
556 * config/ia64/hpux.h (MULTILIB_DEFAULTS): Define.
557 (LIBGCC_SPEC): Update to match.
559 2004-03-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
561 * config/h8300/t-rtems (h8300-*-rtems*): New.
562 * config.gcc: Use config/h8300/t-rtems.
564 2004-03-09 Roger Sayle <roger@eyesopen.com>
567 * c-typeck.c (c_mark_addressable): A register variable should
568 be considered global if its not automatic, i.e. TREE_PUBLIC,
569 TREE_STATIC or DECL_EXTERNAL.
570 * function.c (put_var_into_stack): Call abort when placing a
571 hard register into the stack, if x_parm_reg_stack_loc is NULL.
573 2004-03-08 David Edelsohn <edelsohn@gnu.org>
575 * collect2.c (main): Only export initfunc and finifunc if
576 LD_INIT_SWITCH not defined.
577 (scan_prog_file): Only export constructors and destructors if
578 LD_INIT_SWITCH not defined. Only export symbols not found in
581 2004-03-09 Alan Modra <amodra@bigpond.net.au>
583 * doc/tm.texi (INIT_CUMULATIVE_ARGS): Update doco.
584 * calls.c (expand_call): Pass n_named_args to INIT_CUMULATIVE_ARGS.
585 (emit_library_call_value_1): Likewise pass nargs.
586 * expr.c (block_move_libcall_safe_for_call_parm): Pass 3 here.
587 * function.c (assign_parms): Pass -1 to INIT_CUMULATIVE_ARGS.
588 * config/rs6000/rs6000.c (init_cumulative_args): Use n_named_args
589 parameter instead of scanning TYPE_ARGS_TYPES to count args.
590 * config/rs6000/rs6000-protos.h (init_cumulative_args): Update
592 * config/rs6000/rs6000.h (INIT_CUMULATIVE_ARGS): Pass extra arg.
593 (INIT_CUMULATIVE_INCOMING_ARGS): Set extra arg to 1000.
594 (INIT_CUMULATIVE_LIBCALL_ARGS): Set extra arg to 0.
595 * config/sh/sh.c (sh_output_mi_thunk): Pass 1 as n_named_args to
596 INIT_CUMULATIVE_ARGS.
597 * config/alpha/alpha.h (INIT_CUMULATIVE_ARGS): Update.
598 * config/alpha/unicosmk.h, config/alpha/vms.h, config/arc/arc.h,
599 config/arm/arm.h, config/avr/avr.h, config/c4x/c4x.h,
600 config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
601 config/fr30/fr30.h, config/frv/frv.h, config/h8300/h8300.h,
602 config/i370/i370.h, config/i386/i386.h, config/i860/i860.h,
603 config/i960/i960.h, config/ia64/ia64.h, config/ip2k/ip2k.h,
604 config/iq2000/iq2000.c, config/iq2000/iq2000.h, config/m32r/m32r.h,
605 config/m68hc11/m68hc11.h, config/m68k/m68k.h, config/mcore/mcore.h,
606 config/mips/mips.h, config/mmix/mmix.h, config/mn10300/mn10300.h,
607 config/ns32k/ns32k.h, config/pa/pa.h, config/pdp11/pdp11.h,
608 config/s390/s390.h, config/sh/sh.h, config/sparc/sparc.h,
609 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
610 config/xtensa/xtensa.h: Likewise.
612 2004-03-09 Alan Modra <amodra@bigpond.net.au>
615 * dwarf2out.c (enum dw_val_class): Rename dw_val_class_float to
616 dw_val_class_vec. Replace use throughout file.
617 (dw_float_const): Delete.
619 (dw_val_struct_union): Rename val_float to val_vec. Replace use
621 (add_AT_vec): Rename from add_AT_float. Add elt_size param.
622 (same_dw_val_p): Adjust vec comparison. Use memcmp.
623 (size_of_die): Adjust dw_val_class_vec sizing.
624 (output_die): Output dw_val_class_vec.
625 (insert_int, extract_int, insert_float): New functions.
626 (add_const_value_attribute): Use insert_float for CONST_DOUBLE.
628 (add_location_or_const_value_attribute): Handle CONST_VECTOR.
630 2004-03-08 Joel Sherrill <joel@oarcorp.com>
633 * config/rs6000/t-rtems: Add missing file on branch.
635 2004-03-08 Roger Sayle <roger@eyesopen.com>
637 * fold-const.c (fold) <EQ_EXPR>: Rewrite optimization to transform
638 "foo++ == const" into "++foo == const+incr".
640 2004-03-08 Ulrich Weigand <uweigand@de.ibm.com>
642 * config/s390/s390.md ("*extendqidi2_short_displ"): Add CC clobber.
643 ("*extendqisi2_short_displ"): Likewise.
645 2004-03-08 Eric Botcazou <ebotcazou@act-europe.fr>
647 * expr.c (highest_pow2_factor_for_type): Rename into
648 highest_pow2_factor_for_target. Use DECL_ALIGN instead of
649 TYPE_ALIGN when the target is a COMPONENT_REF.
650 (expand_assignment): Ajust call to highest_pow2_factor_for_type.
652 2004-03-08 Alan Modra <amodra@bigpond.net.au>
654 * config/rs6000/rs6000.c: Formatting fix.
655 (legitimate_offset_address_p): Correct offset range check.
657 * config/rs6000/rs6000.c (rs6000_override_options): Don't override
658 -msoft-float by -mcpu. Consolidate similar code for MASK_MULTIPLE
661 2004-03-07 Aldy Hernandez <aldyh@redhat.com>
663 * config/rs6000/rs6000.md (ashrdi3): Do not call ashrdi3_no_power
665 ("ashrdi3_no_power"): Disable for little endian.
668 2004-03-07 Aldy Hernandez <aldyh@redhat.com>
670 * config/rs6000/rs6000.c (rs6000_parse_abi_options): SPE and
671 AltiVec abi cannot co-exist.
673 * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Same.
675 2004-03-07 Hans-Peter Nilsson <hp@axis.com>
678 * configure.ac (Target-specific assembler checks) <cris-*-*>: New
679 case, checking for -no-mul-bug-abort option.
680 * configure, config.in: Regenerate.
681 * doc/invoke.texi (CRIS Options): Document -mmul-bug-workaround
682 and -mno-mul-bug-workaround.
683 * config/cris/cris.md ("smulsi3_highpart", "umulsi3_highpart")
684 ("mulsidi3", "umulsidi3"): Prefix output template with "%!".
685 ("umulhisi3", "umulqihi3", "mulsi3", "mulqihi3", "mulhisi3"):
686 Ditto. Make attribute "slottable" dependent on TARGET_MUL_BUG.
687 * config/cris/mulsi3.asm (__Mul) [__CRIS_arch_version >= 10]: Make
688 sure mulu.d is not last on cache-line.
689 * config/cris/cris.h (ASM_SPEC): Translate -mno-mul-bug-workaround
690 into -no-mul-bug-abort depending on HAVE_AS_MUL_BUG_ABORT_OPTION.
691 (TARGET_MASK_MUL_BUG, TARGET_MUL_BUG): New macros.
692 (TARGET_SWITCHES): New options -mmul-bug-workaround and
693 -mno-mul-bug-workaround.
694 (TARGET_DEFAULT): Include TARGET_MASK_MUL_BUG.
695 (PRINT_OPERAND_PUNCT_VALID_P): Include '!'.
696 * config/cris/cris.c (cris_operand_extend_operator): Clarify
697 relation to MULT in head comment.
698 (cris_op_str): Abort for MULT.
699 (cris_print_operand) <case '!'>: New case.
701 2004-03-07 Stephane Carrez <stcarrez@nerim.fr>
703 * config/m68hc11/m68hc11.md ("*lshrsi3_const"): Disable for 68HC12.
704 ("*lshrsi3"): Also accept an immediate for 68HC12.
705 ("*ashrsi3_const"): Likewise.
706 ("*ashrsi3"): Likewise.
707 ("*ashlsi3_const"): Likewise.
708 ("*ashlsi3"): Likewise.
709 ("cmphi_1_hc12"): Compare two hard register by pushing them and
710 comparing with a pop; don't use a split for that.
711 ("cmphi split"): Disable compare split for 68HC12.
713 * config/m68hc11/m68hc11.c (m68hc11_notice_update_cc): Invalidate
714 the status operands if they have side effects.
716 2004-03-07 Richard Sandiford <rsandifo@redhat.com>
718 * config/mips/mips.c (mips_in_small_data_p): Return false if
721 2004-03-06 Stephane Carrez <stcarrez@nerim.fr>
723 * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Use 2,-sp to push
725 (expand_prologue): Don't make an interrupt or a trap handler a far
727 (m68hc11_initial_elimination_offset): Likewise.
729 2004-03-06 Richard Henderson <rth@redhat.com>
731 * config/alpha/alpha.c (alpha_in_small_data_p): False for functions.
733 2004-03-06 Richard Henderson <rth@redhat.com>
735 * config/alpha/alpha.h (MASK_LONG_DOUBLE_128): New.
736 (TARGET_LONG_DOUBLE_128): New.
737 (TARGET_SWITCHES): Add long-double-{128,64}.
738 (TARGET_HAS_XFLOATING_LIBS): Default to TARGET_LONG_DOUBLE_128.
739 (LONG_DOUBLE_TYPE_SIZE): Honor TARGET_LONG_DOUBLE_128.
740 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): New.
741 (WIDEST_HARDWARE_FP_SIZE): New.
742 (TARGET_CPU_CPP_BUILTINS): Define __LONG_DOUBLE_128__.
743 * config/alpha/alpha.c (override_options): Clear MASK_LONG_DOUBLE_128
745 * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): Remove.
746 (TARGET_DEFAULT): Set MASK_LONG_DOUBLE_128.
748 2004-03-06 Ulrich Weigand <uweigand@de.ibm.com>
750 * config/s390/s390.md ("load_multiple", "*load_multiple_di",
751 "*load_multiple_si"): Allow only if reload_completed.
752 ("store_multiple", "*store_multiple_di", "*store_multiple_si"):
755 2004-03-06 Eric Botcazou <ebotcazou@libertysurf.fr>
759 * c-decl (pushdecl): Revert previous change.
761 2004-03-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
763 * pa.md (icacheflush): Reorder operands to make match_scratch operand
765 * pa.h (INITIALIZE_TRAMPOLINE): Remove unnecessary scratch argument
766 from calls to gen_icacheflush.
768 2004-03-06 Eric Botcazou <ebotcazou@libertysurf.fr>
771 * config/i386/i386.md (movv2di_internal): Conditionalize on
772 TARGET_SSE, not TARGET_SSE2.
774 2004-03-06 Eric Botcazou <ebotcazou@libertysurf.fr>
777 * c-decl (pushdecl): Do not record a previous, not-in-scope,
778 external decl for restoration.
780 2004-03-05 Waldek Hebisch <hebisch@math.uni.wroc.pl>
783 * function.c (uninitialized_vars_warning): Use DECL_RTL_SET_P
784 instead of testing whether DECL_RTL is not NULL.
786 2004-03-05 Andreas Krebbel <krebbel1@de.ibm.com>
788 * rtl.h (mem_expr_equal_p): Function prototype added.
789 * cfgcleanup.c (merge_memattrs): New function.
790 (flow_find_cross_jump): Call merge_memattrs for matching insns.
791 * emit-rtl.c (mem_expr_equal_p): New function.
793 2004-03-05 Bob Wilson <bob.wilson@acm.org>
795 * config/xtensa/xtensa.c (function_arg): Handle 16-byte aligned args.
796 (xtensa_va_start): Initialize __va_stk to ($arg_ptr - 32). Adjust
797 __va_ndx by 2 words when referencing an argument on the stack.
798 (xtensa_va_arg): Handle 16-byte aligned args. Adjust __va_ndx by 2
799 words when an arg on the stack is first seen.
801 2004-03-05 Nathan Sidwell <nathan@codesourcery.com>
804 * gcc.c (cc1_options): Robustify -auxbase-strip from multiple -o
807 2004-03-04 Bob Wilson <bob.wilson@acm.org>
809 * config/xtensa/xtensa.c (xtensa_return_in_msb): New function.
810 (TARGET_RETURN_IN_MSB): Define to xtensa_return_in_msb.
812 2004-03-04 Alan Modra <amodra@bigpond.net.au>
814 * real.c (encode_ibm_extended): Don't bother rounding low double.
815 * c-cppbuiltin.c (builtin_define_float_constants): Tweak MAX
816 when fmt->pnan < fmt->p.
818 2004-03-04 Alan Modra <amodra@bigpond.net.au>
821 * config/rs6000/rs6000.md (abstf2, abstf2+1): Delete define_insn.
822 (abstf2, abstf2_internal): New define_expand.
824 2004-03-04 Eric Botcazou <ebotcazou@libertysurf.fr>
826 PR optimization/14235
827 * expr.c (convert_move): Copy the source to a new pseudo
828 when converting from a sub-word source to a larger-than-word
829 register which conflicts with the source.
831 2004-03-03 Zack Weinberg <zack@codesourcery.com>
834 * c-decl.c (diagnose_mismatched_decls): Issue an error for two
835 parameters with the same name, unless one is a forward decl.
836 Do not issue a redundant-redeclaration warning for forward
839 2004-03-03 Stephane Carrez <stcarrez@nerim.fr>
841 * config/m68hc11/m68hc11.c (m68hc11_override_options): Disable -fweb
842 because it breaks the 32-bit shift patterns that rely on a match_dup.
843 (print_operand): Don't print a * before the base address.
845 2003-03-03 Richard Henderson <rth@redhat.com>
848 * cselib.c (cselib_record_sets): Don't record multiple sets in
851 2004-03-03 Nicolas Pitre <nico@cam.org>
853 * config/arm/ieee754-df.S (muldf3, divdf3): Fix denormalization of
854 small negative values.
856 2004-03-02 Kazu Hirata <kazu@cs.umass.edu>
858 * config/h8300/lib1funcs.asm (___fixunssfsi): Change the
862 2004-02-27 Kazu Hirata <kazu@cs.umass.edu>
863 * config/h8300/fixunssfsi.c (__fixunssfsi): Enable on H8/300
865 * config/h8300/lib1funcs.asm (___fixunssfsi): Remove.
866 * config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _fixunssfsi_asm.
868 2004-03-02 Richard Henderson <rth@redhat.com>
871 * coverage.c (coverage_counter_ref): Set MEM_NOTRAP_P.
872 * optabs.c (prepare_cmp_insn): Force trapping memories to registers
873 before the compare, if flag_non_call_exceptions.
875 2004-03-02 Richard Henderson <rth@redhat.com>
878 * stmt.c (expand_computed_goto): Do do_pending_stack_adjust before
879 emitting the label, not after.
881 2004-03-02 David O'Brien <obrien@FreeBSD.org>
883 * config/freebsd-spec.h (FBSD_DYNAMIC_LINKER): Add.
884 * config/alpha/freebsd.h (SUBTARGET_EXTRA_SPECS): Define
885 %(fbsd_dynamic_linker),
886 (LINK_SPEC): Use %(fbsd_dynamic_linker), and sync style with
887 config/i386/freebsd.h
888 * config/arm/freebsd.h: Ditto.
889 * config/i386/freebsd.h: Ditto.
890 * config/i386/freebsd64.h: Ditto.
891 * config/ia64/freebsd.h: Ditto.
892 * config/rs6000/sysv4.h: Ditto.
893 * config/sparc/freebsd.h: Ditto.
895 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
897 * config/m68hc11/m68hc11.c (m68hc11_addr_mode): New variable.
898 (m68hc11_mov_addr_mode): Likewise.
899 (m68hc11_override_options): Initialize them based on target.
900 (register_indirect_p): Allow a MEM for indirect addressing modes and
901 use flags to control what is allowed.
902 (m68hc11_small_indexed_indirect_p): Use m68hc11_mov_addr_mode for
903 supported addressing modes.
904 (m68hc11_register_indirect_p): Use m68hc11_addr_mode.
905 (go_if_legitimate_address_internal): Likewise.
906 (m68hc11_indirect_p): Likewise and check the mode.
907 (print_operand): Allow a (MEM (MEM)) and generate indirect addressing.
909 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
911 * config/m68hc11/m68hc11.md (move peephole2): New peepholes to optimize
913 (add peepholes): New peepholes to optimize sequences adding small
915 (bset peepholes): New peepholes to transform an OR in a bset form
916 (bclr peepholes): Likewise for bclr form.
917 (cmp peepholes): New peepholes to avoid register copies when comparing.
919 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
921 * config/m68hc11/m68hc11.md ("*pushdi_internal"): New insn and split
922 to separate push from moves.
923 ("*pushdf_internal"): Likewise.
924 ("*pushsf_internal"): Likewise.
925 ("*pushsi_internal"): Likewise.
926 ("movdi_internal"): Use define_insn_and_split; non push operand.
927 ("movdf_internal"): Likewise.
928 ("movsf_internal"): Likewise.
929 ("movsi_internal"): Likewise.
930 ("*movhi_68hc12", "*addhi3_68hc12"): Fix and tune constraints
931 ("*addhi3", "*subhi3", "*andhi3_mem", "*iorhi3_mem"): Likewise.
932 ("*ashlsi3_const1", "*lshrsi3_const1"): Likewise.
934 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
936 * config/m68hc11/m68hc11.md ("tstqi_z_used"): Use define_insn_and_split.
937 ("cmphi_z_used", "cmpqi_z_used"): Likewise.
938 ("movstrictsi", "movstricthi", "movstrictqi"): Likewise.
939 ("anddi3", "andsi3", "iordi3", "iorsi3"): Likewise.
940 ("xordi3", "xorsi3", "*logicalsi3_zexthi"): Likewise.
941 ("*logicalsi3_zextqi", "*logicalhi3_zexthi_ashift8"): Likewise.
942 ("logicalhi3_zexthi", "*logicalsi3_silshr16"): Likewise.
943 ("*logicalsi3_silshl16", "*logicalsi3_silshl16_zext"): Likewise.
944 ("*ashldi3_const32", "*ashldi3_const1", "addsi_silshr16"): Likewise.
945 ("addsi_andshr16", "*ashlsi3_const16_zexthi"): Likewise.
946 ("*lshrdi3_const32", "*lshrdi_const1"): Likewise.
948 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
950 * config/m68hc11/m68hc11.md (SOFT_TMP_REGNUM): Define.
951 (SOFT_XY_REGNUM): Define.
952 (cmp split): Use the above instead of hard coded numbers.
953 (8-bit op split): No need to check the mode; allow Q_REG.
954 (ashift split): Adjust the first operand if it uses the SP and we
955 are pushing the shifted value.
956 (plus shift split): Fix when a source is in register D+X.
957 ("doloop_end"): Pass dummy arguments to gen_rtx_NE.
959 2004-03-02 Stephane Carrez <stcarrez@nerim.fr>
961 * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix when
962 comparing with Z register.
964 2004-03-02 Loren James Rittle <ljrittle@acm.org>
966 * gcc/doc/install.texi (*-*-freebsd*): Update target information.
968 2004-03-01 Mark Mitchell <mark@codesourcery.com>
971 * gcc.c (process_command): Remove const-qualification from argv.
974 2004-03-01 Mircea Namolaru <namolaru@il.ibm.com>
976 * cfgloop.h (get_var_set_from_bct, is_bct_cond): Declaration of
978 * cfgloopanal.c: Include loop.h.
979 (get_var_set_from_bct): New function.
980 (is_bct_cond): New function.
981 (blocks_single_set_registers): Handle branch and count jumps.
982 (count_loop_iterations): Likewise.
983 (simple_increment): Likewise
984 * doloop.c (doloop_condition_get): Export.
985 * loop-init.c (fixup_loop_exit_succesor): New function.
986 (loop_optimizer_finalize): Handle loops ending with branch and
988 * loop-unroll.c: Include toplev.h
989 (discard_increment): New function.
990 (expand_bct): New function.
991 (peel_loop_completely): Handle the removal of branch and count jumps.
992 (unroll_loop_constant_iterations): Likewise.
993 (unroll_loop_runtime_iterations): Likewise
994 * loop.h (doloop_condition_get): Declare.
996 2004-02-29 Mark Mitchell <mark@codesourcery.com>
999 * dwarf2out.c (gen_enumeration_type_die): Output all enumeration
1000 constants as signed values.
1002 2004-02-29 Mark Mitchell <mark@codesourcery.com>
1005 * c-tree.h (readonly_warning): Rename to ...
1006 (readonly_error): ... this.
1007 * c-typeck.c (build_unary_op): Adjust accordingly.
1008 (readonly_warning): Rename to ...
1009 (readonly_error): ... this and issue errors, not warnings.
1010 (build_modify_expr): Call readonly_error, not readonly_warning.
1011 (c_expand_asm_operands): Likewise.
1012 * tree-inline.c (optimize_inline_calls): Do not inline functions
1013 after errors have occurred.
1015 2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
1017 * doc/cppopts.texi: Fix a typo.
1019 2004-02-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1021 * pa64-hpux.h (LIB_SPEC): Fix linking under HP-UX 11.00 with -p and -pg.
1023 2004-02-27 Ian Lance Taylor <ian@wasabisystems.com>
1025 PR optimization/7871
1026 * flow.c (mark_set_1): Don't add LOG_LINKS for global registers
1027 from or to call insns.
1029 2004-02-27 Eric Botcazou <ebotcazou@libertysurf.fr>
1031 PR optimization/7871
1032 * flow.c (propagate_one_insn): Interpret calls as setting global
1033 registers, not merely clobbering them.
1035 2004-02-27 Kazu Hirata <kazu@cs.umass.edu>
1037 * config/h8300/fixunssfsi.c (__fixunssfsi): Enable on H8/300
1039 * config/h8300/lib1funcs.asm (___fixunssfsi): Remove.
1040 * config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _fixunssfsi_asm.
1042 2004-02-27 Daniel Jacobowitz <drow@mvista.com>
1044 * config/arm/arm.c (arm_legitimate_address_p): Don't check the mode
1045 size for minipool references.
1047 2004-02-27 Eric Botcazou <ebotcazou@act-europe.fr>
1048 Roger Sayle <roger@eyesopen.com>
1050 * fold-const.c (fold): Revert 2004-02-25 change. Use the original
1051 operands to build a tree with swapped operands.
1052 * expr.c (expand_expr_real) <MAX_EXPR>: Consistently use the
1053 'unsignedp' predicate to specify the signedness.
1055 2004-02-26 Aldy Hernandez <aldyh@redhat.com>
1057 * config/rs6000/rs6000.md: Add fixuns_truncsfsi2 and
1060 * config/rs6000/spe.md: Delete spe_efsctuiz.
1061 Add spe_fixuns_truncsfsi2.
1062 Add spe_fix_truncsfsi2.
1064 2004-02-26 Bob Wilson <bob.wilson@acm.org>
1066 * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define __xtensa__.
1068 2004-02-25 James E Wilson <wilson@specifixinc.com>
1070 * gcc-simple.c (rtl_zone, tree_zone, garbage_zone, ggc_alloc_typed,
1071 ggc_alloc_zone): New.
1072 (ggc_pch_count_object, gcc_pch_alloc_object, ggc_pch_write_object):
1073 Add bool is_string parameter.
1075 2004-02-26 Alan Modra <amodra@bigpond.net.au>
1077 * gcse.c (delete_null_pointer_checks_1): Set stop_insn to end, not
1078 beginning of block. Do not delete CC setter unless HAVE_cc0.
1080 2004-02-25 Kelley Cook <kcook@gcc.gnu.org>
1082 * doc/contrib.texi: Add an entry for myself.
1084 2004-02-25 Kelley Cook <kcook@gcc.gnu.org>
1086 * config.gcc: Add comment describing extra_gcc_objs.
1087 i[34567]86-*-cygwin*): Replace host_extra_gcc_objs with extra_gcc_objs.
1088 * configure.ac (extra_gcc_objs): New substitution variable.
1089 (host_extra_gcc_objs): Don't substitute.
1090 * configure: Regenerate.
1091 * Makefile.in: Use extra_gcc_objs.
1093 2004-02-25 Eric Botcazou <ebotcazou@act-europe.fr>
1095 * fold-const.c (fold): Treat MAX_EXPR and MIN_EXPR like
1096 comparisons with regard to signedness.
1098 2004-02-25 Jakub Jelinek <jakub@redhat.com>
1100 * gcov-io.c (gcov_open) [GCOV_LOCKED]: Use open + fdopen instead of
1102 * libgcov.c: Include sys/stat.h.
1103 * config/rs6000/linux.h (TARGET_HAS_F_SETLKW): Define.
1104 * config/rs6000/linux64.h (TARGET_HAS_F_SETLKW): Define.
1105 * config/sparc/linux.h (TARGET_HAS_F_SETLKW): Define.
1106 * config/sparc/linux64.h (TARGET_HAS_F_SETLKW): Define.
1108 2004-02-25 Richard Earnshaw <rearnsha@arm.com>
1110 * arm.c (arm_legitimate_index_p): For QImode the range of an offset
1111 is -4095...+4095 inclusive.
1113 2004-02-25 Eric Botcazou <ebotcazou@libertysurf.fr>
1115 * doc/install.texi (sparc-sun-solaris2* specific notes): Document
1116 the bootstrap failure with Sun CC 5.4 and 5.5.
1118 2004-02-24 Kazu Hirata <kazu@cs.umass.edu>
1120 * cse.c (cse_change_cc_mode_insns): Stop at any instruction
1121 which modifies NEWREG.
1122 (cse_condition_code_reg): Update the mode of CC_REG in
1123 CC_SRC_INSN on our own.
1125 2004-02-24 Michael Matz <matz@suse.de>
1127 * config/i386/i386.c (ix86_comp_type_attributes): Check for
1130 2004-02-24 Aldy Hernandez <aldyh@redhat.com>
1132 * config/rs6000/spe.md (spe_fix_truncsfsi2): Delete.
1133 (spe_fixuns_truncsfsi2): Delete.
1135 * config/rs6000/rs6000.md (fix_truncsfsi2): Delete.
1136 (fixuns_truncsfsi2): Delete.
1138 2004-02-24 Josef Zlomek <zlomekj@suse.cz>
1141 * rtlanal.c (replace_label): Fix replacing labels in constant pool.
1143 2004-02-24 Bob Wilson <bob.wilson@acm.org>
1145 * config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Update.
1146 (init_cumulative_args): Likewise.
1147 (a7_overlap_mentioned_p): Delete prototype.
1148 * config/xtensa/xtensa.c (struct machine_function): Replace
1149 incoming_a7_copied field with need_a7_copy and vararg_a7 flags.
1150 Add set_frame_ptr_insn field.
1151 (xtensa_emit_move_sequence): Update call to xtensa_copy_incoming_a7.
1152 (xtensa_copy_incoming_a7): Rewrite to check need_a7_copy flag and check
1153 if the operand is an argument in a7. If so, copy a7 to a new pseudo
1154 at the function entry and replace the operand with the pseudo.
1155 (init_cumulative_args): Remove unused arguments. Add new "incoming"
1156 argument and record this flag in CUMULATIVE_ARGS.
1157 (function_arg): Remove result_mode and special-case code to handle
1158 arguments in a7. Instead, set need_a7_copy flag when there is an
1159 incoming argument in a7.
1160 (xtensa_expand_prologue): Remove code to search for set_frame_ptr insn
1161 and use the value recorded in cfun->machine->set_frame_ptr_insn.
1162 (xtensa_builtin_saveregs): Check for negative gp_left value. Set
1163 need_a7_copy and vararg_a7 flags. Use move_block_from_reg instead of
1165 (a7_overlap_mentioned_p): Delete.
1166 * config/xtensa/xtensa.h (CUMULATIVE_ARGS): Add "incoming" flag.
1167 (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Remove useless
1168 arguments to init_cumulative_args and pass "incoming" flag instead.
1169 (BLOCK_REG_PADDING): Delete.
1170 * config/xtensa/xtensa.md (movdi, movsf, movdf): Remove unnecessary
1171 checks for reload_in_progress and reload_completed. Update calls to
1172 xtensa_copy_incoming_a7.
1173 (ashlsi3): Rename existing insn to ashlsi3_internal. Add expander
1174 to call xtensa_copy_incoming_a7.
1176 2004-02-24 Richard Earnshaw <rearnsha@arm.com>
1178 * invoke.texi (ARM Options): Mark -mapcs-26 and -mno-alignment-traps
1179 as deprecated. Remove already deprecated synonyms.
1180 * arm.c (arm_override_options): Generate an inform message if the
1181 user tries to invoke the compiler in apcs-26 mode.
1182 * arm.h (TARGET_SWITCHES): Remove help comments from deprecated
1183 switches. Delete deprecated synonyms for -malignment-traps.
1184 (TARGET_DEFAULT): Default to alignment traps.
1185 * arm/coff.h (TARGET_DEFAULT): Default to alignment traps.
1186 * arm/elf.h arm/netbsd.h arm/pe.h arm/semi.h arm/semiaof.h: Likewise.
1187 * arm/unknown-elf.h arm/wince-pe.h: Likewise.
1189 2004-02-23 H.J. Lu <hongjiu.lu@intel.com>
1191 * config/i386/i386.h: Deprecate -mpni/-mno-pni.
1193 2004-02-23 Kelley Cook <kcook@gcc.gnu.org>
1195 * config/i386/i386.c: Rename pni to sse3.
1196 * config/i386/i386.h: Likewise.
1197 * config/i386/i386.md: Likewise.
1198 * config/i386/pmmintrin.h: Likewise.
1199 * doc/extend.texi: Likewise.
1200 * doc/invoke.texi: Likewise.
1202 2004-02-23 Andrew Pinski <pinskia@physics.uc.edu>
1204 * config/rs6000/linux.h (OS_MISSING_POWERPC64): Define.
1205 * config/rs6000/linux64.h (OS_MISSING_POWERPC64): Define.
1207 2004-02-23 Eric Botcazou <ebotcazou@libertysurf.fr>
1208 Falk Hueffner <falk@debian.org>
1211 * builtins.c (expand_builtin_va_arg): Emit an informative message
1212 if a trap is generated.
1213 * c-typeck.c (build_function_call): Likewise.
1215 2004-02-22 Christopher Faylor <cgf@redhat.com>
1217 * config.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): *Really* specify
1218 extra host object file when targetting cygwin rather than generic
1221 2004-02-22 Matthias Klose <doko@debian.org>
1223 Taken from mainline:
1225 2004-02-12 Geoffrey Keating <geoffk@apple.com>
1227 * Makefile.in (install-man): Use $(CPP_INSTALL_NAME) and
1228 $(GCOV_INSTALL_NAME) to install manpages. Remove generic rule
1229 for installing .1 manpages. Add rules for installing cpp
1230 and gcov manpages under their installed names.
1232 2004-02-22 Hans-Peter Nilsson <hp@axis.com>
1235 * config/cris/cris.md ("*andsi_movu", "*andhi_movu"): Tweak
1236 constraints to not match postincrement. Adjust the predicate to
1237 exclude a volatile memory reference.
1238 ("*andsi_clear"): Tweak constraints to not match postincrement.
1239 Adjust the predicate to exclude a volatile memory reference.
1240 ("*andhi_clear"): Ditto. Rename from "*andhi_clear_signed".
1241 ("*andhi_clear_unsigned"): Remove, non-matching pattern.
1243 2004-02-21 Christopher Faylor <cgf@redhat.com>
1245 * config.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): Specify extra host
1246 object file when targetting cygwin.
1247 * config/i386/t-cygwin (EXTRA_GCC_OBJS): Remove definition since it is
1248 overridden by top-level Makefile.
1250 2004-02-21 Alan Modra <amodra@bigpond.net.au>
1252 * combine.c (can_combine_p): Don't ignore SETs marked with
1253 REG_EH_REGION notes.
1255 2004-02-21 Jan Hubicka <jh@suse.cz>
1257 * params.def (max-peeled-insns, max-completely-peeled-insns,
1258 max-once-peeled-insns): Set to 400.
1260 2004-02-20 Falk Hueffner <falk@debian.org>
1263 * config/alpha/alpha.md (*fix_truncsfsi_ieee): Fix typoed operand
1266 2004-02-20 Mohan Embar <gnustuff@thisiscool.com>
1267 Tom Tromey <tromey@redhat.com>
1269 * doc/install.texi: Moved --disable-libgcj and
1270 --with-system-zlib documentation to new section for
1271 Java-specific options.
1272 Added explicit Cross-Compiler-Specific Options subheading.
1273 Added section for Java-specific options.
1275 2004-02-20 James E Wilson <wilson@specifixinc.com>
1277 * toplev.c (dump_file_index, dump_file): Put ce3 before rnreg.
1279 2004-02-20 Josef Zlomek <zlomekj@suse.cz>
1281 * tree-inline.c (copy_body_r): Do not replace ret_label.
1283 2004-02-20 Kazu Hirata <kazu@cs.umass.edu>
1285 * gcc.c (process_command): Allow translation of the copyright
1286 symbol but not the rest of the copyright message.
1287 * gcov.c (print_version): Likewise. Allow translation of the
1288 message about warranty.
1290 2004-02-19 Aldy Hernandez <aldyh@redhat.com>
1292 * config/rs6000/spe.md (spe_fixunssfsi2): Rename to
1293 spe_fixuns_truncsfsi2.
1295 * config/rs6000/rs6000.md (fixunssfsi2): Rename to
1298 2004-02-19 Richard Sandiford <rsandifo@redhat.com>
1299 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1301 * config/mips/mips.c (mips_address_insns): Treat BLKmode specially.
1302 * config/mips/mips.md: Expand comment above unaligned loads and stores.
1304 2004-02-20 Alan Modra <amodra@bigpond.net.au>
1306 * function.c (assign_parms): Correct leakage of mainline code
1307 in last commit. Also leakage from INIT_CUMULATIVE_ARGS patch.
1309 2004-02-19 Zack Weinberg <zack@codesourcery.com>
1311 * config/ia64/ia64.c (ia64_function_arg): In big-endian mode,
1312 when passing single SFmode quantities in general registers,
1313 put them in the high half.
1314 (struct extern_func_list, extern_func_head): Mark with GTY(()).
1315 (ia64_hpux_add_extern_decl): Save the decl, not the name string.
1316 Allocate memory with ggc_alloc. No need to copy anything.
1317 (ia64_hpux_file_end): Update to match.
1319 2004-02-19 David Daney <ddaney@avtrex.com>
1321 PR preprocessor/14198
1322 * config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Add
1323 builtin_assert ("machine=mips")
1325 2004-02-19 Ulrich Weigand <uweigand@de.ibm.com>
1327 * config/s390/s390.md ("*subdf3_cc", "*subdf3_cconly", "*subsf3_cc",
1328 "*subsf3_cconly"): Subtraction is not commutative.
1330 2004-02-19 Alan Modra <amodra@bigpond.net.au>
1332 * function.c (assign_parms): When building decl_rtl for
1333 SPLIT_COMPLEX_ARGS, ensure inner modes of concat match outer.
1335 2004-02-19 Olivier Hainque <hainque@act-europe.fr>
1337 * expr.c (is_aligning_offset): Check if we are aligning the
1338 expressions's address over BIGGEST_ALIGNMENT in bytes, not
1341 2004-02-19 Jan Hubicka <jh@suse.cz>
1343 * genextract.c (main): Do not output the memset when not checking.
1345 2004-02-18 Jakub Jelinek <jakub@redhat.com>
1347 * config/i386/i386.c (override_options): Don't imply 3DNow! for -m64
1350 2004-02-18 Ulrich Weigand <uweigand@de.ibm.com>
1352 * config/s390/s390.md ("divmoddisi3"): Fix incorrect mode.
1354 2004-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1356 * pa.h (PIC_OFFSET_TABLE_REGNUM): Define to INVALID_REGNUM when not
1357 generating PIC code.
1359 2004-02-18 Ulrich Weigand <uweigand@de.ibm.com>
1361 * config/s390/s390.c (s390_mainpool_start): Delete the main pool
1362 placeholder insn when chunkifying the pool.
1364 2004-02-18 Per Bothner <per@bothner.com>
1366 * cpphash.h (struct cpp_buffer): Restore return_at_eof field. This
1367 partly reverts my 2003-10-01 change, because we're back to logically
1368 including <command line> inside the main line.
1369 * cpplex.c (_cpp_get_fresh_line): Check return_at_eof field.
1370 * cppmacro.c (cpp_scan_nooutput): Set return_at_eof of current buffer.
1371 Fixes PR preprocessor/14103.
1373 2004-02-18 Richard Earnshaw <rearnsha@arm.com>
1376 * arm.c (load_multiple_operation): Don't insist that the source reg
1377 of a post-increment component is the same as the destination.
1378 (store_multiple_operation): Likewise.
1380 2004-02-18 Paul Brook <paul@codesourcery.com>
1382 * rtlanal.c (rtx_varies_p): Return 0 for NULL_RTX
1384 2004-02-18 Mark Mitchell <mark@codesourcery.com>
1387 * config/ia64/ia64.c (ia64_struct_value_rtx): Cope with NULL
1390 2004-02-18 Paul Brook <paul@codesourcery.com>
1393 * dwarf2out.c (loc_descriptor_from_tree): Handle
1394 EXPR_WITH_FILE_LOCATION.
1396 2004-02-17 Mark Mitchell <mark@codesourcery.com>
1399 * c-common.c (flag_abi_version): Remove.
1400 * c-common.h (flag_abi_version): Likewise.
1401 * c-opts.c (c_common_handle_option): Remove OPT_fabi_version case.
1402 * c.opt (fabi-version): Remove.
1403 * calls.c (expand_call): Always pass a function type to
1404 struct_value_rtx. Use convert_memory_address.
1405 * common.opt (fabi-version): Add it.
1406 * flags.h (flag_abi_version): Likewise.
1407 (abi_version_at_least): New macro.
1408 * opts.c (common_handle_option): Add OPT_fabi_version.
1409 * toplev.c (flag_abi_version): Define it.
1410 * config/ia64/ia64.h (STRUCT_VALUE_REGNUM): Remove.
1411 * config/ia64/ia64.c (TARGET_STRUCT_VALUE_RTX): Define it.
1412 (ia64_struct_retval_addr_is_first_parm_p):
1414 (ia64_output_mi_thunk): Use it.
1415 (ia64_struct_value_rtx): New function.
1417 2004-02-18 Alan Modra <amodra@bigpond.net.au>
1419 PR optimization/14119
1420 * combine.c (try_combine): When attemting to fix unrecognized insns,
1421 don't delete SETs marked with REG_EH_REGION notes.
1423 2004-02-17 Jan Hubicka <jh@suse.cz>
1426 * cselib.c (remove_useless_values): Do not access released
1429 2004-02-17 Ulrich Weigand <uweigand@de.ibm.com>
1431 * combine.c (simplify_if_then_else): Do not replace
1432 (if_then_else (ne reg 0) (0) (const_int)) by (reg) if the
1435 2004-02-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1437 * config/mips/t-iris6gld: Renamed to ...
1438 * config/mips/t-irix-gld: ... this.
1439 * config.gcc (mips-sgi-irix6*): Reflect this
1440 (mips-sgi-irix5*): Use it with GNU ld.
1442 * config/mips/irix6-crti.asm, config/mips/irix6-crtn.asm: Renamed
1444 * config/mips/irix-crti.asm, config/mips/irix-crtn.asm: ... this.
1445 * config/mips/t-irix-gld: Reflect this.
1446 * config/mips/iris6gld.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
1448 * config/mips/iris5gld.h: New file.
1449 * config.gcc (mips-sgi-irix5*): Use it with GNU ld.
1450 Only use collect2 without gas.
1452 * config/mips/iris6.h (IRIX6_STARTFILE_SPEC, IRIX6_ENDFILE_SPEC):
1453 Renamed to IRIX_STARTFILE_SPEC, IRIX_ENDFILE_SPEC.
1454 (STARTFILE_SPEC, ENDFILE_SPEC, SUBTARGET_EXTRA_SPECS): Reflect this.
1455 * config/mips/iris6gld.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
1457 * config/mips/iris6.h (SUBTARGET_EXTRA_SPECS): Moved ...
1458 * config/mips/iris5.h: ... here.
1460 * config/mips/iris5.h (STARTFILE_SPEC, ENDFILE_SPEC): Renamed to
1461 IRIX_STARTFILE_SPEC, IRIX_ENDFILE_SPEC.
1462 (STARTFILE_SPEC, ENDFILE_SPEC): Define.
1464 * config/mips/iris5gas.h (STARTFILE_SPEC, ENDFILE_SPEC): Simplify
1465 using irix_startfile_spec, irix_endfile_spec.
1466 * patches.summary (http):
1468 2004-02-17 Andrew Pinski <pinskia@physics.uc.edu>
1471 * doc/invoke.texi (fabi-version): The default is 2 now.
1473 2004-02-17 Jonathan Wakely <redi@gcc.gnu.org>
1475 * doc/install.texi: Update description of --gxx-include-dir to
1476 give correct default value. (merged from mainline)
1478 2004-02-16 Matthias Klose <doko@debian.org>
1480 * config/t-slibgcc-elf-ver: Define SHLIB_NAME and SHLIB_SONAME
1481 in terms of SHLIB_SOVERSION.
1482 * config/m68k/t-slibgcc-elf-ver: New file.
1483 * config/pa/t-slibgcc-elf-ver: New file.
1484 * config.gcc (m68k-linux, parisc-linux): Use them when not
1485 sjlj exceptions are not configured.
1487 2004-02-16 Eric Botcazou <ebotcazou@libertysurf.fr>
1489 * config/sparc/sparc.c (get_pc_symbol_name): Mark with GTY(()).
1491 2004-02-16 Joseph S. Myers <jsm@polyomino.org.uk>
1493 * doc/sourcebuild.texi: Mention backends.html.
1495 2004-02-15 Roger Sayle <roger@eyesopen.com>
1497 Backport from mainline:
1499 2004-02-07 Roger Sayle <roger@eyesopen.com>
1501 * fold-const.c (fold_convert): New function to provide type
1502 conversion to the middle-end without using convert.
1503 (negate_expr, associate_trees, size_diffop, omit_one_operand,
1504 operand_equal_for_comparison_p, pedantic_omit_one_operand,
1505 invert_truthvalue, optimize_bit_field_compare, range_binop,
1506 decode_field_reference, make_range, build_range_check, unextend,
1507 fold_truthop, extract_muldiv_1, fold_mathfn_compare,
1508 fold_binary_op_with_conditional_arg, fold_inf_compare,
1509 fold_single_bit_test, fold, multiple_of_p): Replace all calls to
1510 convert with calls to fold_convert.
1512 2004-02-09 Roger Sayle <roger@eyesopen.com>
1513 * fold-const.c (fold) <NOP_EXPR>: Use the original type conversion
1514 tree code rather than call fold_convert, which doesn't specify a
1515 default floating point to integer conversion.
1517 2004-02-10 Paolo Bonzini <bonzini@gnu.org>
1519 * fold-const.c (fold) <NEGATE_EXPR>: Convert result of
1520 negate_expr back to the original type.
1522 2004-02-15 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
1524 Backport from mainline:
1526 2004-02-05 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
1527 * config/sh/t-linux (SHLIB_INSTALL): Prepend $$(DESTDIR)
1528 to $$(slibdir) in the installation commands.
1530 2004-02-15 Roger Sayle <roger@eyesopen.com>
1532 Backport from mainline:
1534 2004-01-20 Roger Sayle <roger@eyesopen.com>
1535 * fold-const.c (fold_convert): Rename to fold_convert_const.
1536 (fold_convert_const): Change arguments to take a tree_code,
1537 a type and the operand/expression to be converted. Return
1538 NULL_TREE if no simplification is possible.
1539 (fold): Adjust call to fold_convert to match new fold_convert_const.
1540 Avoid modifying the tree passed to fold in-place.
1542 2004-02-15 Jan Hubicka <jh@suse.cz>
1544 * cselib.c (value_pool): New.
1545 (new_cselib_val): Use pool.
1546 (cselib_init): Initialize value_pool
1547 (cselib_finish): Free pool.
1549 * cselib.c: Include alloc-pool.h
1550 (empty_vals, empty_elt_lists, empty_elt_loc_lists): Kill.
1551 (elt_loc_list_pool, elt_list_pool, cselib_val_pool): Declare.
1552 (new_elt_list, new_elt_loc_list, unchain_one_elt_list,
1553 unchain_one_elt_loc_list_pool, unchain_one_value,
1554 new_cselib_val): Simplify using allocpool.
1555 (cselib_init): Initialize allocpools.
1556 (cselib_finish): Finish allocpools.
1558 2004-02-14 Richard Sandiford <rsandifo@redhat.com>
1560 Backport from mainline:
1562 2002-04-08 Richard Sandiford <rsandifo@redhat.com>
1563 * real.c (encode_ibm_extended): Normalize the input value before
1564 converting it to a double. Handle the case where a normal value
1567 2004-02-14 Olivier Hainque <hainque@act-europe.fr>
1569 * loop.c (check_dbra_loop): Use gen_int_mode instead of GEN_INT
1570 for start_value when it is directly moved into reg, and factorize
1571 the retrieval of GET_MODE (reg).
1573 2004-02-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1575 * configure.ac: Search for as, ld below libexec/gcc.
1576 * configure: Regenerate.
1578 2004-02-13 Jan Hubicka <jh@suse.cz>
1580 * combine.c (recog_for_combine): Avoid allocating unnecesary RTX.
1582 * genrecog.c (find_operand): add extra argument stop.
1583 (validate_pattern): Verify that mach_dup is duplicating operand
1584 defined lexically earlier.
1586 2004-02-13 Ian Lance Taylor <ian@wasabisystems.com>
1589 * c-opts.c (c_common_post_options): Disable function inlining when
1590 using -finstrument-functions.
1591 * doc/invoke.texi (Code Gen Options): Document this restriction.
1593 2004-02-12 Chris Demetriou <cgd@broadcom.com>
1595 * config/mips/mips.md (casesi_internal, casesi_internal_di):
1596 Use ".set macro" to avoid warnings about multi-instruction
1597 macros, since they're intentional.
1599 2004-02-13 Jan Hubicka <jh@suse.cz>
1601 * alias.c (find_base_term, get_addr): Do not dereference NULL
1602 pointer when all VALUE's locations has been invalidated.
1603 (rtx_equal_for_memref_p): Simplify checking of VALUEs.
1605 * cselib.c (discard_useless_values): Clear out value pointer pointing
1606 to datastructure to be recycled.
1608 * gcse.c (bypass_block): Prevent edges to be unified when we are
1609 about to emit compenstation code.
1611 * gcse.c (bypass_block): Fix a typo in the previous check-in
1614 * alloc-pool.c (align_four): Kill.
1615 (create_alloc_pool): Align size to eight.
1616 (free_alloc_pool, free_pool): Invalidate deallocated data.
1618 2004-02-12 Richard Sandiford <rsandifo@redhat.com>
1621 * config/mips/mips-protos.h (mips_output_aligned_decl_common): Declare.
1622 (mips_declare_object): Make variadic.
1623 * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use
1624 mips_output_aligned_decl_common.
1625 * config/mips/mips.c (mips_output_aligned_decl_common): New function.
1626 (mips_declare_object): Make variadic.
1628 2004-02-12 Jan Hubicka <jh@suse.cz>
1630 * tree-optimize.c (tree_rest_of_compilation): Do not release DECL_ARGUMENTS
1632 2004-02-12 Ian Lance Taylor <ian@wasabisystems.com>
1635 * reload.c (find_reloads): Only support one pair of commutative
1638 2004-02-12 Ian Lance Taylor <ian@wasabisystems.com>
1641 Backport from mainline:
1643 2004-02-11 Richard Henderson <rth@redhat.com>
1645 * flow.c (insn_dead_p): A clobber of a dead hard register is a
1646 dead insn after reload.
1648 2004-01-24 Ian Lance Taylor <ian@wasabisystems.com>
1650 * cse.c (cse_cc_succs): Change the mode of the source expression
1651 as soon as decide we need a new mode. Don't permit changing modes
1652 if we found a match in a successor block.
1653 (cse_condition_code_reg): Save original mode of source expression
1654 so that we know whether we have to change the mode in other
1657 2004-01-24 Andreas Tobler <a.tobler@schweiz.ch>
1659 * cse.c: (cse_cc_succs) Fix comparison warning.
1661 2004-01-23 Ian Lance Taylor <ian@wasabisystems.com>
1663 * cse.c (cse_change_cc_mode): New static function.
1664 (cse_change_cc_mode_insns, cse_cc_succs): Likewise.
1665 (cse_condition_code_reg): New function.
1666 * rtl.h (cse_condition_code_reg): Declare.
1667 * toplev.c (rest_of_handle_cse2): Call cse_condition_code_reg.
1668 * target.h (struct gcc_target): Add fixed_condition_code_regs and
1669 cc_modes_compatible.
1670 * target-def.h (TARGET_FIXED_CONDITION_CODE_REGS): Define.
1671 (TARGET_CC_MODES_COMPATIBLE): Define.
1672 (TARGET_INITIALIZER): Add new initializers.
1673 * targhooks.c (default_cc_modes_compatible): New function.
1674 * targhooks.c (default_cc_modes_compatible): Declare.
1675 * hooks.c (hook_bool_intp_intp_false): New function.
1676 * hooks.h (hook_bool_intp_intp_false): Declare.
1677 * config/i386/i386.c (TARGET_FIXED_CONDITION_CODE_REGS): Define.
1678 (TARGET_CC_MODES_COMPATIBLE): Define.
1679 (ix86_fixed_condition_code_regs): New static function.
1680 (ix86_cc_modes_compatible): Likewise.
1681 * doc/tm.texi (Condition Code): Document new hooks.
1683 2004-02-12 Hartmut Penner <hpenner@de.ibm.com>
1685 * config/rs6000/altivec.md (*movv4si_internal): At least one
1686 operand must be register_operand.
1687 (*movv8hi_internal1): Likewise.
1688 (*movv16qi_internal1): Likewise.
1689 (*movv4sf_internal1): Likewise.
1691 2004-02-12 Eric Botcazou <ebotcazou@libertysurf.fr>
1694 Backport from mainline:
1696 2004-02-03 Eric Botcazou <ebotcazou@libertysurf.fr>
1698 * config/sparc/sparc.md (call followed by jump define_peephole's):
1701 2004-02-12 Hartmut Penner <hpenner@de.ibm.com>
1703 * gcc/config/rs6000/rs6000.c (rs6000_override_options)
1704 Set AltiVec ABI and vrsave as default for ppc64 linux.
1705 (init_cumulative_args): Post error, if try to return
1706 value in AltiVec register without enable AltiVec.
1707 (function_arg_advance): Ditto for passing arguments.
1709 2004-02-11 Joseph S. Myers <jsm@polyomino.org.uk>
1712 * cppexp.c (num_binary_op): Don't allow comma operators in #if
1713 constant expressions at all outside C99 mode if pedantic.
1715 2004-02-10 Aldy Hernandez <aldyh@redhat.com>
1717 * config/rs6000/spe.md ("*movv2si_internal"): Check for register
1719 (movv4hi_internal): Same.
1720 (movv2sf_internal): Same.
1721 (movv1di_internal): Same.
1723 2004-02-11 Richard Sandiford <rsandifo@redhat.com>
1725 * emit-rtl.c (mark_label_nuses): Check that a LABEL_REF refers to
1726 a label before updating its usage count.
1728 2004-02-10 Danny Smith <dannysmith@users.sourceforge.net>
1731 real.c (real_from_string): Look for 'X' as well as 'x' in
1734 2004-02-10 Per Bothner <per@bothner.com>
1736 * c-opts.c (c_common_post_options): Don't emit working directory
1737 in cpp output if -P was specified.
1739 2004-02-10 Jakub Jelinek <jakub@redhat.com>
1741 PR optimization/13424
1742 Backport from mainline:
1744 2004-01-29 Jakub Jelinek <jakub@redhat.com>
1745 * emit-rtl.c (change_address): Use XEXP (memref, 0) instead
1746 of addr when creating MEM copy.
1748 2004-01-28 Jakub Jelinek <jakub@redhat.com>
1749 * expr.c (store_constructor): Revert 2003-12-03 change.
1751 * emit-rtl.c (change_address): Check also if MEM_ATTRS is set as
1752 expected before returning early. Avoid sharing RTL if they
1755 * config/i386/i386.c (ix86_expand_movstr): Rework rep_mov and strmov
1756 handling so that memory attributes are preserved. Don't call
1757 ix86_set_move_mem_attrs.
1758 (ix86_set_move_mem_attrs_1, ix86_set_move_mem_attrs): Removed.
1759 (ix86_expand_clrstr): Rename src argument to
1760 dst. Rework rep_stos and strset handling so that memory attributes
1762 (ix86_expand_strlen): Pass src argument to
1763 ix86_expand_strlensi_unroll_1. Rework strlenqi_1 handling so that
1764 memory attributes are preserved.
1765 (ix86_expand_strlensi_unroll_1): Add src argument. Use
1766 change_address instead of gen_rtx_MEM.
1767 * config/i386/i386.md (strmov, strmov_singleop, rep_mov): New
1769 (strmovdi_rex64, strmovsi, strmovsi_rex64, strmovhi, strmovhi_rex64,
1770 strmovqi, strmovqi_rex64): Remove.
1771 (rep_mov*, strmov*): Prefix insn names with *.
1772 (strset, strset_singleop, rep_stos): New expanders.
1773 (strsetdi_rex64, strsetsi, strsetsi_rex64, strsethi, strsethi_rex64,
1774 strsetqi, strsetqi_rex64): Remove.
1775 (rep_stos*, strset*): Prefix insn names with *.
1776 (rep_stosqi_rex64): Likewise. Fix mode of dirflag reg from DImode
1778 (cmpstrsi): Rework cmpstrqi_1 handling so that memory attributes
1780 (cmpstrqi_nz_1, cmpstrqi_nz_rex_1, cmpstrqi_1, cmpstrqi_rex_1):
1781 Prefix insn names with *.
1782 (cmpstrqi_nz_1, cmpstrqi_1): New expanders.
1783 (strlenqi_1, strlenqi_rex_1): Prefix insn names with *.
1784 (strlenqi_1): New expander.
1785 * config/i386/i386.h (ix86_set_move_mem_attrs): Remove prototype.
1787 2004-01-24 Jan Hubicka <jh@suse.cz>
1788 * emit-rtl.c (change_address, adjust_address_1, offset_address,
1789 widen_memory_access): Return early when there is nothing to change.
1791 2004-02-10 David Edelsohn <edelsohn@gnu.org>
1793 * configure.ac (gcc_cv_as_powerpc_mfcrf): Correct test for mfcr.
1794 * configure: Regenerate.
1796 2004-02-10 Ulrich Weigand <uweigand@de.ibm.com>
1798 * cfganal.c (flow_call_edges_add): Never split a libcall block.
1800 2004-02-10 Richard Sandiford <rsandifo@redhat.com>
1802 * config/mips/mips.h (TARGET_GPWORD): Return false for TARGET_NEWABI
1805 2004-02-09 Geoffrey Keating <geoffk@apple.com>
1808 * config/rs6000/rs6000.c (ccr_bit): Don't let consistency check
1809 failure stop compilation, just print helpful message.
1811 2004-02-09 Fariborz Jahanian <fjahanian@apple.com>
1813 * expr.c (emit_group_load): split constant
1814 correctly into register components of PARALLEL insn.
1816 2004-02-09 DJ Delorie <dj@redhat.com>
1818 * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): No
1819 longer modify standard_exec_prefix, standard_bindir_prefix, or
1820 standard_startfile_prefix.
1822 2004-02-09 James E Wilson <wilson@specifixinc.com>
1825 * c-common.c (c_expand_expr, case STMT_EXPR): Change expand_expr call
1826 to expand_expr_real call, and pass in alt_rtl as last argument.
1829 * builtin-types.def (BT_WORD, BT_FN_WORD_PTR): New.
1830 * builtins.c (expand_builtin): Handle BUILT_IN_EXTEND_POINTER.
1831 * builtins.def (BUILT_IN_EXTEND_POINTER): New.
1832 * except.c (expand_builtin_extend_pointer): New.
1833 * except.h (expand_builtin_extend_pointer): Declare.
1835 2004-02-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1837 * config/mips/iris5.h (BSS_SECTION_ASM_OP): Define.
1838 * config/mips/iris6.h (BSS_SECTION_ASM_OP): Undef.
1840 * config/mips/iris6.h (TARGET_ASM_NAMED_SECTION): Moved ...
1841 * config/mips/iris5.h: ... here.
1842 * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Remove.
1844 * config/mips/iris6.h (EXTRA_SECTION_FUNCTIONS): Move ...
1845 * config/mips/iris5.h: ... here.
1847 2004-02-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1849 * configure.ac: Remove default executable files before AC_PROG_CC.
1850 * configure: Regenerate.
1852 2004-02-09 Kazu Hirata <kazu@cs.umass.edu>
1855 * config/h8300/h8300.c (byte_reg): Call abort() if asked to
1856 print a operand other than a register.
1858 2004-02-09 Nick Clifton <nickc@redhat.com>
1860 * Import these patches from mainline sources:
1862 2004-01-21 Inaoka Kazuhiro <inaoka.kazuhiro@renesas.com>
1864 * config/m32r/m32r.h (CPP_SPEC): Define.
1866 2004-01-20 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1868 * config/m32r/m32r.h (TARGET_M32R2). Test for TARGET_M32R2_MASK
1869 not TARGET_M32RX_MASK.
1871 2004-02-09 Eric Botcazou <ebotcazou@libertysurf.fr>
1873 * cpplib.h (cpp_get_line_maps): Un-constify the structure
1874 pointed to by the pointer returned by the function.
1875 * cpplib.c (cpp_get_line_maps): Likewise.
1877 2004-02-08 Kazu Hirata <kazu@cs.umass.edu>
1879 * c-objc-common.c (c_cannot_inline_tree_fn): Fix a typo in a
1882 2004-02-08 Joseph S. Myers <jsm@polyomino.org.uk>
1884 * README.Portability: Change "ISO C89" to "ISO C90".
1885 * c-parse.in (primary, initelt): Likewise.
1887 2004-02-07 Zack Weinberg <zack@codesourcery.com>
1890 * c-decl.c (diagnose_mismatched_decls): Only give special
1891 treatment when olddecl is DECL_BUILT_IN, if C_DECL_INVISIBLE
1893 (merge_decls): Don't clear DECL_BUILT_IN_CLASS and
1894 DECL_FUNCTION_CODE when defining a built-in function.
1895 Don't update DECL_ESTIMATED_INSNS.
1896 * dwarf2out.c (dwarf2out_decl): Don't ignore built-in
1898 * tree.h: Delete DECL_ESTIMATED_INSNS.
1899 * tree-inline.c (struct inline_data): Delete inlined_insns field.
1900 (expand_call_inline, optimize_inline_calls): Don't update
1901 DECL_ESTIMATED_INSNS nor inlined_insns.
1902 * cgraphunit.c (cgraph_analyze_function): Don't update
1903 DECL_ESTIMATED_INSNS.
1905 2004-02-07 Zack Weinberg <zack@codesourcery.com>
1907 * c-common.c (shadow_warning): Delete.
1908 * c-common.h (free_parser_stacks, shadow_warning, sw_kind): Delete.
1909 * c-decl.c (warn_if_shadowing): Issue shadow warnings directly.
1910 * c-opts.c (c_common_parse_file): Don't call free_parser_stacks.
1911 * c-parse.in (free_parser_stacks): Delete.
1913 2004-02-07 Kazu Hirata <kazu@cs.umass.edu>
1915 * c-opts.c, c-ppoutput.c, cppfiles.c, cpphash.h, cppinit.c,
1916 cpplib.h, diagnostic.h, fix-header.c, config/fp-bit.c,
1917 config/mips/iris5.h, doc/makefile.texi: Update copyright.
1919 2004-02-06 James E Wilson <wilson@specifixinc.com>
1921 * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Only define for
1922 glibc 2.3 or better.
1924 2004-02-06 Ulrich Weigand <uweigand@de.ibm.com>
1926 * loop.c (force_movables): Transitively increase the priorities of
1927 all insns forces by an insn, not just the first one.
1929 2004-02-06 Falk Hueffner <falk@debian.org>
1932 * config/alpha/alpha.c (alpha_emit_set_const_1): If
1933 no_new_pseudos, use gen_rtx_SET directly for SImode constants
1934 which need multiple instructions to emit.
1936 2004-02-06 H.J. Lu <hongjiu.lu@intel.com>
1938 * doc/invoke.texi: Remove the pni option from -mfpmath=.
1940 2004-02-05 Kelley Cook <kcook@gcc.gnu.org>
1942 * doc/install.texi: Update automake and autoconf version
1943 requirements. Note where to find gcj automake version.
1945 2004-02-05 Kelley Cook <kcook@gcc.gnu.org>
1947 * Makefile.in (generate-manpages): Move dependencies to ...
1949 * doc/makefile.texi: Document new targets.
1950 * doc/sourcebuild.texi (Make-lang.in): Document new langhooks.
1952 2004-02-05 Kelley Cook <kcook@gcc.gnu.org>
1955 Makefile.in (srcextra): Add a level of indirection to ...
1956 (gcc.srcextra): ... here.
1957 (po-generated): Delete.
1958 (po/$(PACKAGE).pot: Use srcextra instead of po-generated. Depend on
1960 (start.encap): Remove superfluous lang.srcextra dependency.
1961 objc/Make-lang.in (po-generated): Delete.
1963 2004-02-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1965 * config/mips/iris5gas.h (PREFERRED_DEBUGGING_TYPE): Define.
1967 2004-02-05 Andreas Krebbel <krebbel1@de.ibm.com>
1969 * config/s390/s390.md ("*tmqidi_ext"): New insn.
1970 ("*extendqidi2_short_displ", "*extendsiqi2_short_displ"): Old
1971 pre-reload splitters are transformed to post-reload
1972 define_insn_and_split patterns.
1973 ("*tmqisi_ext"): Renamed old "*tmqi_ext".
1975 2004-02-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1979 2004-01-15 Geoffrey Keating <geoffk@apple.com>
1981 * c-typeck.c (constructor_asmspec): Delete.
1982 (struct initializer_stack): Delete field 'asmspec'.
1983 (start_init): Delete saving of asmspec.
1984 (finish_init): Don't update constructor_asmspec.
1985 * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
1986 * stmt.c (expand_asm): Duplicate strings from tree.
1987 (expand_asm_operands): Likewise.
1988 * tree.c (tree_size): Update computation of size of STRING_CST.
1989 (make_node): Don't make STRING_CST nodes.
1990 (build_string): Allocate string with tree node.
1991 * tree.def (STRING_CST): Update comment.
1992 * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
1993 (tree_string): Place contents of string in tree node.
1994 * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
1997 2004-02-05 Joseph S. Myers <jsm@polyomino.org.uk>
1999 * diagnostic.h (DEFINE_DIAGNOSTIC_KIND): Change parameter M to
2002 2004-02-05 Paul Brook <paul@codesourcery.com>
2004 Backport from mainline.
2006 2003-11-22 Phil Edwards <phil@codesourcery.com>
2009 * config/arm/arm.c (arm_output_mi_thunk): In Thumb mode, use
2010 'bx' instead of 'b' to avoid branch range restrictions. Output
2011 the thunk immediately before the thunked-to function.
2012 * config/arm/arm.h (ARM_DECLARE_FUNCTION_NAME): Do not emit
2013 .thumb_func if a thunk is being generated. Emit .code 16 along
2014 with .thumb_func if a thunk is not being generated.
2016 2003-11-05 Mark Mitchell <mark@codesourcery.com>
2018 * calls.c (initialize_argument_information): Add CALL_FROM_THUNK_P
2019 parameter. Use it instead of current_function_is_thunk.
2020 * function.h (struct function): Update documentation for is_thunk.
2021 * tree.h (CALL_FROM_THUNK_P): New macro.
2022 * config/alpha/alpha.c (alpha_sa_mask): Do not check
2023 no_new_pseudos when testing current_function_is_thunk.
2024 * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Likeiwse.
2026 2004-02-05 Joseph S. Myers <jsm@polyomino.org.uk>
2028 * sourcebuild.texi (Test Idioms): Update testcase naming
2031 2004-02-04 Per Bothner <per@bothner.com>
2033 Partially revert/redo 2003-10-01 change; fix -fworking-directory.
2034 * c-ppoutput.c (pp_dir_change): New function.
2035 * c-common.h (pp_dir_change): New declaration.
2036 * cpplib.h (struct cpp_options): Remove working_directory field.
2037 * cppinit.c (cpp_find_main_file, cpp_push_main_file): Merge back to
2038 (cpp_read_main_file): as before 10-01. Call _cpp_stack_file.
2039 Don't handle -fworking_directory here, but in c_common_post_options.
2040 (read_original_directory): Don't back up when done.
2041 Don't clear no-longer used working_directory flag.
2042 * cpplib.h: Update declarations to match.
2043 * c-lex.c (cb_dir_change): Move to c-opts.c.
2044 (init_c_lex): Don't set dir_change callback here, since we want
2045 to set it even if flag_preprocess_only.
2046 * c-opts.c (cb_dir_change): Function moved from c-lex.c.
2047 (c_common_post_options): Set dir_change callback.
2048 Call pp_dir_change if approporiate.
2049 (finish_options): Don't call cpp_find_main_file here. Hence remove
2050 unneeded parameter and result. Do LC_RENAME for <built-in>.
2051 (c_common_post_options): Call cpp_read_main_file here instead.
2052 (c_common_init): Update accordingly.
2053 (push_command_line_include): Don't cpp_push_main_file.
2054 Do LC_RENAME rather than LC_LEASE to get back to main file.
2055 Compared to pre-10-01 version, inline cpp_rename_to_main_file.
2056 (c_common_parse_file): Call cpp_read_main_file for subsequent main
2057 files, but call finish_options for all files.
2058 * c-opts.c (sanitize_cpp_opts): Don't set cpp_opts->working_directory.
2059 * fix-header.c (read_scan_file): Call cpp_read_main_file instead of
2060 cpp_find_main_file + cpp_push_main_file.
2061 * c-lex.c (fe_file_change): Don't set main_input_filename here.
2062 * opts.c (handle_options): Only set main_input_filename first time.
2064 2004-02-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2066 * Makefile.in: Move target, host overrides after per-language
2069 * config/mips/t-iris5-as (FORCE_DEBUG_ADAFLAGS): Clear.
2070 (GNATLIBCFLAGS): Remove -g.
2072 2004-02-04 Eric Botcazou <ebotcazou@libertysurf.fr>
2074 * config/sparc/sparc.c (function_arg_pass_by_reference): Return 1
2075 for all modes whose size is greater than 8 bytes if ARCH32.
2076 (sparc_va_arg): Handle all modes whose size is greater than 8 bytes
2077 by reference if ARCH32.
2079 2004-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2081 * config/s390/s390.md ("*la_64" + peepholes, "reload_indi"): Move
2082 to before adddi3 insn patterns.
2083 ("*la_31" + peepholes, "*la_31_and", "*la_31_and_cc", "force_la_31",
2084 "reload_insi"): Move to before addsi3 insn patterns.
2086 2004-02-04 Kazu Hirata <kazu@cs.umass.edu>
2088 * doc/interface.texi, doc/tm.texi, doc/trouble.texi: Don't
2089 mention deprecated target macros.
2091 2004-02-03 Wolfgang Bangerth <bangerth@dealii.org>
2093 * doc/invoke.texi (x86 options): Fix spelling/wording.
2095 2004-02-03 Richard Sandiford <rsandifo@redhat.com>
2097 * config/mips/iris5.h (ASM_OUTPUT_ASCII): Use mips_output_ascii to
2098 put the original string in a comment.
2099 * config/mips/mips-protos.h (mips_output_ascii): Add prefix argument.
2100 * config/mips/mips.c (mips_output_ascii): Likewise.
2101 * config/mips/mips.h (ASM_OUTPUT_ASCII): Adjust accordingly.
2103 2004-02-03 Mark Mitchell <mark@codesourcery.com>
2106 * tree.h (enum tree_index): Add TI_PUBLIC, TI_PROTECTED, and
2108 (access_public_node): Redefine.
2109 (access_protected_node): Likewise.
2110 (access_private_node): Likewise.
2111 * tree.c (build_common_tree_nodes): Create access_public_node,
2112 access_protected_node, and access_private_node.
2114 2004-02-03 Alan Modra <amodra@bigpond.net.au>
2117 * config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Use ap
2120 2004-02-03 Kelley Cook <kcook@gcc.gnu.org>
2122 * opts.c (OPT_fwritable_strings): Deprecate -fwritable-strings.
2124 2004-02-03 Steven Bosscher <s.bosscher@student.tudelft.nl>
2126 * toplev.c: Fix broken checkin of 2003-12-30, again.
2128 2004-02-02 Eric Christopher <echristo@redhat.com>
2129 Zack Weinberg <zack@codesourcery.com>
2131 * c-opts.c (c_common_handle_option): Add -finput-charset.
2133 * cppcharset.c (_cpp_convert_input): New function.
2134 (_cpp_default_encoding): Ditto.
2135 * cpphash.h: Add prototypes for above.
2136 * cppfiles.c (read_file_guts): Use _cpp_convert_input.
2137 * cppinit.c (cpp_create_reader): Use _cpp_default_encoding
2138 for narrow execution and input character sets.
2139 * doc/cppopts.texi: Document -finput-charset.
2141 2004-02-02 Eric Botcazou <ebotcazou@libertysurf.fr>
2143 * doc/invoke.texi (SPARC options): Further improve.
2145 2004-02-02 Eric Botcazou <ebotcazou@libertysurf.fr>
2147 * config/sparc/sparc.c (function_arg_slotno): Align TImode
2148 arguments on a 16-byte boundary in the parameter array if ARCH64.
2149 Split handling of TFmode.
2151 2004-02-02 Eric Botcazou <ebotcazou@libertysurf.fr>
2153 * doc/invoke.texi (SPARC options): Document that -mflat is deprecated.
2155 2004-02-01 Eric Botcazou <ebotcazou@libertysurf.fr>
2157 * config/sparc/sol2-bi.h: Handle TARGET_CPU_ultrasparc3.
2158 (CPP_CPU_SPEC): Handle -mcpu=ultrasparc3.
2159 (ASM_CPU_SPEC): Likewise
2160 * config/sparc/sol2.h: Handle TARGET_CPU_ultrasparc3.
2161 (ASM_CPU_SPEC): Remove -mcpu=v8plus. Handle -mcpu=ultrasparc3.
2163 2004-02-01 Jan Hubicka <jh@suse.cz>
2166 * cgraph.c (cgraph_remove_node): Clear out saved/insns/arguments and
2168 * cgraphunit.c (cgraph_finalize_function): Clear out DECL_SAVED_INSNS
2169 for functions that will be only inlined.
2170 (cgraph_mark_function_to_output): Likewise.
2171 (cgraph_expand_function): Sanity check that DECL_DEFER_OUTPUT is clear;
2172 do not clear function body.
2173 * tree-optimize.c (clear_decl_rtl): Use decl_function_context.
2174 (tree_rest_of_compilation): Reorganize the logic releasing function
2175 body to use callgraph datastructure.
2177 2004-02-01 Richard Sandiford <rsandifo@redhat.com>
2179 * config/mips/mips.md (adddi3_internal_2): Remove superfluous %s.
2181 2004-01-31 Eric Botcazou <ebotcazou@libertysurf.fr>
2183 * doc/invoke.texi (SPARC options): Restructure and update.
2185 2004-01-31 Kazu Hirata <kazu@cs.umass.edu>
2187 * doc/invoke.texi: Follow spelling conventions.
2188 * doc/tm.texi: Likewise.
2190 2004-01-31 Kazu Hirata <kazu@cs.umass.edu>
2192 * doc/install.texi: Fix typos.
2193 * doc/invoke.texi: Likewise.
2195 2004-01-31 Ulrich Weigand <uweigand@de.ibm.com>
2197 * config/s390/s390.c (s390_decompose_address): Do not treat virtual
2198 registers as pointers.
2199 * config/s390/s390.md ("*la_31" second peephole2): Fix incorrect mode.
2201 2004-01-31 Jan Hubicka <jh@suse.cz>
2203 Revert the following patch until after AIX linker bug is fixed:
2205 * cgraph.c (cgraph_remove_node): Clear out saved/insns/arguments and
2207 * cgraphunit.c (cgraph_finalize_function): Clear out DECL_SAVED_INSNS
2208 for functions that will be only inlined.
2209 (cgraph_mark_function_to_output): Likewise.
2210 (cgraph_expand_function): Sanity check that DECL_DEFER_OUTPUT is clear;
2211 do not clear function body.
2212 * tree-optimize.c (clear_decl_rtl): Use decl_function_context.
2213 (tree_rest_of_compilation): Reorganize the logic releasing function
2214 body to use callgraph datastructure.
2216 2004-01-31 Kazu Hirata <kazu@cs.umass.edu>
2218 alloc-pool.c, alloc-pool.h, c-lex.c, c-pragma.h,
2219 tree-optimize.c, config/alpha/alpha.c, config/alpha/alpha.h,
2220 config/alpha/alpha.md, config/alpha/vms.h, config/arm/arm.h,
2221 config/arm/linux-elf.h, config/avr/avr.c, config/c4x/c4x.c,
2222 config/c4x/c4x.md, config/d30v/d30v.h,
2223 config/frv/frv-protos.h, config/frv/frv.c, config/frv/frv.h,
2224 config/frv/frv.md, config/frv/frvbegin.c, config/frv/frvend.c,
2225 config/i386/cygming.h, config/i386/djgpp.h,
2226 config/i386/emmintrin.h, config/i386/gthr-win32.c,
2227 config/i386/i386-interix.h, config/i386/i386-protos.h,
2228 config/i386/i386.c, config/i386/i386.h, config/i386/openbsd.h,
2229 config/i386/winnt.c, config/i386/xm-mingw32.h,
2230 config/i386/xmmintrin.h, config/ia64/ia64-protos.h,
2231 config/ia64/ia64.c, config/ia64/ia64.md, config/ip2k/ip2k.c,
2232 config/iq2000/iq2000-protos.h, config/iq2000/iq2000.c,
2233 config/iq2000/iq2000.md, config/m32r/m32r-protos.h,
2234 config/m32r/m32r.c, config/m32r/m32r.md, config/m68k/m68k.md,
2235 config/m68k/netbsd-elf.h, config/mcore/mcore-elf.h,
2236 config/mcore/mcore.c, config/mcore/mcore.h,
2237 config/mcore/mcore.md, config/mips/elf.h, config/mips/elf64.h,
2238 config/mips/iris5gas.h, config/mips/iris6.h,
2239 config/mips/iris6gas.h, config/mips/linux.h,
2240 config/mips/mips.md, config/mips/netbsd.h,
2241 config/mips/openbsd.h, config/mips/windiss.h,
2242 config/mn10300/mn10300.c, config/mn10300/mn10300.h,
2243 config/pdp11/pdp11.c, config/rs6000/aix.h,
2244 config/rs6000/altivec.h, config/rs6000/darwin.h,
2245 config/rs6000/xcoff.h, config/s390/s390-protos.h,
2246 config/s390/s390.c, config/s390/s390.h, config/s390/s390.md,
2247 config/sh/netbsd-elf.h, config/sh/sh.h, config/sh/vxworks.h,
2248 config/sparc/sol2.h, config/stormy16/stormy16.h: Update
2251 2004-01-30 Dara Hazeghi <dhazeghi@yahoo.com>
2254 * doc/install.texi: document --enable-__cxa_atexit option.
2255 * configure.ac: Disable __cxa_atexit if not supported.
2256 * configure: Regenerate.
2258 2004-01-30 Herman A.J. ten Brugge <hermantenbrugge@home.nl>
2261 * c4x.md: (movstrqi*) Use match_scratch instead of match_dup.
2262 Remove movstrqi_small because it conflicts with movstrqi_large.
2264 2004-01-30 Kelley Cook <kcook@gcc.gnu.org>
2266 * Makefile.in (abs_docdir, abs_srcdir): Define.
2267 (doc/%.dvi, doc/gccinstall.dvi): Use $(abs_docdir).
2269 2004-01-30 Ulrich Weigand <uweigand@de.ibm.com>
2271 PR optimization/12147
2272 * reload1.c (reload_reg_free_p): RELOAD_OTHER conflicts with
2273 RELOAD_FOR_OPADDR_ADDR.
2274 (reload_reg_reaches_end_p): RELOAD_FOR_OTHER_ADDRESS register
2275 might be reused as RELOAD_FOR_OPADDR_ADDR register.
2277 2004-01-30 Jan Hubicka <jh@suse.cz>
2279 * reload.c (get_secondary_mem): Fix updating of
2280 secondary_memlocs_elim_used.
2282 2004-01-30 Andrew Pinski <pinskia@physics.uc.edu>
2284 * toplev.c: Include alloc-pool.h.
2285 * Makefile.in (toplev.c): Update dependencies.
2287 2004-01-30 Eric Botcazou <ebotcazou@libertysurf.fr>
2289 * config/sparc/sparc.h: Update copyright.
2291 2004-01-30 Eric Botcazou <ebotcazou@libertysurf.fr>
2294 * varasm.c (const_hash_1) <STRING_CST>: Use the
2295 address to compute the hash value if flag_writable_strings.
2296 (compare_constant) <STRING_CST>: Compare the addresses
2297 if flag_writable_strings.
2298 (build_constant_desc): Do not copy the expression for a
2299 STRING_CST if flag_writable_strings.
2301 2004-01-30 Jan Hubicka <jh@suse.cz>
2304 * cgraph.c (cgraph_remove_node): Clear out saved/insns/arguments and
2306 * cgraphunit.c (cgraph_finalize_function): Clear out DECL_SAVED_INSNS
2307 for functions that will be only inlined.
2308 (cgraph_mark_function_to_output): Likewise.
2309 (cgraph_expand_function): Sanity check that DECL_DEFER_OUTPUT is clear;
2310 do not clear function body.
2311 * tree-optimize.c (clear_decl_rtl): Use decl_function_context.
2312 (tree_rest_of_compilation): Reorganize the logic releasing function
2313 body to use callgraph datastructure.
2315 * reload.c (secondary_memlocs_elim_used): New static variable.
2316 (get_secondary_mem): Update it.
2317 (find_reloads): Use it.
2319 * alias.c (reg_base_value): Turn into varray.
2320 (reg_base_value_size): Kill.
2321 (old_reg_base_value): New deletable varray.
2322 (alias_invariant_size): New variable.
2323 (REG_BASE_VALUE): Update to use varray.
2324 (find_base_value): Likewise.
2325 (record_set): Likewise.
2326 (record_base_value): Likewise.
2327 (memrefs_conflict_p): Likewise.
2328 (record_set): Likewise
2329 (record_base_value): Likewise.
2330 (memrefs_conflict_p): Use alias_invariant_size.
2331 (init_alias_analysis): Use varray; set alias_invariant_size;
2332 rescale other arrays to be sized by maxreg.
2333 (end_alias_analysis): Save reg_base_value; clear alias_invariant_size.
2335 * basic-block.h (PROP_POSTRELOAD): New macro.
2336 (CLEANUP_LOG_LINKS): New.
2337 * cfgcleanup.c (cleanup_cfg): Only PROP_LOG_LINKS when asked to.
2338 * toplev.c (rest_of_handle_life): Preserve LOG_LINKS trought cleanup_cfg.
2340 * alloc-pool.c: Include hashtab.h
2341 (alloc_pool_descriptor): New structure
2342 (alloc_pool_hash): New global variable.
2343 (hash_descriptor, eq_descriptor, alloc_pool_descriptor): New.
2344 (create_alloc_pool): Update statistics.
2345 (free_alloc_pool): Likewise.
2346 (pool_alloc): Likewise.
2347 (output_info): New structure
2348 (print_statistics, dump_alloc_pool_statistics): New function.
2349 * alloc-pool.h (alloc_pool_def): Turn name to be constant.
2350 (dump_alloc_pool_statistics): Declare.
2351 * toplev.c (finalize): Dump statistics.
2353 * varray.c: Include hashtab.h
2354 (varray_descriptor): New structure.
2355 (hash_descriptor, eq_descriptor, varray_descriptor,
2356 print_statistics): New static functions
2357 (varray_init, varray_grow): Update statistics
2358 (dump_varray_statistics): New function.
2359 * varray.h (dump_varray_statistics): Declare.
2360 * toplev.c (finalize): Call it.
2362 2004-01-30 Ulrich Weigand <uweigand@de.ibm.com>
2364 * configure.ac (gcc_cv_as_dwarf2_debug_line): Enable test for
2365 s390*-*-* targets by specifying a 'nop' insn.
2366 * configure: Regenerate.
2368 2004-01-30 Eric Botcazou <ebotcazou@libertysurf.fr>
2371 * config/sparc/sparc.md (movhi_lo_sum): Tighten predicates.
2373 2004-01-29 Bruce Korb <bkorb@gnu.org>
2375 * fixinc/inclhack.def(math_exception): bypass only for glibc.
2376 (matherr_decl): rename & relocate as exception_structure.
2377 This fix must precede the math_exception fix.
2378 * fixinc/fixincl.x: regen
2380 2004-01-29 Richard Henderson <rth@redhat.com>
2382 * c-parse.in (extension): Use itype.
2383 (SAVE_EXT_FLAGS): Don't allocate a tree.
2384 (RESTORE_EXT_FLAGS): Don't read a tree.
2386 2004-01-29 Giovanni Bajo <giovannibajo@gcc.gnu.org>
2388 * c-lex.c (c_lex): Rename to...
2389 (c_lex_with_flags): Add new parameter to get CPP flags.
2390 (c_lex): Thunk to c_lex_with_flags while keeping the old interface.
2391 * c-pragma.h (c_lex_with_flags): Declare.
2393 2004-01-29 Roger Sayle <roger@eyesopen.com>
2396 * tree.c (unsafe_for_reeval): Handle EXIT_BLOCK_EXPR nodes specially
2397 as their EXIT_BLOCK_LABELED_BLOCK operands can lead to unbounded
2400 2004-01-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2402 * pa.md: Change predicate of a peephole2 pattern from reg_or_0_operand
2403 to register_operand.
2405 2004-01-28 Zack Weinberg <zack@codesourcery.com>
2407 * config/ia64/ia64.md (fetchadd_acq_si, fetchadd_acq_di)
2408 (cmpxchg_acq_si, cmpxchg_acq_di): Exchange match_dup and
2409 match_operand expressions so that all match_dups appear
2410 lexically after their corresponding match_operands.
2412 2004-01-28 Zack Weinberg <zack@codesourcery.com>
2413 Jim Wilson <wilson@specifixinc.com>
2415 * config/ia64/ia64.c (ia64_split_tmode, ia64_split_tmode_move):
2416 Rewrite to use POST_INC/POST_DEC/POST_MODIFY instead of a
2418 (ia64_secondary_reload_class): Delete case GR_REGS.
2419 * config/ia64/ia64.md (movti, *movti_internal, movtf, *movtf_internal):
2420 Do not allocate a scratch register.
2421 (reload_inti, reload_outti, reload_intf, reload_outtf): Delete.
2423 2004-01-27 Zack Weinberg <zack@codesourcery.com>
2425 * ia64.c (ia64_function_arg): When placing HFAs in integer
2426 registers, do not special case the mode used for complex
2427 types. Do not advance int_regs until the current register
2430 2004-01-28 Jan Hubicka <jh@suse.cz>
2432 * function.c (allocate_struct_function): Do not initialize expr, emit
2434 (prepare_function_start): Do it here.
2435 * c-parse.in (maybe_type_qual): Do not produce line number notes.
2437 2004-01-28 Richard Sandiford <rsandifo@redhat.com>
2439 * config/fp-bit.c (pack_d): When using paired doubles to implement
2440 a long double, round the high part separately.
2441 (unpack_d): Fix the case in which the high part is a power of two
2442 and the low part is a nonzero value of the opposite sign.
2444 2004-01-27 Roger Sayle <roger@eyesopen.com>
2446 * config/pa/pa.c (emit_move_sequence): Check that operand1 is a
2447 CONST_INT before using INTVAL.
2449 2004-01-27 Ulrich Weigand <uweigand@de.ibm.com>
2451 * config/s390/s390.h (TARGET_DEFAULT): Default to !TARGET_BACKCHAIN.
2452 * config/s390/s390.c (s390_return_addr_rtx): Fail for all but current
2453 frame if !TARGET_BACKCHAIN.
2454 * config/s390/s390.md ("allocate_stack"): Use pattern only if
2456 * doc/invoke.texi (-mbackchain/-mno-backchain): Document new default.
2458 2004-01-27 Richard Sandiford <rsandifo@redhat.com>
2461 * except.c (init_eh): Use a 5-word __jbuf for __builtin_setjmp().
2463 2004-01-27 Bob Wilson <bob.wilson@acm.org>
2465 * config/xtensa/xtensa.c (xtensa_copy_incoming_a7): Remove SUBREG
2466 on CQImode and CHImode incoming arguments in register a7.
2467 (function_arg): Wrap BLKmode argument in register a7 in a PARALLEL.
2468 * config/xtensa/xtensa.h (BLOCK_REG_PADDING): Define.
2469 * config/xtensa/xtensa.md (movdi, movdf): Only call force_reg or
2470 xtensa_copy_incoming_a7 before reload.
2472 2004-01-27 Ian Lance Taylor <ian@wasabisystems.com>
2474 * config/arm/arm.c (output_return_instruction): Only restore IP
2475 into SP if frame_pointer_needed.
2477 2004-01-27 Eric Botcazou <ebotcazou@libertysurf.fr>
2479 * config/sparc/sparc.c (function_arg_pass_by_reference): Return 1
2480 for SCmode and DCmode if ARCH32.
2481 (sparc_va_arg): Handle SCmode and DCmode by reference if ARCH32.
2482 * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for TCmode
2484 (BASE_RETURN_VALUE_REG): Return 32 for all FP modes except TFmode
2486 (BASE_OUTGOING_VALUE_REG): Likewise.
2488 2004-01-27 Eric Botcazou <ebotcazou@libertysurf.fr>
2492 * config/sparc/sparc.h (CANNOT_CHANGE_MODE_CLASS): New.
2493 Forbid mode changes from SImode for lower FP regs if ARCH64.
2495 2004-01-27 Jakub Jelinek <jakub@redhat.com>
2497 * config/i386/i386.c (ix86_constant_alignment): Decrease alignment
2498 of long string literals from 32 bytes to sizeof (void *) when !-Os
2501 2004-01-27 Kaz Kojima <kkojima@gcc.gnu.org>
2503 PR optimization/13567
2504 * cse.c (cse_basic_block): Call cse_insn with a non-null
2505 libcall_insn for the last SET insn of a no-confilict block.
2507 2004-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2509 * system.h (CHAR_BITFIELD): Delete.
2510 (BOOL_BITFIELD): New.
2511 * c-decl.c (c_scope): Use BOOL_BITFIELD.
2512 * gengtype-lex.l: Recognize BOOL_BITFIELD instead of CHAR_BITFIELD.
2514 2004-01-26 J"orn Rennecke <joern.rennecke@superh.com>
2516 * doc/tm.texi: Insert some weasel words when LOAD_EXTEND_OP
2517 may or may not return non-NIL.
2518 * postreload.c (reload_cse_simplify_operands): In LOAD_EXTEND_OP code,
2519 check CANNOT_CHANGE_MODE_CLASS
2521 2004-01-26 Jeff Law <law@redhat.com>
2523 * doc/contrib.texi: Minor cleanup for Paolo Carlini's entry. Add
2524 acute accents for Petur Runolfsson's entry.
2527 2004-01-26 Eric Botcazou <ebotcazou@libertysurf.fr>
2529 Backport from mainline:
2531 2004-01-23 Eric Botcazou <ebotcazou@act-europe.fr>
2532 Olivier Hainque <hainque@act-europe.fr>
2534 * fold-const.c (fold_binary_op_with_conditional_arg): Only
2535 build a COMPOUND_EXPR if 'arg' is really a SAVE_EXPR.
2537 2004-01-26 Eric Botcazou <ebotcazou@libertysurf.fr>
2540 * config/sparc/sparc.c (function_arg_union_value): New function.
2541 (function_arg): Use it to deal with unions.
2542 (function_value): Likewise. Define 'regbase' only for ARCH64.
2543 Replace a conditional statement by a simpler one.
2545 2004-01-26 Richard Sandiford <rsandifo@redhat.com>
2547 * config/mips/mips.c (mips16_optimize_gp): Delete.
2548 (mips_reorg): Don't call it.
2550 2004-01-25 Richard Sandiford <rsandifo@redhat.com>
2552 * config/mips/mips.c (mips_offset_within_object_p): New function.
2553 (mips_symbolic_constant_p): Use it in the SYMBOL_SMALL_DATA and
2554 SYMBOL_CONSTANT_POOL cases. Also use it for SYMBOL_GENERAL if the
2555 ABI has 64-bit pointers and the object file only allows 32-bit symbols.
2557 2004-01-25 Eric Botcazou <ebotcazou@act-europe.fr>
2560 * cfgcleanup.c (try_optimize_cfg): Explicitly test against 0.
2562 2004-01-25 Richard Sandiford <rsandifo@redhat.com>
2564 * config/mips/mips-protos.h (mips_reg_mode_ok_for_base_p): Delete.
2565 (mips_regno_mode_ok_for_base_p): Declare.
2566 * config/mips/mips.h (ARG_POINTER_REGNUM): Renumber to 77.
2567 (FRAME_POINTER_REGNUM): Renumber to 78.
2568 (FIRST_PSEUDO_REGISTER): Update comment accordingly.
2569 (BASE_REG_P, GP_REG_OR_PSEUDO_STRICT_P): Delete.
2570 (GP_REG_OR_PSEUDO_NONSTRICT_P): Delete.
2571 (REGNO_MODE_OK_FOR_BASE_P): Use mips_regno_mode_ok_for_base_p.
2572 (REG_MODE_OK_FOR_BASE_P): Likewise.
2573 * config/mips/mips.c (mips_reg_names, mips_sw_reg_names): Change
2574 entry for 77 to "$arg" and entry for 78 to "$frame".
2575 (mips_regno_to_class): Map 77 and 78 to ALL_REGS.
2576 (mips_reg_mode_ok_for_base_p): Remove.
2577 (mips_regno_mode_ok_for_base_p): New function, derived from old
2578 BASE_REG_P macro. Don't enforce the mips16 stack pointer
2579 restrictions unless we're being strict.
2580 (mips_valid_base_register_p): Use mips_regno_mode_ok_for_base_p.
2582 2004-01-24 Kazu Hirata <kazu@cs.umass.edu>
2584 * doc/frontends.texi: Update copyright.
2585 * doc/gcov.texi: Likewise.
2586 * doc/gty.texi: Likewise.
2587 * doc/sourcebuild.texi: Likewise.
2589 2004-01-24 Kazu Hirata <kazu@cs.umass.edu>
2591 * config/h8300/coff.h: Update copyright.
2592 * config/h8300/elf.h: Likewise.
2593 * config/h8300/h8300-protos.h: Likewise.
2594 * config/h8300/h8300.c: Likewise.
2595 * config/h8300/h8300.h: Likewise.
2596 * config/h8300/h8300.md: Likewise.
2598 2004-01-24 Hartmut Penner <hpenner@de.ibm.com>
2601 * config/rs6000/rs6000.md (movdf_hardfloat64): Do not disparage
2604 2004-01-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2606 PR optimization/12440
2607 * loop.c: Include ggc.h.
2608 (loop_optimize): Run garbage collector between optimization of loops.
2609 * Makefile.in (loop.o): Add GGC_H dependency.
2611 2004-01-24 Jakub Jelinek <jakub@redhat.com>
2613 * simplify-rtx.c (simplify_relational_operation): Don't
2614 simplify address == constant into address + -constant == 0.
2616 2004-01-24 Kazu Hirata <kazu@cs.umass.edu>
2618 * gcc.c (process_command): Don't internationalize the
2620 * mips-tfile.c (main): Likewise.
2622 2004-01-23 Kazu Hirata <kazu@cs.umass.edu>
2624 * recog.c: Fix a typo in copyright.
2626 2004-01-23 Kazu Hirata <kazu@cs.umass.edu>
2628 * alias.c, basic-block.h, c-common.c, c-common.h,
2629 c-cppbuiltin.c, c-pragma.c, c-pretty-print.c, c-semantics.c,
2630 calls.c, cfg.c, cfgcleanup.c, cfgrtl.c, cgraph.h, collect2.c,
2631 combine.c, cppcharset.c, cpptrad.c, cse.c, cselib.c, cselib.h,
2632 defaults.h, df.c, dominance.c, et-forest.c, expmed.c, expr.c,
2633 expr.h, fold-const.c, function.h, gcc.c, gcse.c, genattrtab.c,
2634 genautomata.c, genconditions.c, genflags.c, gengtype.c,
2635 genopinit.c, genrecog.c, gensupport.c, ggc-zone.c, graph.c,
2636 haifa-sched.c, integrate.c, langhooks-def.h, langhooks.c,
2637 langhooks.h, local-alloc.c, optabs.c, optabs.h, postreload.c,
2638 ra.h, recog.c, reg-stack.c, regmove.c, reload.c, reorg.c,
2639 rtlanal.c, sched-deps.c, sched-ebb.c, sdbout.c, system.h,
2640 target.h, targhooks.c, toplev.h, tree-inline.c,
2641 unwind-dw2-fde.h, unwind-pe.h, unwind.h, varray.c, varray.h:
2644 2004-01-23 Bob Wilson <bob.wilson@acm.org>
2646 * config/xtensa/xtensa.c (xtensa_va_arg): Handle complex values as
2647 separate real and imaginary parts.
2648 * config/xtensa/xtensa.h (SPLIT_COMPLEX_ARGS): Define.
2650 2004-01-23 Richard Henderson <rth@redhat.com>
2653 * combine.c (SHIFT_COUNT_TRUNCATED): Provide default value.
2654 (simplify_comparison): Don't simplify (eq (zero_extract c 1 r) 0)
2655 if SHIFT_COUNT_TRUNCATED is set.
2657 2004-01-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2659 * fixinc/inclhack.def (alpha___extern_prefix): Renamed to ...
2660 (alpha___extern_prefix_sys_stat): ... this.
2661 Apply to <sys/mount.h>, too.
2662 Tweak to match more variations.
2663 * fixinc/tests/base/sys/stat.h: Adapt for new hackname.
2665 * fixinc/inclhack.def (alpha___extern_prefix,
2666 alpha___extern_prefix_standards): New hacks to obey
2667 __PRAGMA_EXTERN_PREFIX.
2668 * fixinc/tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: New
2670 * fixinc/tests/base/standards.h: Likewise.
2672 * fixincl/inclhack.def (alpha_pthread): Tweak to match more
2675 * fixinc/tests/base/pthread.h: Handle it.
2677 * fixinc/fixincl.x: Regenerate.
2679 2004-01-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2681 * fixinc/inclhack.def (bad_lval): Renamed to ...
2682 (alpha_bad_lval): ... this.
2684 Restrict to alpha*-dec-osf*.
2685 * fixinc/fixincl.x: Regenerate.
2686 * fixinc/tests/base/libgen.h: Remove, moving test ...
2687 * fixinc/tests/base/testing.h: ... here, reflecting new name.
2689 2004-01-23 Ian Lance Taylor <ian@wasabisystems.com>
2691 * doc/invoke.texi (Optimize Options): Note that --param arguments
2692 are subject to change without notice.
2694 2004-01-23 Zack Weinberg <zack@codesourcery.com>
2697 * c-decl.c (diagnose_mismatched_decls): Also discard a
2698 built-in if we encounter an old-style definition with the
2701 2004-01-23 Jakub Jelinek <jakub@redhat.com>
2703 * config.gcc (powerpc*-*): Clear $with_cpu or $with_tune if it was
2704 set to default{32,64}.
2706 2004-01-21 Jakub Jelinek <jakub@redhat.com>
2708 * config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR)
2709 [!__powerpc64__]: Corrected to handle kernels with changed ucontext.
2711 2003-11-30 Jan Hubicka <jh@suse.cz>
2713 * i386.c (ix86_emit_restore_regs_using_mov): Deal with large offsets.
2715 2004-01-23 Eric Botcazou <ebotcazou@libertysurf.fr>
2717 * config/sparc/sparc.c (scan_record_type): New function.
2718 (function_arg_slotno): Use it to determine which kinds of
2719 registers the record can be passed in.
2721 2004-01-22 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2723 * configure.ac (enable_werror): Fixed typo.
2724 * configure: Regenerate.
2726 2004-01-22 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2728 * config.gcc (mips-sgi-irix6*o32): Removed.
2729 * config/mips/iris6-o32-as.h: Likewise.
2730 * config/mips/iris6-o32-gas.h: Likewise.
2731 * config/mips/iris6-o32.h: Likewise.
2733 2004-01-22 Bob Wilson <bob.wilson@acm.org>
2735 * config/xtensa/xtensa.c (function_arg): Generalize logic so that it
2736 handles complex and vector modes.
2738 2004-01-22 Daniel Jacobowitz <drow@mvista.com>
2740 * c-semantics.c (genrtl_while_stmt, genrtl_do_stmt_1)
2741 (genrtl_for_stmt): Remove emit_nop calls.
2743 2004-01-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2747 * pa.md (movstrsi_prereload, movstrsi_postreload, movstrdi_prereload,
2748 movstrdi_postreload, clrstrsi_prereload, clrstrsi_postreload,
2749 clrstrdi_prereload, clrstrdi_postreload): Fix constraints.
2751 2004-01-22 Daniel Jacobowitz <drow@mvista.com>
2753 * config/arm/arm.c: Include "debug.h".
2754 (thumb_pushpop): Take two new arguments. Add some commentary.
2755 Output frame information when pushing.
2756 (thumb_exit, thumb_unexpanded_epilogue): Update calls to
2758 (thumb_output_function_prologue): Likewise. Accumulate a CFA
2759 offset, and pass it to thumb_pushpop. Output CFI information.
2760 (thumb_expand_prologue): Add some frame-related markers and notes.
2762 2004-01-22 Ulrich Weigand <uweigand@de.ibm.com>
2764 * config/s390/s390.c (s390_frame_info): Allow large frame sizes
2766 (s390_arg_frame_offset): Change return type to HOST_WIDE_INT.
2767 * config/s390/s390-protos.h (s390_arg_frame_offset): Likewise.
2769 2004-01-22 Kazu Hirata <kazu@cs.umass.edu>
2771 * doc/tm.texi (CASE_VECTOR_PC_RELATIVE): Mention that the
2772 macro need not be defined if jump-tables should contain
2773 relative addresses only when -fPIC or -fPIC is in effect.
2775 2004-01-22 Eric Botcazou <ebotcazou@libertysurf.fr>
2777 * config/sparc/sparc.c (function_arg_slotno): Use
2778 FLOAT_TYPE_P to detect FP fields in structures.
2779 (function_arg_record_value_1): Likewise.
2780 (function_arg_record_value_2): Likewise.
2782 2004-01-22 Eric Botcazou <ebotcazou@libertysurf.fr>
2785 * config/sparc/sparc.c (function_arg_record_value_3): Revert
2786 to 'word_mode' once the first slot has been filled.
2788 2004-01-22 Olivier Hainque <hainque@act-europe.fr>
2790 * config/sparc/sparc.c (function_arg_record_value_1): Fix
2791 computation of the number of integer registers required.
2793 2004-01-22 Hartmut Penner <hpenner@de.ibm.com>
2795 * gcc/config/rs6000/rs6000.c (function_arg) Handle
2796 vector register special in function without prototype.
2797 (function_arg_advance): Vector parameters get always
2798 GPRs allocated for the linux64 target.
2800 2004-01-21 Andrew Pinski <apinski@apple.com>
2803 * config/rs6000/rs6000.md (call_value): Force operand
2804 1 not operand 0 into a register.
2806 2004-01-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2808 * pa-protos.h: Update copyright.
2812 * fixinc/inclhack.def (hpux10_stdio_declarations, ultrix_const3,
2813 ultrix_locale, ultrix_stdlib, ultrix_strings, ultrix_sys_time,
2814 ultrix_unistd): New hacks.
2815 * fixinc/tests/base/stdio.h (HPUX10_STDIO_DECLARATIONS_CHECK,
2816 ULTRIX_CONST2_CHECK): Add checks.
2817 * fixinc/tests/base/stdlib.h (ULTRIX_STDLIB_CHECK): Likewise.
2818 * fixinc/tests/base/strings.h (ULTRIX_STRINGS2_CHECK): Likewise.
2819 * fixinc/tests/base/unistd.h (ULTRIX_UNISTD_CHECK): Likewise.
2820 * fixinc/tests/base/sys/time.h (ULTRIX_SYS_TIME_CHECK): Likewise.
2821 * fixinc/tests/base/locale.h: New file.
2822 * fixincl.x: Rebuilt.
2824 2004-01-21 Andreas Jaeger <aj@suse.de>
2825 Michael Matz <matz@suse.de>
2827 * doc/extend.texi (Extended Asm): Clarify memory clobber.
2829 2004-01-21 Zack Weinberg <zack@codesourcery.com>
2831 * c-decl.c (merge_decls): Kill different_binding_level and
2832 different_tu arguments; simplify throughout.
2833 (duplicate_decls): Likewise.
2834 (pushdecl, merge_translation_unit_decls): Update calls to
2837 2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
2840 * configure.ac: Delete definition and subsitution of docdir.
2841 Add info, man, srcman and srcinfo to target hooks. Create doc/
2843 * configure: Regenerate.
2844 * Makefile.in: Don't substitute docdir and delete all references
2846 (MAKEINFOFLAGS): Define.
2847 (stmp-docobjdir): Delete.
2848 (INFOFILES, MANFILES): Define.
2849 (info): Call lang.info, srcinfo and lang.srcinfo.
2850 (generated-manpages): Call lang.man, srcman and lang.srcman.
2851 (srcinfo, srcman): New rules to copy back files to source directory.
2852 (doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
2853 (install-man): Revamp rule.
2854 (clean): Update dvi directory.
2855 (distclean): Delete TAGS from front end directorys.
2856 (maintainer-clean): Delete all document files in source directory.
2858 objc/Make-lang.in (objc.man, objc.info): Dummy entries.
2859 (objc.srcman, objc.srcinfo): Likewise.
2861 2004-01-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2863 * Makefile.in (pretty-print.o): Depend on $(CONFIG_H) and
2865 (print-rtl1.o): Depend on $(SYSTEM_H).
2867 2004-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2869 * pa-protos.h (compute_frame_size): Use HOST_WIDE_INT for frame sizes.
2870 * pa.c (store_reg, store_reg_modify, load_reg, set_reg_plus_d):
2871 Likewise. Handle frames larger than 0x7fffffff on 64-bit ports.
2872 (emit_move_sequence): Check scratch_reg first in various if statements.
2873 Extend source simplification to handle all 64-bit CONST_INTs.
2874 (pa_output_function_prologue): Use HOST_WIDE_INT_PRINT_DEC for printing
2876 (hppa_expand_prologue, hppa_expand_epilogue): Use HOST_WIDE_INT for
2877 frame offset calculations.
2878 * pa.h (NEW_HP_ASSEMBLER): Add comment.
2879 (MAX_LEGIT_64BIT_CONST_INT, MIN_LEGIT_64BIT_CONST_INT,
2880 LEGITIMATE_64BIT_CONST_INT_P): Define.
2881 (LEGITIMATE_CONSTANT_P): Use LEGITIMATE_64BIT_CONST_INT_P. Treat
2882 any CONST_INT as legitimate during and after reload.
2883 (VAL_32_BITS_P, INT_32_BITS): Define.
2884 (LEGITIMIZE_RELOAD_ADDRESS): Handle large frame offsets.
2886 2004-01-21 Alan Modra <amodra@bigpond.net.au>
2888 * config/rs6000/sysv4.h (DWARF2_FRAME_REG_OUT): Define.
2889 * dwarf2out.c (output_cfi): Map regs using DWARF2_FRAME_REG_OUT.
2890 * doc/tm.texi (DWARF_FRAME_REGNUM, DWARF2_FRAME_REG_OUT): Document.
2892 2004-01-20 Geoffrey Keating <geoffk@apple.com>
2894 * alias.c (new_alias_set): Mark last_alias_set for PCH.
2895 (get_varargs_alias_set): Rename 'set' to 'varargs_set' and mark it
2897 (get_frame_alias_set): Likewise, except rename it to 'frame_set'.
2898 * config/rs6000/rs6000.c (rs6000_sr_alias_set): Mark for PCH.
2899 (get_TOC_alias_set): Mark 'set' for PCH.
2901 2004-01-20 Richard Sandiford <rsandifo@redhat.com>
2903 * config/mips/mips.c (mips_load_call_address): Make the call insn
2904 use $gp if it could be calling a lazy binding stub.
2906 2004-01-20 Denis Chertykov <denisc@overta.ru>
2909 * config/avr/avr.h (BASE_REG_CLASS): Don't permit to use X
2910 register as pointer after reload.
2912 2004-01-20 Eric Botcazou <ebotcazou@libertysurf.fr>
2915 * config/sparc/sparc.c (function_arg): Reorder the cases.
2917 2004-01-19 Kelley Cook <kcook@gcc.gnu.org>
2919 * Makefile.in (target_noncanonical, program_transform_name): Use
2920 immediate define instead of deferred.
2921 (GCC_INSTALL_NAME, GCC_TARGET_INSTALL_NAME, CPP_INSTALL_NAME,
2922 PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
2923 GCCBUG_INSTALL_NAME): Define via a immediate $(shell) instead of
2926 2004-01-19 Richard Henderson <rth@redhat.com>
2928 * config/alpha/alpha.c (aligned_memory_operand): Check MEM_ALIGN,
2929 don't check memory mode.
2930 (unaligned_memory_operand): Likewise.
2931 (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Don't
2932 abort for op0 not MEM.
2934 * config/alpha/alpha.c (alpha_expand_mov_nobwx): If the destination
2935 is not a reg, copy to a scratch first.
2936 (aligned_loadqi, aligned_loadhi, unaligned_loadqi, unaligned_loadhi,
2937 unaligned_loadqi_le, unaligned_loadqi_be, unaligned_loadhi_le,
2938 unaligned_loadhi_be): Expect op0 in DImode; don't SUBREG.
2939 (reload_inqi, reload_inhi): Fix mode of op0.
2940 (reload_inqi_help, reload_inhi_help, reload_outqi_help,
2941 reload_outhi_help): Likewise. Use define_insn_and_split.
2943 * config/alpha/alpha.md (call peepholes): Check for REG_NORETURN
2944 as well as $29 dead.
2946 2004-01-19 Eric Botcazou <ebotcazou@libertysurf.fr>
2948 * config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): New. Emit
2949 "tls_object" for thread-local objects.
2950 * config/sparc/sparc.c (sparc_elf_asm_named_section): Emit
2951 "#tls" for thread-local sections.
2952 * configure.ac (thread-local checks): Specify --fatal-warnings in
2953 every binutils-specific checks. For sparc*-*-*, test whether the
2954 OS is Solaris and the tools are native and act accordingly.
2955 * configure: Rebuild.
2957 2004-01-19 Jeff Law <law@redhat.com>
2959 * contrib.texi: Update Paolo Carlini's entry. New entries for
2960 Jerry Quinn and Petur Runolfsson.
2962 2004-01-19 Richard Henderson <rth@redhat.com>
2964 * alpha.h (HARD_REGNO_MODE_OK): Disallow SImode in FP regs.
2965 * alpha.md (UNSPEC_NT_LDA): Remove.
2966 (UNSPEC_CVTLQ, cvtlq): New.
2967 (extendsidi2_1): Rename from extendsidi2_nofix; remove f/f.
2968 (extendsidi2_fix): Remove.
2969 (extendsidi2 splitter): Use cvtlq.
2970 (extendsidi2 fp peepholes): Remove.
2971 (cvtql): Use SFmode instead of SImode.
2972 (fix_trunc?fsi): Update to match.
2973 (floatsisf2_ieee, floatsisf2, floatsidf2_ieee, floatsidf2): New.
2974 (movsi): Rename from movsi_nofix, remove f alternatives.
2975 (movsi_nt_vms): Similarly.
2976 (movsi_fix, movsi_nt_vms_fix): Remove.
2978 * alpha.c (alpha_expand_prologue): Use adddi3, not nt_lda.
2980 2004-01-19 Jan Hubicka <jh@suse.cz>
2982 * cgraph.c (cgraph_remove_node): Fix removal from linked list.
2983 * cgraphunit.c (cgraph_finalize_compilation_unit): Clear next_needed
2985 (cgraph_remove_unreachable_nodes): New function
2986 (cgraph_decide_inlining_of_small_function): Fix pasto.
2987 (cgraph_decide_inlining_incrementally): Fix pasto.
2988 (cgrpah_decide_inlining): Likewise; remove unreachable nodes.
2990 2004-01-18 Roger Sayle <roger@eyesopen.com>
2992 * builtins.c (expand_builtin_expect_jump): Fix thinko of reusing
2993 live "next" variable, which can lead to an infinite loop.
2995 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
2997 * final.c (final_scan_insn): Make non-static again.
2998 * output.h (final_scan_insn): Re-add prototype.
2999 * config/arc/arc.c (arc_output_function_epilogue): Add NULL
3000 to final_scan_insn call.
3001 * config/cris/cris.c (cris_target_asm_function_epilogue): Likewise.
3002 * config/mips/mips.c (mips_output_conditional_branch): Likewise.
3003 * config/pa/pa.c (output_lbranch, output_call): Likewise.
3004 * config/sh/sh.c (print_slot): Likewise.
3005 * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Likewise.
3006 (output_sibcall, sparc_flat_function_epilogue): Likewise.
3008 2004-01-18 Jan Hubicka <jh@suse.cz>
3010 * basic-block.h (try_redirect_by_replacing_jump): Declare.
3011 * cfgcleanup.c (try_optimize_cfg): Use it.
3012 * cfgrtl.c (try_redirect_by_replacing_jump): Export.
3013 (rtl_redirect_edge_and_branch, cfg_layout_redirect_edge_and_branch):
3015 (cfg_layout_merge_blocks): Use try_redirect_by_replacing_jump.
3017 2004-01-18 Andrew Pinski <pinskia@physics.uc.edu>
3019 * config/rs6000/altivec.h: Wrap C++ functions in extern "C++"
3022 * config/rs6000/rs6000.c (rs6000_special_round_type_align):
3023 Check for NULL in the chain and remove repeated code.
3025 2004-01-18 Jan Hubicka <jh@suse.cz>
3027 * coverage.c (checksum_string): Rename to ...
3028 (coverage_checksum_string): ... this one, Use crc32_string; recognize
3029 names containing random number and zero the number out in order to get
3032 2004-01-18 Richard Sandiford <rsandifo@redhat.com>
3034 * config/mips/mips.c (mips_got_alias_set): Mark for PCH.
3036 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk>
3038 * doc/c-tree.texi, doc/cpp.texi, doc/extend.texi,
3039 doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi,
3040 doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi,
3041 doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi,
3042 doc/trouble.texi: Remove trailing whitespace.
3044 2004-01-18 Richard Sandiford <rsandifo@redhat.com>
3047 * config/mips/mips.c: Include cfglayout.h.
3048 (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define.
3049 (mips_unspec_offset_high): Add temporary register argument.
3050 (mips_load_call_address): New function, split out from...
3051 (mips_expand_call): ...here.
3052 (mips_output_cplocal): New function.
3053 (mips_output_function_prologue, mips_output_function_epilogue): Use it.
3054 (mips_emit_loadgp): New function, split out from...
3055 (mips_expand_prologue): ...here.
3056 (mips_output_mi_thunk): New function.
3058 2004-01-17 Roger Sayle <roger@eyesopen.com>
3060 * builtins.c (expand_builtin_expect_jump): Fix mistake in my
3061 last patch. Use XEXP (x, 0) to get a LABEL_REF's CODE_LABEL.
3063 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
3065 * config/rs6000/rs6000.c (rs6000_special_round_type_align):
3066 Return type is unsigned int not int.
3067 * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
3070 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk>
3072 * doc/contrib.texi, doc/cppenv.texi, doc/extend.texi,
3073 doc/install.texi, doc/invoke.texi, doc/tm.texi: Consistently use
3074 "GNU/Linux" and "Microsoft Windows" terminology.
3076 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk>
3078 * doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
3079 doc/cppopts.texi, doc/extend.texi, doc/install.texi,
3080 doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
3081 doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
3082 @smallexample instead of @example.
3084 2004-01-17 Ziemowit Laski <zlaski@apple.com>
3086 * objc/objc-act.c (build_objc_method_call): Use target
3087 hooks instead of macros to determine if ..._stret
3088 dispatchers should be used (NeXT runtime only).
3090 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
3092 * rtl.h (emit_insn_before_sameloc, emit_jump_insn_before_sameloc)
3093 (emit_call_insn_before_sameloc, emit_insn_after_sameloc)
3094 (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): New
3096 * reload1.c (emit_reload_insns): Use them.
3097 * emit-rtl.c (emit_insn_before_sameloc, emit_insn_after_sameloc)
3098 (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): Check
3101 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
3103 * final.c (SEEN_BB, SEEN_NOTE, SEEN_EMITTED): Define.
3104 (final_scan_insn): Update to take an additional SEEN argument. Emit
3105 a line note after the prologue. Make static.
3106 (line_note_exists): Remove.
3107 (final): Don't initialize line_note_exists. Update call to
3109 * output.h (final_scan_insn): Remove prologue.
3110 * function.c (set_insn_locators): Update comment.
3111 (thread_prologue_and_epilogue_insns): Add a comment.
3113 2004-01-17 Joseph S. Myers <jsm@polyomino.org.uk>
3115 * doc/invoke.texi, doc/standards.texi: Point to 3.4 version of
3118 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
3121 * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
3123 * config/rs6000/rs6000.c (rs6000_special_round_type_align):
3125 * config/rs6000/linux64.h (ROUND_TYPE_ALIGN): Use it.
3126 * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Likewise.
3127 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Likewise.
3129 2004-01-17 Jan Hubicka <jh@suse.cz>
3131 * toplev.c (rest_of_handle_reorder_blocks): Fix pasto in previous
3134 * toplev.c (HAVE_conditional_execution): Provide default.
3135 (rest_of_handle_reorder_blocks): For conditional_execution target
3136 update liveness once after all transformations
3137 (rest_of_compilation): Do crossjumping before ce3.
3139 2004-01-17 J. Brobecker <brobecker@gnat.com>
3141 * dwarf2out.c (is_subrange_type): Renamed from is_ada_subrange_type().
3142 Remove checks for is_ada() and TREE_UNSIGNED.
3143 (subrange_type_die): Emit a byte_size attribute if the subrange
3144 type size is different from the base type size.
3145 (modified_type_die): Replace call to is_ada_subrange_type() by
3146 call to is_subrange_type().
3148 2004-01-16 Mark Mitchell <mark@codesourcery.com>
3150 * configure.ac: Do not do internal checking or -Werror by default.
3151 * configure: Regenerated.
3153 * doc/include/gcc-common.texi (DEVELOPMENT): @clear it.
3154 * version.c (version_string): Mark as prerelease.
3156 2004-01-16 Andrew Pinski <pinskia@physics.uc.edu>
3158 * config/sh/sh.c: Include ggc.h.
3160 2004-01-17 Jan Hubicka <jh@suse.cz>
3162 * c-common.c (c_estimate_num_insns_1): Handle builtin_constant_p and
3163 builtin_expect specially.
3164 * params.def (PARAM_MAX_INLINE_INSNS_AUTO): Set to 100.
3165 (PARAM_LARGE_FUNCTION_INSNS): Set to 3000.
3166 * invoke.texi (max-inline-insns-single): Set to 100.
3167 (large-function-insns): Set to 3000.
3169 2004-01-16 Jan Hubicka <jh@suse.cz>
3171 * i386.md (load_tp_di): Fix pasto.
3174 * i386.c (ix86_compute_frame_layout): Fix for alloca on leaf function.
3176 * c-pretty-print.c (pp_c_type_cast, pp_c_abstract_declarator,
3177 pp_c_character_constant, pp_c_floating_constant,
3178 pp_c_additive_expression, pp_c_shift_expression,
3179 pp_c_equality_expression, pp_c_and_expression,
3180 pp_c_exclusive_or_expression, pp_c_inclusive_or_expression,
3181 pp_c_logical_and_expression): Remove inline modifier.
3182 * dwarf2out.c (get_AT): Likewise.
3183 * et-forest.c (et_splay): Likewise.
3184 * ra.h (ra_alloc, ra_calloc): Likewise
3186 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
3188 * config/frv/frv-protos.h: Fix comment formatting.
3189 * config/frv/frv.c: Likewise.
3190 * config/frv/frv.h: Likewise.
3191 * config/frv/frv.md: Likewise.
3192 * config/frv/frvbegin.c: Likewise.
3193 * config/frv/frvend.c: Likewise.
3195 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
3197 * system.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Poison.
3198 * doc/tm.texi (PREFERRED_DEBUGGING_TYPE): Don't mention
3199 LINKER_DOES_NOT_WORK_WITH_DWARF2.
3200 (LINKER_DOES_NOT_WORK_WITH_DWARF2): Remove.
3202 2004-01-16 J"orn Rennecke <joern.rennecke@superh.com>
3205 * postreload.c (reload_cse_simplify_operands): Don't remove
3206 implicit extension from LOAD_EXTEND_OP.
3208 2004-01-16 Jan Hubicka <jh@suse.cz>
3211 * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal
3213 * cfgrtl.c (rtl_can_merge_blocks, cfglayout_can_merge_blocks,
3214 rtl_try_redirect_by_replacing_branch): Likewise.
3216 2004-01-15 Geoffrey Keating <geoffk@apple.com>
3219 * alias.c (struct alias_set_entry): Mark for GC.
3220 (alias_sets): Make static, mark for GC.
3221 (record_alias_subset): Use GC to allocate alias structures.
3222 * varray.c (element): Make generic varrays GCed.
3225 * c-typeck.c (constructor_asmspec): Delete.
3226 (struct initializer_stack): Delete field 'asmspec'.
3227 (start_init): Delete saving of asmspec.
3228 (finish_init): Don't update constructor_asmspec.
3229 * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
3230 * stmt.c (expand_asm): Duplicate strings from tree.
3231 (expand_asm_operands): Likewise.
3232 * tree.c (tree_size): Update computation of size of STRING_CST.
3233 (make_node): Don't make STRING_CST nodes.
3234 (build_string): Allocate string with tree node.
3235 * tree.def (STRING_CST): Update comment.
3236 * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
3237 (tree_string): Place contents of string in tree node.
3238 * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
3241 * config/rs6000/rs6000.c (rs6000_va_arg): No need to special-case
3244 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
3246 * c-common.h: Fix comment formatting.
3247 * c-cppbuiltin.c: Likewise.
3248 * c-pragma.c: Likewise.
3249 * calls.c: Likewise.
3250 * collect2.c: Likewise.
3251 * cppcharset.c: Likewise.
3252 * cpptrad.c: Likewise.
3253 * dbxout.c: Likewise.
3254 * defaults.h: Likewise.
3255 * dwarf2out.c: Likewise.
3256 * fold-const.c: Likewise.
3257 * genautomata.c: Likewise.
3258 * genconditions.c: Likewise.
3259 * genflags.c: Likewise.
3260 * gengtype.c: Likewise.
3261 * integrate.c: Likewise.
3263 * predict.c: Likewise.
3264 * sdbout.c: Likewise.
3266 2004-01-15 Zack Weinberg <zack@codesourcery.com>
3268 * config/ia64/ia64.md (*movti_internal): C output template
3269 extracted to ia64.c.
3270 (*movti_internal_reg): Delete.
3271 (reload_inti, reload_outti): Use the correct mode on operand 2
3272 in the first place, don't fix it up in the output template.
3273 (movtf, reload_ointf, reload_outtf): New expanders.
3274 (*movtf_internal): New define_insn_and_split.
3275 * config/ia64/ia64.c (ia64_split_timode): Rename to ia64_split_tmode;
3276 make static; do not hand TFmode CONST_DOUBLEs to split_double.
3277 (ia64_split_tmode_move): New function, body mostly pulled
3278 from ia64.md:*movti_internal.
3279 (ia64_function_arg_words): New function, extracted common
3280 logic from ia64_function_arg et seq.
3281 (ia64_function_arg_offset): Likewise. Handle correctly the
3282 case of a scalar quantity 16 bytes wide with only 8-byte alignment.
3283 (ia64_function_arg, ia64_function_arg_partial_nregs)
3284 (ia64_function_arg_advance): Use ia64_function_arg_words and
3285 ia64_function_arg_offset.
3286 (ia64_function_value): TCmode does not go in float regs.
3287 (ia64_secondary_reload_class): Also handle TFmode.
3288 * config/ia64/ia64-protos.h: Remove prototype for
3289 ia64_split_timode; add prototype for ia64_split_tmode_move.
3291 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
3293 * Makefile.in (MAINT): Make it an immediate assignment.
3295 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
3297 * config/m32r/m32r.md: Remove useless calls to gen_lowpart.
3299 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
3301 * config/h8300/coff.h: Replace Hitachi with Renesas.
3302 * config/h8300/elf.h: Likewise.
3303 * config/h8300/h8300-protos.h: Likewise.
3304 * config/h8300/h8300.c: Likewise.
3305 * config/h8300/h8300.h: Likewise.
3306 * config/h8300/h8300.md: Likewise.
3307 * config/h8300/lib1funcs.asm: Likewise.
3309 2004-01-15 Andrew Pinski <apinski@apple.com>
3311 * config/rs6000/rs6000.c (uses_TOC): Wrap #if TARGET_ELF
3314 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
3316 * config/h8300/h8300.c (h8300_return_in_memory): New.
3317 (TARGET_STRUCT_VALUE_RTX): Likewise.
3318 (TARGET_RETURN_IN_MEMORY): Likewise.
3319 * config/h8300/h8300.h (STRUCT_VALUE): Remove.
3320 (RETURN_IN_MEMORY): Likewise.
3322 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
3324 PR optimization/13375
3325 * gcse.c (handle_avail_expr): Just return if the source is not a
3328 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
3329 Daniel Jacobowitz <drow@mvista.com>
3331 * arm/lib1funcs.asm (ARM_FUNC_START): Correct interworking case.
3333 (ARM_FUNC_ALIAS): New macro.
3334 * arm/ieee754-df.S (gedf2, ledf2, nedf2, eqdf2): Use it.
3335 * arm/ieee754-sf.S (gesf2, lesf2, nesf2, eqsf2): Use it.
3337 2004-01-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3339 PR optimization/12372
3340 * calls.c (expand_call): Add call_fusage data for stack arguments in
3343 2004-01-15 Alan Modra <amodra@bigpond.net.au>
3345 * config/rs6000/rs6000.c (uses_TOC): Correct comment. Make static.
3346 (rs6000_elf_declare_function_name): Formatting.
3347 * config/rs6000/rs6000-protos.h (uses_TOC): Remove declaration.
3349 2004-01-15 Jan Hubicka <jh@suse.cz>
3352 * sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in
3355 2004-01-15 Richard Henderson <rth@redhat.com>
3357 * config/alpha/alpha.h (REG_ALLOC_ORDER): Reorder fp regs after
3358 integer regs of the same call-savedness.
3360 2004-01-15 Andreas Schwab <schwab@suse.de>
3363 * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
3364 status for NOTB/NOTW/NEGW methods.
3366 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
3368 * doc/invoke.texi: Update dump file names. Fix a typo.
3370 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
3372 * builtins.c (expand_builtin_va_end): Don't use
3373 EXPAND_BUILTIN_VA_END.
3374 * system.h (EXPAND_BUILTIN_VA_END): Poison.
3375 * config/d30v/d30v.h: Remove a commented-out definition of
3376 EXPAND_BUILTIN_VA_END.
3377 * config/stormy16/stormy16.h: Likewise.
3379 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
3381 * system.h (STRUCT_VALUE_INCOMING_REGNUM): Poison.
3382 * targhooks.c (default_struct_value_rtx): Don't use
3383 STRUCT_VALUE_INCOMING_REGNUM.
3385 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
3388 * configure.in: Revamp enable-generated-files-in-srcdir rule to define
3389 GENINSRC and not parsedir. Define srcextra as a langhook.
3390 * configure: Regenerate.
3391 * Makefile.in: Suppress default .l.c rule. Don't substitute
3392 parsedir and delete all references throughout. Conditionally define
3393 rule for srcextra dependent on GENINSRC.
3394 (stmp-docobjdir): Delete.
3395 (c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule.
3396 (srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c,
3397 and gengtype-yacc.h back to source directory.
3398 (maintainer-clean): Delete all parse files in source directory.
3399 (distclean): Delete generated files.
3401 * objc/Make-lang.in (objc-parse.o): Use implicit build rule.
3402 (objc-parse.c, objc-parse.y): Don't use parsedir.
3403 (objc.srcextra): Copy objc-parse.y and objc-parse.c back to source
3404 directory if requested.
3405 (po-generated): Don't use parsedir.
3406 (objc.maintainer-clean): Delete above files from source directory.
3408 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
3410 * doc/tm.texi (FUNCTION_VALUE): Fix a typo.
3412 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
3414 * doc/tm.texi: Replace RETURN_IN_MEMORY with
3415 TARGET_RETURN_IN_MEMORY.
3417 2004-01-15 Jan Hubicka <jh@suse.cz>
3419 * builtins.c (std_expand_builtin_va_arg): Align operand when needed.
3420 * i386.c (init_cumulative_args): Set warn_sse; fix handling of variadic
3421 functions accepting SSE arguments
3422 (function_arg): Warn only when asked to warn.
3423 * i386.h (ix86_args): Add warn_sse/warn_mmx fiels.
3425 2004-01-14 Joseph S. Myers <jsm@polyomino.org.uk>
3427 * c-parse.in (stmts_and_decls): Make label at end of compound
3428 statement a hard error.
3430 2004-01-14 Jan Hubicka <jh@suse.cz>
3432 * cgraph.c (create_edge): Use local.redefined_extern_inline.
3433 * cgraph.h (cgraph_local_info): Sort fields by size; add
3434 redefined_extern_inline
3435 (cgraph_global_info): Sort fields by size.
3436 (cgraph_node): Likewise.
3437 * cgraphunit.c (cgraph_finalize_function): Se
3438 local.redefined_extern_inline on redefinition.
3439 (cgraph_analyze_function): Use it; fix formating.
3441 2004-01-14 Jan Hubicka <jh@suse.cz>
3444 * sched-deps.c (trye_dependency_cache, anti_dependency_cache,
3445 outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of
3447 (cache_size): New variable
3448 (add_dependence): Update use; canonize early memory locations
3449 (sched_analyze_1): Likewise.
3450 (sched_analyze_2): Likewise.
3451 (init_dependency_caches): Initialize bitmaps.
3452 (free_dependency_caches): Free bitmaps
3454 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
3456 * calls.c: Replace STRICT_ARGUMENT_NAMING in comments with
3457 targetm.calls.strict_argument_naming().
3458 * target.h: Likewise.
3460 2004-01-14 Richard Henderson <rth@redhat.com>
3463 * dwarf2out.c (dwarf2out_stack_adjust): Skip prologue and epilogue
3466 2004-01-14 Richard Henderson <rth@redhat.com>
3469 * except.c (struct eh_region): Add u.fixup.resolved.
3470 (resolve_one_fixup_region): Split out from ...
3471 (resolve_fixup_regions): ... here.
3473 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
3475 * config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0.
3477 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
3479 * config/alpha/alpha.h (STRUCT_VALUE): Remove.
3480 * config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef.
3481 (STRUCT_VALUE): Remove.
3483 2003-01-14 Steven Bosscher <stevenb@suse.de>
3485 * system.h: Poison PROMOTED_MODE
3486 * integrate.c (expand_inline_function): Don't mention the
3488 * loop.c (update_giv_derive): Same.
3489 * tree.h (DECL_RTL): Same.
3491 2004-01-14 J"orn Rennecke <joern.rennecke@superh.com>
3494 * sh.c (gen_block_redirect): Add special handling of RETURN.
3495 (gen_far_branch) Don't call gen_stuff_delay_slot if there is no
3496 far branch target (i.e. it's a return).
3498 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
3500 * regrename.c (find_oldest_value_reg): Fix a warning.
3502 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
3505 * config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file.
3506 Move linux-gas.h and linux-elf.h before aout.h.
3507 * arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already.
3508 * arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define.
3510 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
3512 * config/m32r/m32r.md: Use GEN_INT instead of gen_rtx
3513 (CONST_INT, VOIDmode, ...).
3515 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
3517 * regrename.c (find_oldest_value_reg): If the replacement uses
3518 multiple hard registers, check that all of them are in CLASS.
3520 2004-01-14 Jan Hubicka <jh@suse.cz>
3522 * alias.c (get_alias_set): Initialize alias set to 0 when subset is
3525 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
3527 * Makefile.in: Define MAINT from --enable-maintainer-mode.
3529 2004-01-14 Hartmut Penner <hpenner@de.ibm.com>
3531 * gcc/config/rs6000/rs6000.c (rs6000_stack_info)
3532 Calculate always vrsave_mask if TARGET_ALTIVEC.
3533 (rs6000_emit_prologue): Emit code for vrsave
3534 only if TARGET_ALTIVEC_VRSAVE.
3535 (rs6000_emit_epilogue): Likewise.
3537 2004-01-14 Eric Botcazou <ebotcazou@libertysurf.fr>
3539 * config/sparc/sparc.md (tie_add32): Fix pasto.
3540 (tie_add64): Likewise.
3542 2004-01-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3544 * config/i386/i386.md (*addqi_1_slp): Do not access operands[2].
3546 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
3548 * config/iq2000/iq2000-protos.h: Fix comment formatting.
3549 * config/iq2000/iq2000.c: Likewise.
3550 * config/iq2000/iq2000.md: Likewise.
3552 2004-01-14 J. Brobecker <brobecker@gnat.com>
3554 * dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
3555 (subrange_type_die): Add handle for nameless subrange types.
3557 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
3559 * config/h8300/h8300-protos.h: Replace do_movsi with
3561 * config/h8300/h8300.c (do_movsi): Change to
3563 * config/h8300/h8300.md (movsi): Replace do_movsi with
3567 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
3569 * config/h8300/h8300.c (dosize): Change to
3570 h8300_emit_stack_adjustment. Update callers.
3572 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
3574 * config/h8300/h8300.md (movstrictqi): Add an alternative with
3575 the source being post_inc. Tighten the predicate for the
3576 destination to register_operand.
3577 (movstricthi): Likewise.
3579 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
3581 * system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
3582 * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP.
3583 * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove.
3585 2004-01-14 Jan Hubicka <jh@suse.cz>
3587 Partial fix PR c++/12850
3588 * cgraphunit.c (cgraph_finalize_function): Always ggc_collect when
3591 2004-01-13 Bernardo Innocenti <bernie@develer.com>
3593 * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
3596 2004-01-13 Devang Patel <dpatel@apple.com
3599 * dbxout.c (dbxout_symbol_name): Emit mangled names for
3600 NAMESPACE_DECL memebers.
3602 2004-01-13 Andrew Pinski <pinskia@physics.uc.edu>
3605 * c-common.c (finish_fname_decls): Use the chain only if the
3606 tree is an expr_stmt.
3608 2004-01-13 Vladimir Makarov <vmakarov@redhat.com>
3610 * rtl.def: Add comment about new option in automata_option.
3612 * genautomata.c (PROGRESS_OPTION): New macro.
3613 (progress_flag): New global variable.
3614 (gen_automata_option): Process `progress'.
3615 (transform_insn_regexps, check_unit_distributions_to_automata,
3616 make_automaton, NDFA_to_DFA, build_automaton, create_automata,
3617 expand_automata, write_automata): Print about the progress only if
3618 progress_flag. Remove fflush.
3619 (initiate_automaton_gen): Process command line flag `-progress'.
3621 * doc/md.texi: Describe the new option.
3623 2004-01-13 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3625 * cfg.c (dump_bb): Dump entry edges.
3627 2004-01-13 Richard Earnshaw <rearnsha@arm.com>
3629 * arm.c (thumb_legitimate_address_p): Only allow constant pool
3630 references from SImode.
3631 * arm.md (thumb_movhi_insn): Don't allow minipool references.
3633 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
3635 * system.h (TEXT_SECTION): Poison.
3636 * varasm.c (text_section): Don't use TEXT_SECTION.
3637 * config/sh/sh.c (sh_file_start): Fix a comment typo.
3638 * doc/tm.texi (TEXT_SECTION): Remove.
3640 2004-01-13 Ben Elliston <bje@wasabisystems.com>
3642 * doc/rtl.texi (Vector Operations): Remove defunct vec_const item.
3644 2004-01-12 James E Wilson <wilson@specifixinc.com>
3646 * unwind-libunwind.c: Delete.
3648 2004-01-12 Zack Weinberg <zack@codesourcery.com>
3651 * c-decl.c (diagnose_mismatched_decls): Whenever newtype or
3652 oldtype is set, set *newtypep or *oldtypep too. Do not set
3653 them at the very end.
3654 (validate_proto_after_old_defn): Restructure for comprehensibility;
3655 make error messages clearer.
3657 2004-01-12 Zack Weinberg <zack@codesourcery.com>
3659 * varray.h (VARRAY_POP): Add checking variant, aborts on underflow.
3660 (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked.
3661 * varray.c: No need to prototype error.
3662 (varray_check_failed): Wrap long string onto two lines.
3663 (varray_underflow): New function.
3665 2004-01-13 Steven Bosscher <stevenb@suse.de>
3668 * function.h (struct function): Kill `name' field.
3669 (current_function_name): Make it an extern function.
3670 * function.c (current_function_name): New function.
3671 * graph.c: Update all uses of current_function_name.
3673 * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
3674 config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
3675 * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
3676 instead of a strcmp with "main".
3678 2004-01-13 Jan Hubicka <jh@suse.cz>
3680 * c-decl.c (diagnose_mismatched_decls): Fix warning calls.
3682 * cgraphunit.c (cgraph_optimize_function): Always do
3683 optimize_inline_calls when there is always_inline callee.
3684 (cgraph_decide_inlining): Fix formating.
3685 * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
3687 (expand_call_inline): Likewise.
3688 * toplev.h (sorry): Fix prototype.
3690 2004-01-12 Roger Sayle <roger@eyesopen.com>
3692 * builtins.c (expand_builtin_expect_jump): Simplify logic. Handle
3693 conditional jumps that drop through to unconditional jumps or the
3694 end of the sequence.
3696 2004-01-13 Jan Hubicka <jh@suse.cz>
3698 * alias.c (new_alias_set): Construct the alias_set varray.
3699 (init_alias_once): Don't do it here.
3701 2004-01-12 Marc Espie <espie@openbsd.org>
3703 * system.h: handle YYBYACC like YYBISON.
3705 2004-01-12 Jonathan Merriman <jonm@dualitymedia.com>
3708 * config.gcc: No longer includes conflicting header sparc/sol2.h when
3709 building on sparc64-*-openbsd*.
3711 2004-01-12 Andrew Pinski <pinskia@physics.uc.edu>
3714 * dbxout.c (dbxout_type): Protected inheritance is not
3715 private but protected.
3717 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
3719 * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.
3721 2004-01-12 Kazu Hirata <kazu@cs.umass.edu>
3723 PR optimization/12508.
3724 * combine.c (try_combine): Remove a dead set in a parallel
3725 even if its destination is a subreg.
3728 2003-06-03 Kazu Hirata <kazu@cs.umass.edu>
3729 * combine.c (simplify_set): Don't move a subreg in SET_SRC to
3730 SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
3732 2004-01-12 Geoffrey Keating <geoffk@apple.com>
3734 * real.c: Update copyright date.
3735 * emit-rtl.c: Likewise.
3737 * dwarf2out.c: Likewise.
3738 * config/rs6000/darwin-ldouble.c: Likewise.
3739 * config/rs6000/rs6000.md: Likewise.
3741 2004-01-12 David Edelsohn <edelsohn@gnu.org>
3743 * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
3744 TFmode to SImode libfuncs.
3746 2004-01-12 Roger Sayle <roger@eyesopen.com>
3749 * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
3751 2004-01-12 Jan Hubicka <jh@suse.cz>
3754 * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
3758 * cfgcleanup.c (label_is_jump_target_p): Move to...
3759 * rtlanal.c (label_is_jump_target_p): ... here.
3760 * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Fix redirecting of fallthru
3761 edges unified with branch edges.
3763 2004-01-12 Richard Earnshaw <rearnsha@arm.com>
3765 * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
3766 high word of an integral CONST_DOUBLE.
3768 2004-01-12 Paul Brook <paul@codesourcery.com>
3770 * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
3772 2004-01-12 J"orn Rennecke <joern.rennecke@superh.com>
3775 * sh-protos.h (check_use_sfunc_addr): Declare.
3776 * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
3777 * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
3779 2004-01-12 Jan Hubicka <jh@suse.cz>
3781 * alias.c: Invlude varray.h
3782 (alias_sets): Turn into varray.
3783 (get_alias_set_entry): Use VARRAY; mark inline.
3784 (mems_in_disjoint_alias_sets_p): Mark inline.
3785 (record_alias_subset): Use varray.
3786 (init_alias_once): Initialize varray.
3787 (new_alias_set): Grow array.
3788 * varray.c: Make VARRAY_GENERIC_PTR non GTYized.
3790 2004-01-12 Jan Hubicka <jh@suse.cz>
3792 Partial fix for PR opt/10776 II
3793 * cselib.c: Include params.h
3794 (cselib_invalidate_mem): Limit amount of nonconflicting memory
3796 * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
3797 * Makefile.in (cselib.o): Depend on params.h
3799 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
3801 * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
3802 simplify_unary_operation if the operand has a known mode.
3804 2004-01-12 Hartmut Penner <hpenner@de.ibm.com>
3807 * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
3808 predicate to handle 'ld' conform addresses.
3809 * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
3811 (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
3812 are memory contraints.
3813 * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
3815 * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
3816 Change 'o' to 'Y' constraint.
3817 (*movdf_softfloat64): Ditto.
3819 2004-01-12 Bernardo Innocenti <bernie@develer.com>
3821 * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
3822 brace-enclosed syntax in all C output statements.
3824 2004-01-12 David Edelsohn <edelsohn@gnu.org>
3827 * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
3828 Objective-C language type value is 14.
3830 2004-01-12 Markus F.X.J. Oberhumer <markus@oberhumer.com>
3833 * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
3834 `int' in a number of places to make sure we always have a SImode
3835 and not a HImode. Add a 'L' suffix to a number of constants.
3837 2004-01-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3839 * pa.c: Don't include obstack.h.
3841 * pa.md: Correct constraint in pattern for loading PIC label address.
3843 2004-01-11 Kaz Kojima <kkojima@gcc.gnu.org>
3845 * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
3848 2004-01-11 Steven Bosscher <stevenb@suse.de>
3851 * toplev.c (rest_of_handle_inline): Also consider functions
3852 for deferral if the language is GNU F77.
3854 2004-01-11 Zack Weinberg <zack@codesourcery.com>
3856 * c-decl.c (diagnose_arglist_conflict): Add missing space to
3857 diagnostic messages.
3859 2004-01-11 Jakub Jelinek <jakub@redhat.com>
3862 * builtins.c (expand_builtin_expect_jump): Handle conditional jumps
3863 to drop through label. Don't fall back to SCC even when conditional
3864 jump has not been found.
3866 2004-01-11 Jan Hubicka <jh@suse.cz>
3868 * invoke.texi: Fix syntax error in previous patch.
3870 Partial fix for PR opt/10776
3871 * Makefile.in (reload.o): Include param.h
3872 * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter.
3873 * reload.c: Include params.h.
3874 (find_equiv_reg): Work limiting check.
3875 * invoke.texi: Document.
3877 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
3879 * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
3880 out-of-bounds accesses to string constants. Simplify mips16
3883 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
3885 PR optimization/13469
3886 * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
3887 reload_cse_regs (-fnon-call-exceptions only).
3889 2004-01-11 Kazu Hirata <kazu@cs.umass.edu>
3891 * config/mcore/lib1.asm: Fix comment formatting.
3892 * config/mcore/mcore-elf.h: Likewise.
3893 * config/mcore/mcore.c: Likewise.
3894 * config/mcore/mcore.h: Likewise.
3895 * config/mcore/mcore.md: Likewise.
3897 2004-01-10 Zack Weinberg <zack@codesourcery.com>
3899 * c-decl.c (duplicate_decls): Break apart into...
3900 (diagnose_arglist_conflict, validate_proto_after_old_defn)
3901 (locate_old_defn, diagnose_mismatched_decls, merge_decls):
3902 ... these new functions. Restructure for comprehensibility.
3903 Remove various archaic special cases. Always report the
3904 location of the previous declaration when a diagnostic is issued.
3905 (redeclaration_error_message): Fold into diagnose_mismatched_decls.
3906 (match_builtin_function_types): Delete unnecessary forward declaration.
3908 2004-01-10 Zack Weinberg <zack@codesourcery.com>
3910 * genautomata.c (make_automaton, NDFA_to_DFA):
3911 Print progress bars with '.' characters instead of '*'.
3912 (build_automaton): Change notes to match.
3914 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
3916 * config/m32r/m32r.md: Use define_constants for unspec and
3919 2004-01-10 Jan Hubicka <jh@suse.cz>
3922 * expr.c (expand_expr_real): More curefully expand union casts.
3924 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
3926 * config/m32r/m32r.md (flush_icache): Use 1 for
3929 2004-01-10 David Edelsohn <edelsohn@gnu.org>
3930 James E Wilson <wilson@specifixinc.com>
3933 * dbxout.c (dbxout_symbol): Remove initialization of
3934 current_sym_code, current_sym_value, and current_sym_addr.
3935 (dbxout_symbol_location): Same.
3936 (dbxout_prepare_symbol): Zero current_sym_code,
3937 current_sym_value, and current_sym_addr.
3939 2004-01-10 Richard Sandiford <rsandifo@redhat.com>
3941 * tree.c (get_unwidened): Reorder conditions so that the null pointer
3942 check is done first.
3944 2004-01-09 Eric Christopher <echristo@redhat.com>
3946 * toplev.c (rest_of_handle_cfg): Add reg_scan pass
3947 if we're running mark_constant_function.
3949 2004-01-09 Jeff Bailey <jbailey@nisa.net>
3952 * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
3954 2004-01-09 Andrew Pinski <pinskia@physics.uc.edu>
3957 * dbxout.c (dbxout_type_fields): Return if any item is
3958 error_mark_node or the type is error_mark_node.
3960 2004-01-09 Geoffrey Keating <geoffk@apple.com>
3962 * config/rs6000/darwin-ldouble.c: Add big comment explaining
3963 exactly what is expected as a 'long double'.
3964 (_xlqadd): When a value to be returned is representable as a
3965 'double', just return it directly, do not construct it using a union.
3966 Also, correct final fixup.
3967 (_xlqmul): Likewise.
3968 (_xlqdiv): Likewise.
3969 * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.
3971 * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
3973 2004-01-09 Richard Henderson <rth@redhat.com>
3975 * recog.c (constrain_operands): Validate mem operands.
3977 2004-01-09 James E Wilson <wilson@specifixinc.com>
3979 * gcc.c (init_spec): Remove -lunwind from shared case.
3980 * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
3982 2004-01-09 Steve Ellcey <sje@cup.hp.com>
3984 * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
3985 * configure: Regenerate
3987 2004-01-09 Joseph S. Myers <jsm@polyomino.org.uk>
3990 * c-typeck.c (build_c_cast): If pedantic, warn for conversions
3991 between function and object pointers.
3992 (digest_init): When comparing a pointer to function type to the
3993 target type, only apply TREE_TYPE once to the pointer to function
3995 * except.c (for_each_eh_label_1): Treat data as a pointer to a
3996 function pointer rather than casting it to a function pointer.
3997 (for_each_eh_label): Update caller.
3998 * recog.h (struct insn_data): Use a struct or union for output.
3999 * genoutput.c (output_insn_data): Update.
4000 * final.c (get_insn_template): Update.
4002 2004-01-09 Mark Mitchell <mark@codesourcery.com>
4004 * expr.h (expand_expr): Make it a macro, not a function.
4005 (expand_expr_real): New function.
4006 * expr.c (store_expr): Adjust logic for deciding whether or not to
4007 copy the value returned by expand_expr.
4008 (expand_expr): Rename to ...
4009 (expand_expr_real): ... this. Add alt_rtl parameter. Adjust
4010 calls to language hooks.
4011 * c-common.h (c_expand_expr): Adjust prototype.
4012 * c-common.c (c_expand_expr): Add alt_rtl parameter.
4013 * langhooks-def.h (lhd_expand_expr): Change prototype.
4014 * langhooks.c (lhd_expand_expr): Add all_rtl parameter.
4015 * langhooks.h (lang_hooks): Change type of expand_expr.
4016 * stmt.c (stmt_status): Add x_last_expr_alt_rtl.
4017 (last_expr_alt_rtl): Likewise.
4018 (expand_expr_stmt_value): Set last_expr_alt_rtl.
4019 (clear_last_expr): Clear it.
4020 (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
4021 (expand_end_bindings): Save and restor last_expr_alt_rtl.
4022 * tree.def (RTL_EXPR): Give it an additional operand.
4023 * tree.h (RTL_EXPR_ALT_RTL): New macro.
4025 2004-01-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
4027 * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
4028 * config/m32r/m32r.c (call26_operand): Allow in PIC mode.
4030 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
4033 * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
4034 or (ne:SI (reg:CC 17) (const_int 0)).
4035 Be specific about modes wherever possible.
4037 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
4039 * config/m32r/m32r.c (m32r_expand_block_move): Call
4040 gen_movestrsi_internal with two more arguments.
4041 (m32r_output_block_move): Adjust operand numbers.
4042 Properly update the source and destination pointers.
4043 * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
4044 'r+'. Change the set detinations to match_operand.
4046 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
4048 * final.c (FIRST_INSN_ADDRESS): Remove.
4049 (shorten_branches): Don't use FIRST_INSN_ADDRESS.
4050 * system.h (FIRST_INSN_ADDRESS): Poison.
4051 * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
4052 * config/m32r/m32r-protos.h: Remove the prototype for
4053 m32r_first_insn_address.
4054 * config/m32r/m32r.c (m32r_first_insn_address): Remove.
4055 * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
4056 * doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
4058 2004-01-09 J. Brobecker <brobecker@gnat.com>
4060 * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
4062 (is_ada_subrange_type): DIEs for enumeration subtypes should be
4063 emitted as subrange types too.
4064 (subrange_type_die): Add handling of enumeration subtypes.
4066 2004-01-08 Richard Henderson <rth@redhat.com>
4069 Revert: Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
4070 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
4071 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
4072 (ix86_address_cost): Be prepared for SUBREGed registers.
4073 (legitimate_address_p): Accept SUBREGed registers.
4075 2004-01-08 Kelley Cook <kcook@gcc.gnu.org>
4077 * Makefile.in: Rename configure.in to configure.ac
4078 * doc/sourcebuild.texi: Likewise.
4079 * configure: Regenerate.
4080 * config.in: Regenerate.
4082 2004-01-08 Stuart Hastings <stuart@apple.com>
4084 * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
4086 2004-01-08 Jan Hubicka <jh@suse.cz>
4088 * cgraphunit.c (cgraph_decide_inlining): Fix typo.
4090 2004-01-08 Geoffrey Keating <geoffk@apple.com>
4092 * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
4093 (UNSPEC_FIX_TRUNC_TF): New constant.
4094 (movtf_internal): Make splitter active only when insn is active.
4095 (extenddftf2): Rewrite to properly load zero into low part.
4096 (extenddftf2_internal): New.
4097 (extendsftf2): Rewrite.
4098 (truncdftf2): Correct length.
4099 (floatditf2): Delete.
4100 (fix_trunc_helper): New.
4101 (fix_trunctfdi2): Use fix_trunc_helper.
4102 (fix_trunctfsi2): Likewise.fix_trunc
4103 (fix_trunctfsi2_internal): New.
4105 * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
4106 addresses are legitimate on Darwin even when flag_pic.
4107 (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
4108 non-offsettable addresses for loads of TFmode constants.
4110 2004-01-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
4112 * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
4113 variables in the appropriate bss section.
4115 2004-01-09 Alan Modra <amodra@bigpond.net.au>
4117 * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
4118 target_flags has MASK_POWERPC64 when -m64.
4119 * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
4120 to 620, 630, power3, power4 and rs64a entries.
4121 * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
4123 2004-01-08 Richard Sandiford <rsandifo@redhat.com>
4125 * simplify-rtx.c (simplify_immed_subreg): Fix construction of
4126 floating-point constants.
4128 2004-01-08 J. Brobecker <brobecker@gnat.com>
4130 * dwarf2out.c (subrange_type_die): Add context_die parameter.
4131 Create the subrange_type DIE using the given context DIE.
4132 (modified_type_die): Update call to subrange_type_die.
4134 2004-01-08 Zack Weinberg <zack@codesourcery.com>
4136 * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
4137 Add multiple-include guard.
4139 2004-01-08 Hartmut Penner <hpenner@de.ibm.com>
4141 * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
4142 all vector constant loadable by vsplt*.
4143 (output_vec_const_move): Likewise.
4145 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
4148 * c-typeck.c (comptypes): Only treat enumerated types in the same
4149 translation unit as compatible with each other when they are the
4151 * doc/extend.texi: Update.
4153 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
4156 * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
4157 array type from the array element type.
4159 2004-01-07 Alan Modra <amodra@bigpond.net.au>
4161 * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
4162 * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
4163 * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
4164 (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
4165 * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
4167 2004-01-06 Eric Christopher <echristo@redhat.com>
4169 * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
4170 (DWARF2_DEBUGGING_INFO): Define.
4171 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
4172 * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
4173 * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
4175 (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
4176 * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
4177 * config/mips/iris5gas.h: Ditto.
4178 (DBX_DEBUGGING_INFO): Remove.
4179 (DWARF2_DEBUGGING_INFO): Ditto.
4180 (MIPS_DEBUGGING_INFO): Ditto.
4181 (PREFERRED_DEBUGGING_TYPE): Ditto.
4182 * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
4183 (PREFERRED_DEBUGGING_TYPE): Ditto.
4184 (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
4185 * config/mips/elf64.h: Ditto.
4187 2004-01-06 Jan Hubicka <jh@suse.cz>
4189 * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
4190 (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
4192 2004-01-06 Geoffrey Keating <geoffk@apple.com>
4194 * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
4195 (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
4196 * config/rs6000/darwin-ldouble.c: New.
4198 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
4200 (constant_subword): Delete.
4201 * rtl.h (constant_subword): Delete prototype.
4202 (immed_double_const): Is not in varasm.c.
4203 * simplify-rtx.c (simplify_immed_subreg): New.
4204 (simplify_subreg): Use simplify_immed_subreg.
4206 * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
4207 than trying to generate RTL directly.
4208 (fix_trunctfsi2): Use expand_fix rather than trying to generate
4211 * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
4213 2004-01-06 David Edelsohn <edelsohn@gnu.org>
4215 * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
4216 function into a separate macro.
4217 (read_only_data_section): Add void argument.
4218 (private_data_section): Same.
4219 (read_only_private_data_section): Same.
4220 (toc_section): Same.
4222 2004-01-06 Jan Hubicka <jh@suse.cz>
4224 * invoke.texi: Remove typo in last change.
4227 * config.gcc: Accept opteron and athlon-64 as variants
4229 * i386.c (override_options): Likewise.
4230 * invoke.texi (i386 -mtune): Expand documentation.
4232 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
4234 * alias.c: Fix comment typos.
4235 * builtins.c: Likewise.
4238 * dominance.c: Likewise.
4239 * dwarf2out.c: Likewise.
4240 * emit-rtl.c: Likewise.
4242 * final.c: Likewise.
4243 * fold-const.c: Likewise.
4245 * genattrtab.c: Likewise.
4246 * genrecog.c: Likewise.
4247 * gensupport.c: Likewise.
4248 * ggc-zone.c: Likewise.
4249 * integrate.c: Likewise.
4250 * local-alloc.c: Likewise.
4252 * recog.c: Likewise.
4253 * regmove.c: Likewise.
4254 * reg-stack.c: Likewise.
4255 * reorg.c: Likewise.
4256 * rtlanal.c: Likewise.
4258 * sched-ebb.c: Likewise.
4259 * simplify-rtx.c: Likewise.
4260 * toplev.c: Likewise.
4261 * varasm.c: Likewise.
4263 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
4265 * doc/install.texi: Fix typos.
4266 * doc/invoke.texi: Likewise.
4267 * doc/md.texi: Likewise.
4269 2004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
4271 * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
4273 2004-01-06 Jan Hubicka <jh@suse.cz>
4275 * i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
4276 (function_arg_advance): Do not pass aggregates in SSE; deal handling
4278 (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
4280 * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
4281 (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
4282 (MMX_REGPARM_MAX): Similarly for -mmmx.
4284 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
4286 * config/sh/linux.h: Fix comment formatting.
4287 * config/sh/netbsd-elf.h: Likewise.
4288 * config/sh/sh.c: Likewise.
4289 * config/sh/sh.h: Likewise.
4290 * config/sh/vxworks.h: Likewise.
4292 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
4294 * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
4295 * toplev.c (output_file_directive): Don't use
4296 ASM_OUTPUT_MAIN_SOURCE_FILENAME.
4298 2004-01-05 Steven Bosscher <s.bosscher@student.tudelft.nl>
4300 * toplev.c: Fix broken checkin of 2003-12-30.
4302 2004-01-05 Daniel Berlin <dberlin@dberlin.org>
4304 * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
4305 (USING_MMAP): We don't support non-mmap.
4306 (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
4308 (struct page_entry): Remove bytes_free.
4309 (struct page_table_chain): Remove.
4310 (struct globals): Remove page_table member.
4311 (loookup_page_table_entry): Function deleted.
4312 (set_page_table_entry): Ditto.
4313 (ggc_allocated_p): No longer need page table lookups.
4314 (ggc_marked_p): Ditto.
4315 (alloc_small_page): Don't care about bytes_free anymore.
4316 (alloc_large_page): Round up size.
4317 (ggc_alloc_zone_1): Mark large objects as such, and calculate
4318 their size the new way.
4319 Remove page table lookups and setting.
4320 (ggc_get_size): Calculate large object size the new way.
4321 (sweep_pages): Redo to account for fact that we no longer have
4323 (ggc_collect): No longer need to reincrement bytes_free.
4324 (ggc_pch_alloc_object): Handle new large objects properly.
4325 (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
4327 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
4329 * doc/invoke.texi: Remove a page break.
4331 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
4333 * config/avr/avr.c (avr_output_function_prologue): Remove an
4334 extra pair of curly braces.
4336 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
4338 * config/mn10300/mn10300.c: Fix comment formatting.
4339 * config/mn10300/mn10300.h: Likewise.
4341 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4343 * tree.h: Update documentation on nothrow_flag.
4344 * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
4347 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
4349 * doc/invoke.texi: Remove traces of dead ports.
4351 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
4353 * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
4356 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
4359 * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
4361 * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
4362 (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
4363 string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check
4364 the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
4365 (mips_symbol_insns): Don't trust the local/global classification.
4366 (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
4367 (override_options): Make -mabicalls -fno-unit-at-a-time imply
4368 -mno-explicit-relocs.
4369 (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
4370 between local and global symbols.
4372 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
4374 * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
4375 (mips_preferred_reload_class): Declare.
4376 * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
4377 (EXTRA_CONSTRAINT): Update accordingly.
4378 (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
4379 * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
4380 (mips_preferred_reload_class): New function. Prefer LEA_REGS if
4381 mips_dangerous_for_la25_p.
4382 (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
4383 if mips_dangerous_for_la25_p.
4385 2004-01-05 Bernardo Innocenti <bernie@develer.com>
4387 * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
4390 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org>
4392 * configure.ac: Use AC_PROG_CPP_WERROR.
4393 * configure: Regenerate.
4395 2004-01-04 Zack Weinberg <zack@codesourcery.com>
4397 * .cvsignore: Add autom4te.cache.
4399 2004-01-04 Richard Sandiford <rsandifo@redhat.com>
4401 * doc/invoke.texi: Revamp documentation of MIPS options. Remove
4402 -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
4403 -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first,
4404 then architecture options, then ABI options. General rewording.
4406 2004-01-04 Joseph S. Myers <jsm@polyomino.org.uk>
4409 * doc/extend.texi: Clarify definition of malloc attribute.
4411 2004-01-04 Jan Hubicka <jh@suse.cz>
4413 * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
4414 * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
4415 * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
4416 (cgraph_inline_p): Add extra argument reason.
4417 * cgraphunit.c: Minor formating fixes.
4418 cgraph_first_inlined_callee): New functions.
4419 (record_call_1): Record builtins too.
4420 (cgraph_analyze_function): Update inline_failed messages.
4421 (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
4422 cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
4423 (cgraph_check_inline_limits): Likewise; Add argument reason.
4424 (cgraph_set_inline_failed): New static function.
4425 (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
4427 (cgraph_inline_p): Add new argument reason.
4428 * tree-inline.c (expand_call_inline): Update warning.
4430 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
4432 * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
4433 with modern equivalents.
4434 * configure: Regenerate.
4436 * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
4437 * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
4438 * configure: Regenerate.
4440 * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
4442 * configure.in: Rename to configure.ac.
4443 * configure.ac: Renamed from configure.in; make minimum necessary
4444 changes for autoconf 2.5x.
4445 * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
4446 * configure: Regenerate with autoconf 2.57.
4448 2004-01-03 Kazu Hirata <kazu@cs.umass.edu>
4450 * config/mips/linux.h: Fix comment formatting.
4451 * config/mips/mips.c: Likewise.
4452 * config/mips/mips.h: Likewise.
4453 * config/mips/mips.md: Likewise.
4454 * config/mips/netbsd.h: Likewise.
4455 * config/mips/windiss.h: Likewise.
4457 2004-01-02 Richard Henderson <rth@redhat.com>
4459 * config/i386/i386.md (fp constant pool splitter): Reorg suppression
4460 for sse and 387; add suppression for mmx.
4462 2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
4464 * loop.c (loop_optimize): Free all loops_info's mems.
4466 * c-typeck.c (finish_init): Free spelling_base before
4469 * cfgloop.c (flow_loops_find): Always free the sbitmap
4472 * predict.c (estimate_probability): Free bbs after being
4475 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
4477 * config/mn10300/mn10300.h (PREDICATE_CODES): Add
4478 const_8bit_operand and call_address_operand.
4480 2004-01-02 Jan Hubicka <jh@suse.cz>
4482 * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls
4483 when there is nothing to inline but warnings are requested.
4484 (cgraph_decide_inlining): Fix memory leak.
4486 2004-01-02 Jan Hubicka <jh@suse.cz>
4488 * expr.c (store_constructor): Fix pasto in previous patch.
4490 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
4492 * config/i386/cygming.h: Fix comment formatting.
4493 * config/i386/djgpp.h: Likewise.
4494 * config/i386/gthr-win32.c: Likewise.
4495 * config/i386/i386-interix.h: Likewise.
4496 * config/i386/i386.c: Likewise.
4497 * config/i386/i386.h: Likewise.
4498 * config/i386/openbsd.h: Likewise.
4499 * config/i386/winnt.c: Likewise.
4500 * config/i386/xm-mingw32.h: Likewise.
4502 2004-01-02 Joseph S. Myers <jsm@polyomino.org.uk>
4504 * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
4505 copyright and last modification dates.
4507 2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de>
4509 * doc/install.texi (Specific): Mention x86_64.
4511 2004-01-01 Hans-Peter Nilsson <hp@bitrange.com>
4513 * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
4514 Call force_operand on plus_constant result.
4516 2004-01-01 Jan Hubicka <jh@suse.cz>
4518 * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
4519 * expr.c (store_constructor): Use vec_init pattern.
4520 * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
4521 * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
4522 (vec_set_optab, vec_extract_optab, vec_init_optab): New.
4523 * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
4525 (sse2_unpc?pd): Fix pattern.
4526 (sse2_movlpd): Kill.
4527 (sse2_movsd): Deal with movlpd too.
4528 * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
4529 (ix86_expand_vector_init): New.
4530 * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
4531 * md.texi (vec_set, vec_extract): Document
4533 2003-12-31 Jan Hubicka <jh@suse.cz>
4536 * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside
4540 * toplev.c (dump_file_index): Reorder ce3 and bbro.
4541 (dump_file): Likewise.
4542 (rest_of_compilation): Likewise.
4545 * cgraph.c (cgraph_function_possibly_inlined): Even with
4546 flag_really_no_inline we inline always_inline functions.
4547 * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
4548 for non-always_inline functions when there is flag_really_no_inline.
4549 (cgraph_decide_inlining): Limit work done when not inlining.
4550 (cgraph_decide_inlining_incrementally): Likewise.
4551 (cgraph_optimize_function): Check whether something got inlined.
4552 * c-objc-common.c (c_disregard_inline_limits): Do not always inline
4553 extern inline functions when not inlining.
4555 * opts.c (decode_options): Disable crossjumping at -O1
4556 * invoke.texi (-O1): Document change.
4558 See ChangeLog.10 for earlier changes.