1 2004-01-16 J"orn Rennecke <joern.rennecke@superh.com>
3 * postreload.c (reload_cse_simplify_operands): Don't remove
4 implicit extension from LOAD_EXTEND_OP.
6 2004-01-16 Jan Hubicka <jh@suse.cz>
9 * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal
11 * cfgrtl.c (rtl_can_merge_blocks, cfglayout_can_merge_blocks,
12 rtl_try_redirect_by_replacing_branch): Likewise.
14 2004-01-15 Geoffrey Keating <geoffk@apple.com>
17 * alias.c (struct alias_set_entry): Mark for GC.
18 (alias_sets): Make static, mark for GC.
19 (record_alias_subset): Use GC to allocate alias structures.
20 * varray.c (element): Make generic varrays GCed.
23 * c-typeck.c (constructor_asmspec): Delete.
24 (struct initializer_stack): Delete field 'asmspec'.
25 (start_init): Delete saving of asmspec.
26 (finish_init): Don't update constructor_asmspec.
27 * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
28 * stmt.c (expand_asm): Duplicate strings from tree.
29 (expand_asm_operands): Likewise.
30 * tree.c (tree_size): Update computation of size of STRING_CST.
31 (make_node): Don't make STRING_CST nodes.
32 (build_string): Allocate string with tree node.
33 * tree.def (STRING_CST): Update comment.
34 * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
35 (tree_string): Place contents of string in tree node.
36 * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
39 * config/rs6000/rs6000.c (rs6000_va_arg): No need to special-case
42 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
44 * c-common.h: Fix comment formatting.
45 * c-cppbuiltin.c: Likewise.
46 * c-pragma.c: Likewise.
48 * collect2.c: Likewise.
49 * cppcharset.c: Likewise.
50 * cpptrad.c: Likewise.
52 * defaults.h: Likewise.
53 * dwarf2out.c: Likewise.
54 * fold-const.c: Likewise.
55 * genautomata.c: Likewise.
56 * genconditions.c: Likewise.
57 * genflags.c: Likewise.
58 * gengtype.c: Likewise.
59 * integrate.c: Likewise.
61 * predict.c: Likewise.
64 2004-01-15 Zack Weinberg <zack@codesourcery.com>
66 * config/ia64/ia64.md (*movti_internal): C output template
68 (*movti_internal_reg): Delete.
69 (reload_inti, reload_outti): Use the correct mode on operand 2
70 in the first place, don't fix it up in the output template.
71 (movtf, reload_ointf, reload_outtf): New expanders.
72 (*movtf_internal): New define_insn_and_split.
73 * config/ia64/ia64.c (ia64_split_timode): Rename to ia64_split_tmode;
74 make static; do not hand TFmode CONST_DOUBLEs to split_double.
75 (ia64_split_tmode_move): New function, body mostly pulled
76 from ia64.md:*movti_internal.
77 (ia64_function_arg_words): New function, extracted common
78 logic from ia64_function_arg et seq.
79 (ia64_function_arg_offset): Likewise. Handle correctly the
80 case of a scalar quantity 16 bytes wide with only 8-byte alignment.
81 (ia64_function_arg, ia64_function_arg_partial_nregs)
82 (ia64_function_arg_advance): Use ia64_function_arg_words and
83 ia64_function_arg_offset.
84 (ia64_function_value): TCmode does not go in float regs.
85 (ia64_secondary_reload_class): Also handle TFmode.
86 * config/ia64/ia64-protos.h: Remove prototype for
87 ia64_split_timode; add prototype for ia64_split_tmode_move.
89 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
91 * Makefile.in (MAINT): Make it an immediate assignment.
93 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
95 * config/m32r/m32r.md: Remove useless calls to gen_lowpart.
97 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
99 * config/h8300/coff.h: Replace Hitachi with Renesas.
100 * config/h8300/elf.h: Likewise.
101 * config/h8300/h8300-protos.h: Likewise.
102 * config/h8300/h8300.c: Likewise.
103 * config/h8300/h8300.h: Likewise.
104 * config/h8300/h8300.md: Likewise.
105 * config/h8300/lib1funcs.asm: Likewise.
107 2004-01-15 Andrew Pinski <apinski@apple.com>
109 * config/rs6000/rs6000.c (uses_TOC): Wrap #if TARGET_ELF
112 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
114 * config/h8300/h8300.c (h8300_return_in_memory): New.
115 (TARGET_STRUCT_VALUE_RTX): Likewise.
116 (TARGET_RETURN_IN_MEMORY): Likewise.
117 * config/h8300/h8300.h (STRUCT_VALUE): Remove.
118 (RETURN_IN_MEMORY): Likewise.
120 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
122 PR optimization/13375
123 * gcse.c (handle_avail_expr): Just return if the source is not a
126 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
127 Daniel Jacobowitz <drow@mvista.com>
129 * arm/lib1funcs.asm (ARM_FUNC_START): Correct interworking case.
131 (ARM_FUNC_ALIAS): New macro.
132 * arm/ieee754-df.S (gedf2, ledf2, nedf2, eqdf2): Use it.
133 * arm/ieee754-sf.S (gesf2, lesf2, nesf2, eqsf2): Use it.
135 2004-01-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
137 PR optimization/12372
138 * calls.c (expand_call): Add call_fusage data for stack arguments in
141 2004-01-15 Alan Modra <amodra@bigpond.net.au>
143 * config/rs6000/rs6000.c (uses_TOC): Correct comment. Make static.
144 (rs6000_elf_declare_function_name): Formatting.
145 * config/rs6000/rs6000-protos.h (uses_TOC): Remove declaration.
147 2004-01-15 Jan Hubicka <jh@suse.cz>
150 * sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in
153 2004-01-15 Richard Henderson <rth@redhat.com>
155 * config/alpha/alpha.h (REG_ALLOC_ORDER): Reorder fp regs after
156 integer regs of the same call-savedness.
158 2004-01-15 Andreas Schwab <schwab@suse.de>
161 * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
162 status for NOTB/NOTW/NEGW methods.
164 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
166 * doc/invoke.texi: Update dump file names. Fix a typo.
168 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
170 * builtins.c (expand_builtin_va_end): Don't use
171 EXPAND_BUILTIN_VA_END.
172 * system.h (EXPAND_BUILTIN_VA_END): Poison.
173 * config/d30v/d30v.h: Remove a commented-out definition of
174 EXPAND_BUILTIN_VA_END.
175 * config/stormy16/stormy16.h: Likewise.
177 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
179 * system.h (STRUCT_VALUE_INCOMING_REGNUM): Poison.
180 * targhooks.c (default_struct_value_rtx): Don't use
181 STRUCT_VALUE_INCOMING_REGNUM.
183 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
186 * configure.in: Revamp enable-generated-files-in-srcdir rule to define
187 GENINSRC and not parsedir. Define srcextra as a langhook.
188 * configure: Regenerate.
189 * Makefile.in: Suppress default .l.c rule. Don't substitute
190 parsedir and delete all references throughout. Conditionally define
191 rule for srcextra dependent on GENINSRC.
192 (stmp-docobjdir): Delete.
193 (c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule.
194 (srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c,
195 and gengtype-yacc.h back to source directory.
196 (maintainer-clean): Delete all parse files in source directory.
197 (distclean): Delete generated files.
199 * objc/Make-lang.in (objc-parse.o): Use implicit build rule.
200 (objc-parse.c, objc-parse.y): Don't use parsedir.
201 (objc.srcextra): Copy objc-parse.y and objc-parse.c back to source
202 directory if requested.
203 (po-generated): Don't use parsedir.
204 (objc.maintainer-clean): Delete above files from source directory.
206 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
208 * doc/tm.texi (FUNCTION_VALUE): Fix a typo.
210 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
212 * doc/tm.texi: Replace RETURN_IN_MEMORY with
213 TARGET_RETURN_IN_MEMORY.
215 2004-01-15 Jan Hubicka <jh@suse.cz>
217 * builtins.c (std_expand_builtin_va_arg): Align operand when needed.
218 * i386.c (init_cumulative_args): Set warn_sse; fix handling of variadic
219 functions accepting SSE arguments
220 (function_arg): Warn only when asked to warn.
221 * i386.h (ix86_args): Add warn_sse/warn_mmx fiels.
223 2004-01-14 Joseph S. Myers <jsm@polyomino.org.uk>
225 * c-parse.in (stmts_and_decls): Make label at end of compound
226 statement a hard error.
228 2004-01-14 Jan Hubicka <jh@suse.cz>
230 * cgraph.c (create_edge): Use local.redefined_extern_inline.
231 * cgraph.h (cgraph_local_info): Sort fields by size; add
232 redefined_extern_inline
233 (cgraph_global_info): Sort fields by size.
234 (cgraph_node): Likewise.
235 * cgraphunit.c (cgraph_finalize_function): Se
236 local.redefined_extern_inline on redefinition.
237 (cgraph_analyze_function): Use it; fix formating.
239 2004-01-14 Jan Hubicka <jh@suse.cz>
242 * sched-deps.c (trye_dependency_cache, anti_dependency_cache,
243 outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of
245 (cache_size): New variable
246 (add_dependence): Update use; canonize early memory locations
247 (sched_analyze_1): Likewise.
248 (sched_analyze_2): Likewise.
249 (init_dependency_caches): Initialize bitmaps.
250 (free_dependency_caches): Free bitmaps
252 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
254 * calls.c: Replace STRICT_ARGUMENT_NAMING in comments with
255 targetm.calls.strict_argument_naming().
256 * target.h: Likewise.
258 2004-01-14 Richard Henderson <rth@redhat.com>
261 * dwarf2out.c (dwarf2out_stack_adjust): Skip prologue and epilogue
264 2004-01-14 Richard Henderson <rth@redhat.com>
267 * except.c (struct eh_region): Add u.fixup.resolved.
268 (resolve_one_fixup_region): Split out from ...
269 (resolve_fixup_regions): ... here.
271 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
273 * config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0.
275 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
277 * config/alpha/alpha.h (STRUCT_VALUE): Remove.
278 * config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef.
279 (STRUCT_VALUE): Remove.
281 2003-01-14 Steven Bosscher <stevenb@suse.de>
283 * system.h: Poison PROMOTED_MODE
284 * integrate.c (expand_inline_function): Don't mention the
286 * loop.c (update_giv_derive): Same.
287 * tree.h (DECL_RTL): Same.
289 2004-01-14 J"orn Rennecke <joern.rennecke@superh.com>
292 * sh.c (gen_block_redirect): Add special handling of RETURN.
293 (gen_far_branch) Don't call gen_stuff_delay_slot if there is no
294 far branch target (i.e. it's a return).
296 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
298 * regrename.c (find_oldest_value_reg): Fix a warning.
300 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
303 * config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file.
304 Move linux-gas.h and linux-elf.h before aout.h.
305 * arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already.
306 * arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define.
308 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
310 * config/m32r/m32r.md: Use GEN_INT instead of gen_rtx
311 (CONST_INT, VOIDmode, ...).
313 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
315 * regrename.c (find_oldest_value_reg): If the replacement uses
316 multiple hard registers, check that all of them are in CLASS.
318 2004-01-14 Jan Hubicka <jh@suse.cz>
320 * alias.c (get_alias_set): Initialize alias set to 0 when subset is
323 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
325 * Makefile.in: Define MAINT from --enable-maintainer-mode.
327 2004-01-14 Hartmut Penner <hpenner@de.ibm.com>
329 * gcc/config/rs6000/rs6000.c (rs6000_stack_info)
330 Calculate always vrsave_mask if TARGET_ALTIVEC.
331 (rs6000_emit_prologue): Emit code for vrsave
332 only if TARGET_ALTIVEC_VRSAVE.
333 (rs6000_emit_epilogue): Likewise.
335 2004-01-14 Eric Botcazou <ebotcazou@libertysurf.fr>
337 * config/sparc/sparc.md (tie_add32): Fix pasto.
338 (tie_add64): Likewise.
340 2004-01-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
342 * config/i386/i386.md (*addqi_1_slp): Do not access operands[2].
344 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
346 * config/iq2000/iq2000-protos.h: Fix comment formatting.
347 * config/iq2000/iq2000.c: Likewise.
348 * config/iq2000/iq2000.md: Likewise.
350 2004-01-14 J. Brobecker <brobecker@gnat.com>
352 * dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
353 (subrange_type_die): Add handle for nameless subrange types.
355 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
357 * config/h8300/h8300-protos.h: Replace do_movsi with
359 * config/h8300/h8300.c (do_movsi): Change to
361 * config/h8300/h8300.md (movsi): Replace do_movsi with
365 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
367 * config/h8300/h8300.c (dosize): Change to
368 h8300_emit_stack_adjustment. Update callers.
370 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
372 * config/h8300/h8300.md (movstrictqi): Add an alternative with
373 the source being post_inc. Tighten the predicate for the
374 destination to register_operand.
375 (movstricthi): Likewise.
377 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
379 * system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
380 * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP.
381 * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove.
383 2004-01-14 Jan Hubicka <jh@suse.cz>
385 Partial fix PR c++/12850
386 * cgraphunit.c (cgraph_finalize_function): Always ggc_collect when
389 2004-01-13 Bernardo Innocenti <bernie@develer.com>
391 * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
394 2004-01-13 Devang Patel <dpatel@apple.com
397 * dbxout.c (dbxout_symbol_name): Emit mangled names for
398 NAMESPACE_DECL memebers.
400 2004-01-13 Andrew Pinski <pinskia@physics.uc.edu>
403 * c-common.c (finish_fname_decls): Use the chain only if the
404 tree is an expr_stmt.
406 2004-01-13 Vladimir Makarov <vmakarov@redhat.com>
408 * rtl.def: Add comment about new option in automata_option.
410 * genautomata.c (PROGRESS_OPTION): New macro.
411 (progress_flag): New global variable.
412 (gen_automata_option): Process `progress'.
413 (transform_insn_regexps, check_unit_distributions_to_automata,
414 make_automaton, NDFA_to_DFA, build_automaton, create_automata,
415 expand_automata, write_automata): Print about the progress only if
416 progress_flag. Remove fflush.
417 (initiate_automaton_gen): Process command line flag `-progress'.
419 * doc/md.texi: Describe the new option.
421 2004-01-13 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
423 * cfg.c (dump_bb): Dump entry edges.
425 2004-01-13 Richard Earnshaw <rearnsha@arm.com>
427 * arm.c (thumb_legitimate_address_p): Only allow constant pool
428 references from SImode.
429 * arm.md (thumb_movhi_insn): Don't allow minipool references.
431 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
433 * system.h (TEXT_SECTION): Poison.
434 * varasm.c (text_section): Don't use TEXT_SECTION.
435 * config/sh/sh.c (sh_file_start): Fix a comment typo.
436 * doc/tm.texi (TEXT_SECTION): Remove.
438 2004-01-13 Ben Elliston <bje@wasabisystems.com>
440 * doc/rtl.texi (Vector Operations): Remove defunct vec_const item.
442 2004-01-12 James E Wilson <wilson@specifixinc.com>
444 * unwind-libunwind.c: Delete.
446 2004-01-12 Zack Weinberg <zack@codesourcery.com>
449 * c-decl.c (diagnose_mismatched_decls): Whenever newtype or
450 oldtype is set, set *newtypep or *oldtypep too. Do not set
451 them at the very end.
452 (validate_proto_after_old_defn): Restructure for comprehensibility;
453 make error messages clearer.
455 2004-01-12 Zack Weinberg <zack@codesourcery.com>
457 * varray.h (VARRAY_POP): Add checking variant, aborts on underflow.
458 (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked.
459 * varray.c: No need to prototype error.
460 (varray_check_failed): Wrap long string onto two lines.
461 (varray_underflow): New function.
463 2004-01-13 Steven Bosscher <stevenb@suse.de>
466 * function.h (struct function): Kill `name' field.
467 (current_function_name): Make it an extern function.
468 * function.c (current_function_name): New function.
469 * graph.c: Update all uses of current_function_name.
471 * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
472 config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
473 * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
474 instead of a strcmp with "main".
476 2004-01-13 Jan Hubicka <jh@suse.cz>
478 * c-decl.c (diagnose_mismatched_decls): Fix warning calls.
480 * cgraphunit.c (cgraph_optimize_function): Always do
481 optimize_inline_calls when there is always_inline callee.
482 (cgraph_decide_inlining): Fix formating.
483 * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
485 (expand_call_inline): Likewise.
486 * toplev.h (sorry): Fix prototype.
488 2004-01-12 Roger Sayle <roger@eyesopen.com>
490 * builtins.c (expand_builtin_expect_jump): Simplify logic. Handle
491 conditional jumps that drop through to unconditional jumps or the
494 2004-01-13 Jan Hubicka <jh@suse.cz>
496 * alias.c (new_alias_set): Construct the alias_set varray.
497 (init_alias_once): Don't do it here.
499 2004-01-12 Marc Espie <espie@openbsd.org>
501 * system.h: handle YYBYACC like YYBISON.
503 2004-01-12 Jonathan Merriman <jonm@dualitymedia.com>
506 * config.gcc: No longer includes conflicting header sparc/sol2.h when
507 building on sparc64-*-openbsd*.
509 2004-01-12 Andrew Pinski <pinskia@physics.uc.edu>
512 * dbxout.c (dbxout_type): Protected inheritance is not
513 private but protected.
515 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
517 * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.
519 2004-01-12 Kazu Hirata <kazu@cs.umass.edu>
521 PR optimization/12508.
522 * combine.c (try_combine): Remove a dead set in a parallel
523 even if its destination is a subreg.
526 2003-06-03 Kazu Hirata <kazu@cs.umass.edu>
527 * combine.c (simplify_set): Don't move a subreg in SET_SRC to
528 SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
530 2004-01-12 Geoffrey Keating <geoffk@apple.com>
532 * real.c: Update copyright date.
533 * emit-rtl.c: Likewise.
535 * dwarf2out.c: Likewise.
536 * config/rs6000/darwin-ldouble.c: Likewise.
537 * config/rs6000/rs6000.md: Likewise.
539 2004-01-12 David Edelsohn <edelsohn@gnu.org>
541 * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
542 TFmode to SImode libfuncs.
544 2004-01-12 Roger Sayle <roger@eyesopen.com>
547 * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
549 2004-01-12 Jan Hubicka <jh@suse.cz>
552 * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
556 * cfgcleanup.c (label_is_jump_target_p): Move to...
557 * rtlanal.c (label_is_jump_target_p): ... here.
558 * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Fix redirecting of fallthru
559 edges unified with branch edges.
561 2004-01-12 Richard Earnshaw <rearnsha@arm.com>
563 * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
564 high word of an integral CONST_DOUBLE.
566 2004-01-12 Paul Brook <paul@codesourcery.com>
568 * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
570 2004-01-12 J"orn Rennecke <joern.rennecke@superh.com>
573 * sh-protos.h (check_use_sfunc_addr): Declare.
574 * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
575 * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
577 2004-01-12 Jan Hubicka <jh@suse.cz>
579 * alias.c: Invlude varray.h
580 (alias_sets): Turn into varray.
581 (get_alias_set_entry): Use VARRAY; mark inline.
582 (mems_in_disjoint_alias_sets_p): Mark inline.
583 (record_alias_subset): Use varray.
584 (init_alias_once): Initialize varray.
585 (new_alias_set): Grow array.
586 * varray.c: Make VARRAY_GENERIC_PTR non GTYized.
588 2004-01-12 Jan Hubicka <jh@suse.cz>
590 Partial fix for PR opt/10776 II
591 * cselib.c: Include params.h
592 (cselib_invalidate_mem): Limit amount of nonconflicting memory
594 * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
595 * Makefile.in (cselib.o): Depend on params.h
597 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
599 * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
600 simplify_unary_operation if the operand has a known mode.
602 2004-01-12 Hartmut Penner <hpenner@de.ibm.com>
605 * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
606 predicate to handle 'ld' conform addresses.
607 * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
609 (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
610 are memory contraints.
611 * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
613 * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
614 Change 'o' to 'Y' constraint.
615 (*movdf_softfloat64): Ditto.
617 2004-01-12 Bernardo Innocenti <bernie@develer.com>
619 * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
620 brace-enclosed syntax in all C output statements.
622 2004-01-12 David Edelsohn <edelsohn@gnu.org>
625 * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
626 Objective-C language type value is 14.
628 2004-01-12 Markus F.X.J. Oberhumer <markus@oberhumer.com>
631 * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
632 `int' in a number of places to make sure we always have a SImode
633 and not a HImode. Add a 'L' suffix to a number of constants.
635 2004-01-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
637 * pa.c: Don't include obstack.h.
639 * pa.md: Correct constraint in pattern for loading PIC label address.
641 2004-01-11 Kaz Kojima <kkojima@gcc.gnu.org>
643 * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
646 2004-01-11 Steven Bosscher <stevenb@suse.de>
649 * toplev.c (rest_of_handle_inline): Also consider functions
650 for deferral if the language is GNU F77.
652 2004-01-11 Zack Weinberg <zack@codesourcery.com>
654 * c-decl.c (diagnose_arglist_conflict): Add missing space to
657 2004-01-11 Jakub Jelinek <jakub@redhat.com>
660 * builtins.c (expand_builtin_expect_jump): Handle conditional jumps
661 to drop through label. Don't fall back to SCC even when conditional
662 jump has not been found.
664 2004-01-11 Jan Hubicka <jh@suse.cz>
666 * invoke.texi: Fix syntax error in previous patch.
668 Partial fix for PR opt/10776
669 * Makefile.in (reload.o): Include param.h
670 * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter.
671 * reload.c: Include params.h.
672 (find_equiv_reg): Work limiting check.
673 * invoke.texi: Document.
675 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
677 * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
678 out-of-bounds accesses to string constants. Simplify mips16
681 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
683 PR optimization/13469
684 * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
685 reload_cse_regs (-fnon-call-exceptions only).
687 2004-01-11 Kazu Hirata <kazu@cs.umass.edu>
689 * config/mcore/lib1.asm: Fix comment formatting.
690 * config/mcore/mcore-elf.h: Likewise.
691 * config/mcore/mcore.c: Likewise.
692 * config/mcore/mcore.h: Likewise.
693 * config/mcore/mcore.md: Likewise.
695 2004-01-10 Zack Weinberg <zack@codesourcery.com>
697 * c-decl.c (duplicate_decls): Break apart into...
698 (diagnose_arglist_conflict, validate_proto_after_old_defn)
699 (locate_old_defn, diagnose_mismatched_decls, merge_decls):
700 ... these new functions. Restructure for comprehensibility.
701 Remove various archaic special cases. Always report the
702 location of the previous declaration when a diagnostic is issued.
703 (redeclaration_error_message): Fold into diagnose_mismatched_decls.
704 (match_builtin_function_types): Delete unnecessary forward declaration.
706 2004-01-10 Zack Weinberg <zack@codesourcery.com>
708 * genautomata.c (make_automaton, NDFA_to_DFA):
709 Print progress bars with '.' characters instead of '*'.
710 (build_automaton): Change notes to match.
712 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
714 * config/m32r/m32r.md: Use define_constants for unspec and
717 2004-01-10 Jan Hubicka <jh@suse.cz>
720 * expr.c (expand_expr_real): More curefully expand union casts.
722 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
724 * config/m32r/m32r.md (flush_icache): Use 1 for
727 2004-01-10 David Edelsohn <edelsohn@gnu.org>
728 James E Wilson <wilson@specifixinc.com>
731 * dbxout.c (dbxout_symbol): Remove initialization of
732 current_sym_code, current_sym_value, and current_sym_addr.
733 (dbxout_symbol_location): Same.
734 (dbxout_prepare_symbol): Zero current_sym_code,
735 current_sym_value, and current_sym_addr.
737 2004-01-10 Richard Sandiford <rsandifo@redhat.com>
739 * tree.c (get_unwidened): Reorder conditions so that the null pointer
742 2004-01-09 Eric Christopher <echristo@redhat.com>
744 * toplev.c (rest_of_handle_cfg): Add reg_scan pass
745 if we're running mark_constant_function.
747 2004-01-09 Jeff Bailey <jbailey@nisa.net>
750 * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
752 2004-01-09 Andrew Pinski <pinskia@physics.uc.edu>
755 * dbxout.c (dbxout_type_fields): Return if any item is
756 error_mark_node or the type is error_mark_node.
758 2004-01-09 Geoffrey Keating <geoffk@apple.com>
760 * config/rs6000/darwin-ldouble.c: Add big comment explaining
761 exactly what is expected as a 'long double'.
762 (_xlqadd): When a value to be returned is representable as a
763 'double', just return it directly, do not construct it using a union.
764 Also, correct final fixup.
767 * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.
769 * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
771 2004-01-09 Richard Henderson <rth@redhat.com>
773 * recog.c (constrain_operands): Validate mem operands.
775 2004-01-09 James E Wilson <wilson@specifixinc.com>
777 * gcc.c (init_spec): Remove -lunwind from shared case.
778 * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
780 2004-01-09 Steve Ellcey <sje@cup.hp.com>
782 * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
783 * configure: Regenerate
785 2004-01-09 Joseph S. Myers <jsm@polyomino.org.uk>
788 * c-typeck.c (build_c_cast): If pedantic, warn for conversions
789 between function and object pointers.
790 (digest_init): When comparing a pointer to function type to the
791 target type, only apply TREE_TYPE once to the pointer to function
793 * except.c (for_each_eh_label_1): Treat data as a pointer to a
794 function pointer rather than casting it to a function pointer.
795 (for_each_eh_label): Update caller.
796 * recog.h (struct insn_data): Use a struct or union for output.
797 * genoutput.c (output_insn_data): Update.
798 * final.c (get_insn_template): Update.
800 2004-01-09 Mark Mitchell <mark@codesourcery.com>
802 * expr.h (expand_expr): Make it a macro, not a function.
803 (expand_expr_real): New function.
804 * expr.c (store_expr): Adjust logic for deciding whether or not to
805 copy the value returned by expand_expr.
806 (expand_expr): Rename to ...
807 (expand_expr_real): ... this. Add alt_rtl parameter. Adjust
808 calls to language hooks.
809 * c-common.h (c_expand_expr): Adjust prototype.
810 * c-common.c (c_expand_expr): Add alt_rtl parameter.
811 * langhooks-def.h (lhd_expand_expr): Change prototype.
812 * langhooks.c (lhd_expand_expr): Add all_rtl parameter.
813 * langhooks.h (lang_hooks): Change type of expand_expr.
814 * stmt.c (stmt_status): Add x_last_expr_alt_rtl.
815 (last_expr_alt_rtl): Likewise.
816 (expand_expr_stmt_value): Set last_expr_alt_rtl.
817 (clear_last_expr): Clear it.
818 (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
819 (expand_end_bindings): Save and restor last_expr_alt_rtl.
820 * tree.def (RTL_EXPR): Give it an additional operand.
821 * tree.h (RTL_EXPR_ALT_RTL): New macro.
823 2004-01-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
825 * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
826 * config/m32r/m32r.c (call26_operand): Allow in PIC mode.
828 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
831 * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
832 or (ne:SI (reg:CC 17) (const_int 0)).
833 Be specific about modes wherever possible.
835 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
837 * config/m32r/m32r.c (m32r_expand_block_move): Call
838 gen_movestrsi_internal with two more arguments.
839 (m32r_output_block_move): Adjust operand numbers.
840 Properly update the source and destination pointers.
841 * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
842 'r+'. Change the set detinations to match_operand.
844 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
846 * final.c (FIRST_INSN_ADDRESS): Remove.
847 (shorten_branches): Don't use FIRST_INSN_ADDRESS.
848 * system.h (FIRST_INSN_ADDRESS): Poison.
849 * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
850 * config/m32r/m32r-protos.h: Remove the prototype for
851 m32r_first_insn_address.
852 * config/m32r/m32r.c (m32r_first_insn_address): Remove.
853 * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
854 * doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
856 2004-01-09 J. Brobecker <brobecker@gnat.com>
858 * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
860 (is_ada_subrange_type): DIEs for enumeration subtypes should be
861 emitted as subrange types too.
862 (subrange_type_die): Add handling of enumeration subtypes.
864 2004-01-08 Richard Henderson <rth@redhat.com>
867 Revert: Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
868 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
869 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
870 (ix86_address_cost): Be prepared for SUBREGed registers.
871 (legitimate_address_p): Accept SUBREGed registers.
873 2004-01-08 Kelley Cook <kcook@gcc.gnu.org>
875 * Makefile.in: Rename configure.in to configure.ac
876 * doc/sourcebuild.texi: Likewise.
877 * configure: Regenerate.
878 * config.in: Regenerate.
880 2004-01-08 Stuart Hastings <stuart@apple.com>
882 * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
884 2004-01-08 Jan Hubicka <jh@suse.cz>
886 * cgraphunit.c (cgraph_decide_inlining): Fix typo.
888 2004-01-08 Geoffrey Keating <geoffk@apple.com>
890 * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
891 (UNSPEC_FIX_TRUNC_TF): New constant.
892 (movtf_internal): Make splitter active only when insn is active.
893 (extenddftf2): Rewrite to properly load zero into low part.
894 (extenddftf2_internal): New.
895 (extendsftf2): Rewrite.
896 (truncdftf2): Correct length.
897 (floatditf2): Delete.
898 (fix_trunc_helper): New.
899 (fix_trunctfdi2): Use fix_trunc_helper.
900 (fix_trunctfsi2): Likewise.fix_trunc
901 (fix_trunctfsi2_internal): New.
903 * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
904 addresses are legitimate on Darwin even when flag_pic.
905 (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
906 non-offsettable addresses for loads of TFmode constants.
908 2004-01-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
910 * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
911 variables in the appropriate bss section.
913 2004-01-09 Alan Modra <amodra@bigpond.net.au>
915 * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
916 target_flags has MASK_POWERPC64 when -m64.
917 * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
918 to 620, 630, power3, power4 and rs64a entries.
919 * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
921 2004-01-08 Richard Sandiford <rsandifo@redhat.com>
923 * simplify-rtx.c (simplify_immed_subreg): Fix construction of
924 floating-point constants.
926 2004-01-08 J. Brobecker <brobecker@gnat.com>
928 * dwarf2out.c (subrange_type_die): Add context_die parameter.
929 Create the subrange_type DIE using the given context DIE.
930 (modified_type_die): Update call to subrange_type_die.
932 2004-01-08 Zack Weinberg <zack@codesourcery.com>
934 * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
935 Add multiple-include guard.
937 2004-01-08 Hartmut Penner <hpenner@de.ibm.com>
939 * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
940 all vector constant loadable by vsplt*.
941 (output_vec_const_move): Likewise.
943 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
946 * c-typeck.c (comptypes): Only treat enumerated types in the same
947 translation unit as compatible with each other when they are the
949 * doc/extend.texi: Update.
951 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
954 * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
955 array type from the array element type.
957 2004-01-07 Alan Modra <amodra@bigpond.net.au>
959 * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
960 * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
961 * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
962 (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
963 * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
965 2004-01-06 Eric Christopher <echristo@redhat.com>
967 * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
968 (DWARF2_DEBUGGING_INFO): Define.
969 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
970 * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
971 * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
973 (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
974 * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
975 * config/mips/iris5gas.h: Ditto.
976 (DBX_DEBUGGING_INFO): Remove.
977 (DWARF2_DEBUGGING_INFO): Ditto.
978 (MIPS_DEBUGGING_INFO): Ditto.
979 (PREFERRED_DEBUGGING_TYPE): Ditto.
980 * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
981 (PREFERRED_DEBUGGING_TYPE): Ditto.
982 (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
983 * config/mips/elf64.h: Ditto.
985 2004-01-06 Jan Hubicka <jh@suse.cz>
987 * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
988 (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
990 2004-01-06 Geoffrey Keating <geoffk@apple.com>
992 * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
993 (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
994 * config/rs6000/darwin-ldouble.c: New.
996 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
998 (constant_subword): Delete.
999 * rtl.h (constant_subword): Delete prototype.
1000 (immed_double_const): Is not in varasm.c.
1001 * simplify-rtx.c (simplify_immed_subreg): New.
1002 (simplify_subreg): Use simplify_immed_subreg.
1004 * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
1005 than trying to generate RTL directly.
1006 (fix_trunctfsi2): Use expand_fix rather than trying to generate
1009 * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
1011 2004-01-06 David Edelsohn <edelsohn@gnu.org>
1013 * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
1014 function into a separate macro.
1015 (read_only_data_section): Add void argument.
1016 (private_data_section): Same.
1017 (read_only_private_data_section): Same.
1018 (toc_section): Same.
1020 2004-01-06 Jan Hubicka <jh@suse.cz>
1022 * invoke.texi: Remove typo in last change.
1025 * config.gcc: Accept opteron and athlon-64 as variants
1027 * i386.c (override_options): Likewise.
1028 * invoke.texi (i386 -mtune): Expand documentation.
1030 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
1032 * alias.c: Fix comment typos.
1033 * builtins.c: Likewise.
1036 * dominance.c: Likewise.
1037 * dwarf2out.c: Likewise.
1038 * emit-rtl.c: Likewise.
1040 * final.c: Likewise.
1041 * fold-const.c: Likewise.
1043 * genattrtab.c: Likewise.
1044 * genrecog.c: Likewise.
1045 * gensupport.c: Likewise.
1046 * ggc-zone.c: Likewise.
1047 * integrate.c: Likewise.
1048 * local-alloc.c: Likewise.
1050 * recog.c: Likewise.
1051 * regmove.c: Likewise.
1052 * reg-stack.c: Likewise.
1053 * reorg.c: Likewise.
1054 * rtlanal.c: Likewise.
1056 * sched-ebb.c: Likewise.
1057 * simplify-rtx.c: Likewise.
1058 * toplev.c: Likewise.
1059 * varasm.c: Likewise.
1061 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
1063 * doc/install.texi: Fix typos.
1064 * doc/invoke.texi: Likewise.
1065 * doc/md.texi: Likewise.
1067 2004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1069 * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
1071 2004-01-06 Jan Hubicka <jh@suse.cz>
1073 * i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
1074 (function_arg_advance): Do not pass aggregates in SSE; deal handling
1076 (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
1078 * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
1079 (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
1080 (MMX_REGPARM_MAX): Similarly for -mmmx.
1082 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1084 * config/sh/linux.h: Fix comment formatting.
1085 * config/sh/netbsd-elf.h: Likewise.
1086 * config/sh/sh.c: Likewise.
1087 * config/sh/sh.h: Likewise.
1088 * config/sh/vxworks.h: Likewise.
1090 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1092 * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
1093 * toplev.c (output_file_directive): Don't use
1094 ASM_OUTPUT_MAIN_SOURCE_FILENAME.
1096 2004-01-05 Daniel Berlin <dberlin@dberlin.org>
1098 * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
1099 (USING_MMAP): We don't support non-mmap.
1100 (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
1102 (struct page_entry): Remove bytes_free.
1103 (struct page_table_chain): Remove.
1104 (struct globals): Remove page_table member.
1105 (loookup_page_table_entry): Function deleted.
1106 (set_page_table_entry): Ditto.
1107 (ggc_allocated_p): No longer need page table lookups.
1108 (ggc_marked_p): Ditto.
1109 (alloc_small_page): Don't care about bytes_free anymore.
1110 (alloc_large_page): Round up size.
1111 (ggc_alloc_zone_1): Mark large objects as such, and calculate
1112 their size the new way.
1113 Remove page table lookups and setting.
1114 (ggc_get_size): Calculate large object size the new way.
1115 (sweep_pages): Redo to account for fact that we no longer have
1117 (ggc_collect): No longer need to reincrement bytes_free.
1118 (ggc_pch_alloc_object): Handle new large objects properly.
1119 (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
1121 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1123 * doc/invoke.texi: Remove a page break.
1125 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1127 * config/avr/avr.c (avr_output_function_prologue): Remove an
1128 extra pair of curly braces.
1130 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1132 * config/mn10300/mn10300.c: Fix comment formatting.
1133 * config/mn10300/mn10300.h: Likewise.
1135 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1137 * tree.h: Update documentation on nothrow_flag.
1138 * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
1141 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1143 * doc/invoke.texi: Remove traces of dead ports.
1145 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1147 * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
1150 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1153 * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
1155 * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
1156 (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
1157 string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check
1158 the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
1159 (mips_symbol_insns): Don't trust the local/global classification.
1160 (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
1161 (override_options): Make -mabicalls -fno-unit-at-a-time imply
1162 -mno-explicit-relocs.
1163 (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
1164 between local and global symbols.
1166 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1168 * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
1169 (mips_preferred_reload_class): Declare.
1170 * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
1171 (EXTRA_CONSTRAINT): Update accordingly.
1172 (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
1173 * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
1174 (mips_preferred_reload_class): New function. Prefer LEA_REGS if
1175 mips_dangerous_for_la25_p.
1176 (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
1177 if mips_dangerous_for_la25_p.
1179 2004-01-05 Bernardo Innocenti <bernie@develer.com>
1181 * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
1184 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org>
1186 * configure.ac: Use AC_PROG_CPP_WERROR.
1187 * configure: Regenerate.
1189 2004-01-04 Zack Weinberg <zack@codesourcery.com>
1191 * .cvsignore: Add autom4te.cache.
1193 2004-01-04 Richard Sandiford <rsandifo@redhat.com>
1195 * doc/invoke.texi: Revamp documentation of MIPS options. Remove
1196 -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
1197 -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first,
1198 then architecture options, then ABI options. General rewording.
1200 2004-01-04 Joseph S. Myers <jsm@polyomino.org.uk>
1203 * doc/extend.texi: Clarify definition of malloc attribute.
1205 2004-01-04 Jan Hubicka <jh@suse.cz>
1207 * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
1208 * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
1209 * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
1210 (cgraph_inline_p): Add extra argument reason.
1211 * cgraphunit.c: Minor formating fixes.
1212 cgraph_first_inlined_callee): New functions.
1213 (record_call_1): Record builtins too.
1214 (cgraph_analyze_function): Update inline_failed messages.
1215 (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
1216 cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
1217 (cgraph_check_inline_limits): Likewise; Add argument reason.
1218 (cgraph_set_inline_failed): New static function.
1219 (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
1221 (cgraph_inline_p): Add new argument reason.
1222 * tree-inline.c (expand_call_inline): Update warning.
1224 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
1226 * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
1227 with modern equivalents.
1228 * configure: Regenerate.
1230 * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
1231 * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
1232 * configure: Regenerate.
1234 * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
1236 * configure.in: Rename to configure.ac.
1237 * configure.ac: Renamed from configure.in; make minimum necessary
1238 changes for autoconf 2.5x.
1239 * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
1240 * configure: Regenerate with autoconf 2.57.
1242 2004-01-03 Kazu Hirata <kazu@cs.umass.edu>
1244 * config/mips/linux.h: Fix comment formatting.
1245 * config/mips/mips.c: Likewise.
1246 * config/mips/mips.h: Likewise.
1247 * config/mips/mips.md: Likewise.
1248 * config/mips/netbsd.h: Likewise.
1249 * config/mips/windiss.h: Likewise.
1251 2004-01-02 Richard Henderson <rth@redhat.com>
1253 * config/i386/i386.md (fp constant pool splitter): Reorg suppression
1254 for sse and 387; add suppression for mmx.
1256 2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
1258 * loop.c (loop_optimize): Free all loops_info's mems.
1260 * c-typeck.c (finish_init): Free spelling_base before
1263 * cfgloop.c (flow_loops_find): Always free the sbitmap
1266 * predict.c (estimate_probability): Free bbs after being
1269 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
1271 * config/mn10300/mn10300.h (PREDICATE_CODES): Add
1272 const_8bit_operand and call_address_operand.
1274 2004-01-02 Jan Hubicka <jh@suse.cz>
1276 * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls
1277 when there is nothing to inline but warnings are requested.
1278 (cgraph_decide_inlining): Fix memory leak.
1280 2004-01-02 Jan Hubicka <jh@suse.cz>
1282 * expr.c (store_constructor): Fix pasto in previous patch.
1284 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
1286 * config/i386/cygming.h: Fix comment formatting.
1287 * config/i386/djgpp.h: Likewise.
1288 * config/i386/gthr-win32.c: Likewise.
1289 * config/i386/i386-interix.h: Likewise.
1290 * config/i386/i386.c: Likewise.
1291 * config/i386/i386.h: Likewise.
1292 * config/i386/openbsd.h: Likewise.
1293 * config/i386/winnt.c: Likewise.
1294 * config/i386/xm-mingw32.h: Likewise.
1296 2004-01-02 Joseph S. Myers <jsm@polyomino.org.uk>
1298 * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
1299 copyright and last modification dates.
1301 2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de>
1303 * doc/install.texi (Specific): Mention x86_64.
1305 2004-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1307 * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
1308 Call force_operand on plus_constant result.
1310 2004-01-01 Jan Hubicka <jh@suse.cz>
1312 * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
1313 * expr.c (store_constructor): Use vec_init pattern.
1314 * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
1315 * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
1316 (vec_set_optab, vec_extract_optab, vec_init_optab): New.
1317 * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
1319 (sse2_unpc?pd): Fix pattern.
1320 (sse2_movlpd): Kill.
1321 (sse2_movsd): Deal with movlpd too.
1322 * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
1323 (ix86_expand_vector_init): New.
1324 * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
1325 * md.texi (vec_set, vec_extract): Document
1327 2003-12-31 Jan Hubicka <jh@suse.cz>
1330 * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside
1334 * toplev.c (dump_file_index): Reorder ce3 and bbro.
1335 (dump_file): Likewise.
1336 (rest_of_compilation): Likewise.
1339 * cgraph.c (cgraph_function_possibly_inlined): Even with
1340 flag_really_no_inline we inline always_inline functions.
1341 * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
1342 for non-always_inline functions when there is flag_really_no_inline.
1343 (cgraph_decide_inlining): Limit work done when not inlining.
1344 (cgraph_decide_inlining_incrementally): Likewise.
1345 (cgraph_optimize_function): Check whether something got inlined.
1346 * c-objc-common.c (c_disregard_inline_limits): Do not always inline
1347 extern inline functions when not inlining.
1349 * opts.c (decode_options): Disable crossjumping at -O1
1350 * invoke.texi (-O1): Document change.
1352 See ChangeLog.10 for earlier changes.