1 2004-01-16 J"orn Rennecke <joern.rennecke@superh.com>
4 * postreload.c (reload_cse_simplify_operands): Don't remove
5 implicit extension from LOAD_EXTEND_OP.
7 2004-01-16 Jan Hubicka <jh@suse.cz>
10 * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal
12 * cfgrtl.c (rtl_can_merge_blocks, cfglayout_can_merge_blocks,
13 rtl_try_redirect_by_replacing_branch): Likewise.
15 2004-01-15 Geoffrey Keating <geoffk@apple.com>
18 * alias.c (struct alias_set_entry): Mark for GC.
19 (alias_sets): Make static, mark for GC.
20 (record_alias_subset): Use GC to allocate alias structures.
21 * varray.c (element): Make generic varrays GCed.
24 * c-typeck.c (constructor_asmspec): Delete.
25 (struct initializer_stack): Delete field 'asmspec'.
26 (start_init): Delete saving of asmspec.
27 (finish_init): Don't update constructor_asmspec.
28 * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
29 * stmt.c (expand_asm): Duplicate strings from tree.
30 (expand_asm_operands): Likewise.
31 * tree.c (tree_size): Update computation of size of STRING_CST.
32 (make_node): Don't make STRING_CST nodes.
33 (build_string): Allocate string with tree node.
34 * tree.def (STRING_CST): Update comment.
35 * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
36 (tree_string): Place contents of string in tree node.
37 * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
40 * config/rs6000/rs6000.c (rs6000_va_arg): No need to special-case
43 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
45 * c-common.h: Fix comment formatting.
46 * c-cppbuiltin.c: Likewise.
47 * c-pragma.c: Likewise.
49 * collect2.c: Likewise.
50 * cppcharset.c: Likewise.
51 * cpptrad.c: Likewise.
53 * defaults.h: Likewise.
54 * dwarf2out.c: Likewise.
55 * fold-const.c: Likewise.
56 * genautomata.c: Likewise.
57 * genconditions.c: Likewise.
58 * genflags.c: Likewise.
59 * gengtype.c: Likewise.
60 * integrate.c: Likewise.
62 * predict.c: Likewise.
65 2004-01-15 Zack Weinberg <zack@codesourcery.com>
67 * config/ia64/ia64.md (*movti_internal): C output template
69 (*movti_internal_reg): Delete.
70 (reload_inti, reload_outti): Use the correct mode on operand 2
71 in the first place, don't fix it up in the output template.
72 (movtf, reload_ointf, reload_outtf): New expanders.
73 (*movtf_internal): New define_insn_and_split.
74 * config/ia64/ia64.c (ia64_split_timode): Rename to ia64_split_tmode;
75 make static; do not hand TFmode CONST_DOUBLEs to split_double.
76 (ia64_split_tmode_move): New function, body mostly pulled
77 from ia64.md:*movti_internal.
78 (ia64_function_arg_words): New function, extracted common
79 logic from ia64_function_arg et seq.
80 (ia64_function_arg_offset): Likewise. Handle correctly the
81 case of a scalar quantity 16 bytes wide with only 8-byte alignment.
82 (ia64_function_arg, ia64_function_arg_partial_nregs)
83 (ia64_function_arg_advance): Use ia64_function_arg_words and
84 ia64_function_arg_offset.
85 (ia64_function_value): TCmode does not go in float regs.
86 (ia64_secondary_reload_class): Also handle TFmode.
87 * config/ia64/ia64-protos.h: Remove prototype for
88 ia64_split_timode; add prototype for ia64_split_tmode_move.
90 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
92 * Makefile.in (MAINT): Make it an immediate assignment.
94 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
96 * config/m32r/m32r.md: Remove useless calls to gen_lowpart.
98 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
100 * config/h8300/coff.h: Replace Hitachi with Renesas.
101 * config/h8300/elf.h: Likewise.
102 * config/h8300/h8300-protos.h: Likewise.
103 * config/h8300/h8300.c: Likewise.
104 * config/h8300/h8300.h: Likewise.
105 * config/h8300/h8300.md: Likewise.
106 * config/h8300/lib1funcs.asm: Likewise.
108 2004-01-15 Andrew Pinski <apinski@apple.com>
110 * config/rs6000/rs6000.c (uses_TOC): Wrap #if TARGET_ELF
113 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
115 * config/h8300/h8300.c (h8300_return_in_memory): New.
116 (TARGET_STRUCT_VALUE_RTX): Likewise.
117 (TARGET_RETURN_IN_MEMORY): Likewise.
118 * config/h8300/h8300.h (STRUCT_VALUE): Remove.
119 (RETURN_IN_MEMORY): Likewise.
121 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
123 PR optimization/13375
124 * gcse.c (handle_avail_expr): Just return if the source is not a
127 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
128 Daniel Jacobowitz <drow@mvista.com>
130 * arm/lib1funcs.asm (ARM_FUNC_START): Correct interworking case.
132 (ARM_FUNC_ALIAS): New macro.
133 * arm/ieee754-df.S (gedf2, ledf2, nedf2, eqdf2): Use it.
134 * arm/ieee754-sf.S (gesf2, lesf2, nesf2, eqsf2): Use it.
136 2004-01-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
138 PR optimization/12372
139 * calls.c (expand_call): Add call_fusage data for stack arguments in
142 2004-01-15 Alan Modra <amodra@bigpond.net.au>
144 * config/rs6000/rs6000.c (uses_TOC): Correct comment. Make static.
145 (rs6000_elf_declare_function_name): Formatting.
146 * config/rs6000/rs6000-protos.h (uses_TOC): Remove declaration.
148 2004-01-15 Jan Hubicka <jh@suse.cz>
151 * sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in
154 2004-01-15 Richard Henderson <rth@redhat.com>
156 * config/alpha/alpha.h (REG_ALLOC_ORDER): Reorder fp regs after
157 integer regs of the same call-savedness.
159 2004-01-15 Andreas Schwab <schwab@suse.de>
162 * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
163 status for NOTB/NOTW/NEGW methods.
165 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
167 * doc/invoke.texi: Update dump file names. Fix a typo.
169 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
171 * builtins.c (expand_builtin_va_end): Don't use
172 EXPAND_BUILTIN_VA_END.
173 * system.h (EXPAND_BUILTIN_VA_END): Poison.
174 * config/d30v/d30v.h: Remove a commented-out definition of
175 EXPAND_BUILTIN_VA_END.
176 * config/stormy16/stormy16.h: Likewise.
178 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
180 * system.h (STRUCT_VALUE_INCOMING_REGNUM): Poison.
181 * targhooks.c (default_struct_value_rtx): Don't use
182 STRUCT_VALUE_INCOMING_REGNUM.
184 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
187 * configure.in: Revamp enable-generated-files-in-srcdir rule to define
188 GENINSRC and not parsedir. Define srcextra as a langhook.
189 * configure: Regenerate.
190 * Makefile.in: Suppress default .l.c rule. Don't substitute
191 parsedir and delete all references throughout. Conditionally define
192 rule for srcextra dependent on GENINSRC.
193 (stmp-docobjdir): Delete.
194 (c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule.
195 (srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c,
196 and gengtype-yacc.h back to source directory.
197 (maintainer-clean): Delete all parse files in source directory.
198 (distclean): Delete generated files.
200 * objc/Make-lang.in (objc-parse.o): Use implicit build rule.
201 (objc-parse.c, objc-parse.y): Don't use parsedir.
202 (objc.srcextra): Copy objc-parse.y and objc-parse.c back to source
203 directory if requested.
204 (po-generated): Don't use parsedir.
205 (objc.maintainer-clean): Delete above files from source directory.
207 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
209 * doc/tm.texi (FUNCTION_VALUE): Fix a typo.
211 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
213 * doc/tm.texi: Replace RETURN_IN_MEMORY with
214 TARGET_RETURN_IN_MEMORY.
216 2004-01-15 Jan Hubicka <jh@suse.cz>
218 * builtins.c (std_expand_builtin_va_arg): Align operand when needed.
219 * i386.c (init_cumulative_args): Set warn_sse; fix handling of variadic
220 functions accepting SSE arguments
221 (function_arg): Warn only when asked to warn.
222 * i386.h (ix86_args): Add warn_sse/warn_mmx fiels.
224 2004-01-14 Joseph S. Myers <jsm@polyomino.org.uk>
226 * c-parse.in (stmts_and_decls): Make label at end of compound
227 statement a hard error.
229 2004-01-14 Jan Hubicka <jh@suse.cz>
231 * cgraph.c (create_edge): Use local.redefined_extern_inline.
232 * cgraph.h (cgraph_local_info): Sort fields by size; add
233 redefined_extern_inline
234 (cgraph_global_info): Sort fields by size.
235 (cgraph_node): Likewise.
236 * cgraphunit.c (cgraph_finalize_function): Se
237 local.redefined_extern_inline on redefinition.
238 (cgraph_analyze_function): Use it; fix formating.
240 2004-01-14 Jan Hubicka <jh@suse.cz>
243 * sched-deps.c (trye_dependency_cache, anti_dependency_cache,
244 outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of
246 (cache_size): New variable
247 (add_dependence): Update use; canonize early memory locations
248 (sched_analyze_1): Likewise.
249 (sched_analyze_2): Likewise.
250 (init_dependency_caches): Initialize bitmaps.
251 (free_dependency_caches): Free bitmaps
253 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
255 * calls.c: Replace STRICT_ARGUMENT_NAMING in comments with
256 targetm.calls.strict_argument_naming().
257 * target.h: Likewise.
259 2004-01-14 Richard Henderson <rth@redhat.com>
262 * dwarf2out.c (dwarf2out_stack_adjust): Skip prologue and epilogue
265 2004-01-14 Richard Henderson <rth@redhat.com>
268 * except.c (struct eh_region): Add u.fixup.resolved.
269 (resolve_one_fixup_region): Split out from ...
270 (resolve_fixup_regions): ... here.
272 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
274 * config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0.
276 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
278 * config/alpha/alpha.h (STRUCT_VALUE): Remove.
279 * config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef.
280 (STRUCT_VALUE): Remove.
282 2003-01-14 Steven Bosscher <stevenb@suse.de>
284 * system.h: Poison PROMOTED_MODE
285 * integrate.c (expand_inline_function): Don't mention the
287 * loop.c (update_giv_derive): Same.
288 * tree.h (DECL_RTL): Same.
290 2004-01-14 J"orn Rennecke <joern.rennecke@superh.com>
293 * sh.c (gen_block_redirect): Add special handling of RETURN.
294 (gen_far_branch) Don't call gen_stuff_delay_slot if there is no
295 far branch target (i.e. it's a return).
297 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
299 * regrename.c (find_oldest_value_reg): Fix a warning.
301 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
304 * config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file.
305 Move linux-gas.h and linux-elf.h before aout.h.
306 * arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already.
307 * arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define.
309 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
311 * config/m32r/m32r.md: Use GEN_INT instead of gen_rtx
312 (CONST_INT, VOIDmode, ...).
314 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
316 * regrename.c (find_oldest_value_reg): If the replacement uses
317 multiple hard registers, check that all of them are in CLASS.
319 2004-01-14 Jan Hubicka <jh@suse.cz>
321 * alias.c (get_alias_set): Initialize alias set to 0 when subset is
324 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
326 * Makefile.in: Define MAINT from --enable-maintainer-mode.
328 2004-01-14 Hartmut Penner <hpenner@de.ibm.com>
330 * gcc/config/rs6000/rs6000.c (rs6000_stack_info)
331 Calculate always vrsave_mask if TARGET_ALTIVEC.
332 (rs6000_emit_prologue): Emit code for vrsave
333 only if TARGET_ALTIVEC_VRSAVE.
334 (rs6000_emit_epilogue): Likewise.
336 2004-01-14 Eric Botcazou <ebotcazou@libertysurf.fr>
338 * config/sparc/sparc.md (tie_add32): Fix pasto.
339 (tie_add64): Likewise.
341 2004-01-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
343 * config/i386/i386.md (*addqi_1_slp): Do not access operands[2].
345 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
347 * config/iq2000/iq2000-protos.h: Fix comment formatting.
348 * config/iq2000/iq2000.c: Likewise.
349 * config/iq2000/iq2000.md: Likewise.
351 2004-01-14 J. Brobecker <brobecker@gnat.com>
353 * dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
354 (subrange_type_die): Add handle for nameless subrange types.
356 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
358 * config/h8300/h8300-protos.h: Replace do_movsi with
360 * config/h8300/h8300.c (do_movsi): Change to
362 * config/h8300/h8300.md (movsi): Replace do_movsi with
366 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
368 * config/h8300/h8300.c (dosize): Change to
369 h8300_emit_stack_adjustment. Update callers.
371 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
373 * config/h8300/h8300.md (movstrictqi): Add an alternative with
374 the source being post_inc. Tighten the predicate for the
375 destination to register_operand.
376 (movstricthi): Likewise.
378 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
380 * system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
381 * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP.
382 * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove.
384 2004-01-14 Jan Hubicka <jh@suse.cz>
386 Partial fix PR c++/12850
387 * cgraphunit.c (cgraph_finalize_function): Always ggc_collect when
390 2004-01-13 Bernardo Innocenti <bernie@develer.com>
392 * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
395 2004-01-13 Devang Patel <dpatel@apple.com
398 * dbxout.c (dbxout_symbol_name): Emit mangled names for
399 NAMESPACE_DECL memebers.
401 2004-01-13 Andrew Pinski <pinskia@physics.uc.edu>
404 * c-common.c (finish_fname_decls): Use the chain only if the
405 tree is an expr_stmt.
407 2004-01-13 Vladimir Makarov <vmakarov@redhat.com>
409 * rtl.def: Add comment about new option in automata_option.
411 * genautomata.c (PROGRESS_OPTION): New macro.
412 (progress_flag): New global variable.
413 (gen_automata_option): Process `progress'.
414 (transform_insn_regexps, check_unit_distributions_to_automata,
415 make_automaton, NDFA_to_DFA, build_automaton, create_automata,
416 expand_automata, write_automata): Print about the progress only if
417 progress_flag. Remove fflush.
418 (initiate_automaton_gen): Process command line flag `-progress'.
420 * doc/md.texi: Describe the new option.
422 2004-01-13 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
424 * cfg.c (dump_bb): Dump entry edges.
426 2004-01-13 Richard Earnshaw <rearnsha@arm.com>
428 * arm.c (thumb_legitimate_address_p): Only allow constant pool
429 references from SImode.
430 * arm.md (thumb_movhi_insn): Don't allow minipool references.
432 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
434 * system.h (TEXT_SECTION): Poison.
435 * varasm.c (text_section): Don't use TEXT_SECTION.
436 * config/sh/sh.c (sh_file_start): Fix a comment typo.
437 * doc/tm.texi (TEXT_SECTION): Remove.
439 2004-01-13 Ben Elliston <bje@wasabisystems.com>
441 * doc/rtl.texi (Vector Operations): Remove defunct vec_const item.
443 2004-01-12 James E Wilson <wilson@specifixinc.com>
445 * unwind-libunwind.c: Delete.
447 2004-01-12 Zack Weinberg <zack@codesourcery.com>
450 * c-decl.c (diagnose_mismatched_decls): Whenever newtype or
451 oldtype is set, set *newtypep or *oldtypep too. Do not set
452 them at the very end.
453 (validate_proto_after_old_defn): Restructure for comprehensibility;
454 make error messages clearer.
456 2004-01-12 Zack Weinberg <zack@codesourcery.com>
458 * varray.h (VARRAY_POP): Add checking variant, aborts on underflow.
459 (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked.
460 * varray.c: No need to prototype error.
461 (varray_check_failed): Wrap long string onto two lines.
462 (varray_underflow): New function.
464 2004-01-13 Steven Bosscher <stevenb@suse.de>
467 * function.h (struct function): Kill `name' field.
468 (current_function_name): Make it an extern function.
469 * function.c (current_function_name): New function.
470 * graph.c: Update all uses of current_function_name.
472 * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
473 config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
474 * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
475 instead of a strcmp with "main".
477 2004-01-13 Jan Hubicka <jh@suse.cz>
479 * c-decl.c (diagnose_mismatched_decls): Fix warning calls.
481 * cgraphunit.c (cgraph_optimize_function): Always do
482 optimize_inline_calls when there is always_inline callee.
483 (cgraph_decide_inlining): Fix formating.
484 * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
486 (expand_call_inline): Likewise.
487 * toplev.h (sorry): Fix prototype.
489 2004-01-12 Roger Sayle <roger@eyesopen.com>
491 * builtins.c (expand_builtin_expect_jump): Simplify logic. Handle
492 conditional jumps that drop through to unconditional jumps or the
495 2004-01-13 Jan Hubicka <jh@suse.cz>
497 * alias.c (new_alias_set): Construct the alias_set varray.
498 (init_alias_once): Don't do it here.
500 2004-01-12 Marc Espie <espie@openbsd.org>
502 * system.h: handle YYBYACC like YYBISON.
504 2004-01-12 Jonathan Merriman <jonm@dualitymedia.com>
507 * config.gcc: No longer includes conflicting header sparc/sol2.h when
508 building on sparc64-*-openbsd*.
510 2004-01-12 Andrew Pinski <pinskia@physics.uc.edu>
513 * dbxout.c (dbxout_type): Protected inheritance is not
514 private but protected.
516 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
518 * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.
520 2004-01-12 Kazu Hirata <kazu@cs.umass.edu>
522 PR optimization/12508.
523 * combine.c (try_combine): Remove a dead set in a parallel
524 even if its destination is a subreg.
527 2003-06-03 Kazu Hirata <kazu@cs.umass.edu>
528 * combine.c (simplify_set): Don't move a subreg in SET_SRC to
529 SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
531 2004-01-12 Geoffrey Keating <geoffk@apple.com>
533 * real.c: Update copyright date.
534 * emit-rtl.c: Likewise.
536 * dwarf2out.c: Likewise.
537 * config/rs6000/darwin-ldouble.c: Likewise.
538 * config/rs6000/rs6000.md: Likewise.
540 2004-01-12 David Edelsohn <edelsohn@gnu.org>
542 * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
543 TFmode to SImode libfuncs.
545 2004-01-12 Roger Sayle <roger@eyesopen.com>
548 * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
550 2004-01-12 Jan Hubicka <jh@suse.cz>
553 * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
557 * cfgcleanup.c (label_is_jump_target_p): Move to...
558 * rtlanal.c (label_is_jump_target_p): ... here.
559 * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Fix redirecting of fallthru
560 edges unified with branch edges.
562 2004-01-12 Richard Earnshaw <rearnsha@arm.com>
564 * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
565 high word of an integral CONST_DOUBLE.
567 2004-01-12 Paul Brook <paul@codesourcery.com>
569 * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
571 2004-01-12 J"orn Rennecke <joern.rennecke@superh.com>
574 * sh-protos.h (check_use_sfunc_addr): Declare.
575 * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
576 * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
578 2004-01-12 Jan Hubicka <jh@suse.cz>
580 * alias.c: Invlude varray.h
581 (alias_sets): Turn into varray.
582 (get_alias_set_entry): Use VARRAY; mark inline.
583 (mems_in_disjoint_alias_sets_p): Mark inline.
584 (record_alias_subset): Use varray.
585 (init_alias_once): Initialize varray.
586 (new_alias_set): Grow array.
587 * varray.c: Make VARRAY_GENERIC_PTR non GTYized.
589 2004-01-12 Jan Hubicka <jh@suse.cz>
591 Partial fix for PR opt/10776 II
592 * cselib.c: Include params.h
593 (cselib_invalidate_mem): Limit amount of nonconflicting memory
595 * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
596 * Makefile.in (cselib.o): Depend on params.h
598 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
600 * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
601 simplify_unary_operation if the operand has a known mode.
603 2004-01-12 Hartmut Penner <hpenner@de.ibm.com>
606 * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
607 predicate to handle 'ld' conform addresses.
608 * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
610 (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
611 are memory contraints.
612 * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
614 * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
615 Change 'o' to 'Y' constraint.
616 (*movdf_softfloat64): Ditto.
618 2004-01-12 Bernardo Innocenti <bernie@develer.com>
620 * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
621 brace-enclosed syntax in all C output statements.
623 2004-01-12 David Edelsohn <edelsohn@gnu.org>
626 * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
627 Objective-C language type value is 14.
629 2004-01-12 Markus F.X.J. Oberhumer <markus@oberhumer.com>
632 * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
633 `int' in a number of places to make sure we always have a SImode
634 and not a HImode. Add a 'L' suffix to a number of constants.
636 2004-01-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
638 * pa.c: Don't include obstack.h.
640 * pa.md: Correct constraint in pattern for loading PIC label address.
642 2004-01-11 Kaz Kojima <kkojima@gcc.gnu.org>
644 * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
647 2004-01-11 Steven Bosscher <stevenb@suse.de>
650 * toplev.c (rest_of_handle_inline): Also consider functions
651 for deferral if the language is GNU F77.
653 2004-01-11 Zack Weinberg <zack@codesourcery.com>
655 * c-decl.c (diagnose_arglist_conflict): Add missing space to
658 2004-01-11 Jakub Jelinek <jakub@redhat.com>
661 * builtins.c (expand_builtin_expect_jump): Handle conditional jumps
662 to drop through label. Don't fall back to SCC even when conditional
663 jump has not been found.
665 2004-01-11 Jan Hubicka <jh@suse.cz>
667 * invoke.texi: Fix syntax error in previous patch.
669 Partial fix for PR opt/10776
670 * Makefile.in (reload.o): Include param.h
671 * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter.
672 * reload.c: Include params.h.
673 (find_equiv_reg): Work limiting check.
674 * invoke.texi: Document.
676 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
678 * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
679 out-of-bounds accesses to string constants. Simplify mips16
682 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
684 PR optimization/13469
685 * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
686 reload_cse_regs (-fnon-call-exceptions only).
688 2004-01-11 Kazu Hirata <kazu@cs.umass.edu>
690 * config/mcore/lib1.asm: Fix comment formatting.
691 * config/mcore/mcore-elf.h: Likewise.
692 * config/mcore/mcore.c: Likewise.
693 * config/mcore/mcore.h: Likewise.
694 * config/mcore/mcore.md: Likewise.
696 2004-01-10 Zack Weinberg <zack@codesourcery.com>
698 * c-decl.c (duplicate_decls): Break apart into...
699 (diagnose_arglist_conflict, validate_proto_after_old_defn)
700 (locate_old_defn, diagnose_mismatched_decls, merge_decls):
701 ... these new functions. Restructure for comprehensibility.
702 Remove various archaic special cases. Always report the
703 location of the previous declaration when a diagnostic is issued.
704 (redeclaration_error_message): Fold into diagnose_mismatched_decls.
705 (match_builtin_function_types): Delete unnecessary forward declaration.
707 2004-01-10 Zack Weinberg <zack@codesourcery.com>
709 * genautomata.c (make_automaton, NDFA_to_DFA):
710 Print progress bars with '.' characters instead of '*'.
711 (build_automaton): Change notes to match.
713 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
715 * config/m32r/m32r.md: Use define_constants for unspec and
718 2004-01-10 Jan Hubicka <jh@suse.cz>
721 * expr.c (expand_expr_real): More curefully expand union casts.
723 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
725 * config/m32r/m32r.md (flush_icache): Use 1 for
728 2004-01-10 David Edelsohn <edelsohn@gnu.org>
729 James E Wilson <wilson@specifixinc.com>
732 * dbxout.c (dbxout_symbol): Remove initialization of
733 current_sym_code, current_sym_value, and current_sym_addr.
734 (dbxout_symbol_location): Same.
735 (dbxout_prepare_symbol): Zero current_sym_code,
736 current_sym_value, and current_sym_addr.
738 2004-01-10 Richard Sandiford <rsandifo@redhat.com>
740 * tree.c (get_unwidened): Reorder conditions so that the null pointer
743 2004-01-09 Eric Christopher <echristo@redhat.com>
745 * toplev.c (rest_of_handle_cfg): Add reg_scan pass
746 if we're running mark_constant_function.
748 2004-01-09 Jeff Bailey <jbailey@nisa.net>
751 * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
753 2004-01-09 Andrew Pinski <pinskia@physics.uc.edu>
756 * dbxout.c (dbxout_type_fields): Return if any item is
757 error_mark_node or the type is error_mark_node.
759 2004-01-09 Geoffrey Keating <geoffk@apple.com>
761 * config/rs6000/darwin-ldouble.c: Add big comment explaining
762 exactly what is expected as a 'long double'.
763 (_xlqadd): When a value to be returned is representable as a
764 'double', just return it directly, do not construct it using a union.
765 Also, correct final fixup.
768 * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.
770 * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
772 2004-01-09 Richard Henderson <rth@redhat.com>
774 * recog.c (constrain_operands): Validate mem operands.
776 2004-01-09 James E Wilson <wilson@specifixinc.com>
778 * gcc.c (init_spec): Remove -lunwind from shared case.
779 * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
781 2004-01-09 Steve Ellcey <sje@cup.hp.com>
783 * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
784 * configure: Regenerate
786 2004-01-09 Joseph S. Myers <jsm@polyomino.org.uk>
789 * c-typeck.c (build_c_cast): If pedantic, warn for conversions
790 between function and object pointers.
791 (digest_init): When comparing a pointer to function type to the
792 target type, only apply TREE_TYPE once to the pointer to function
794 * except.c (for_each_eh_label_1): Treat data as a pointer to a
795 function pointer rather than casting it to a function pointer.
796 (for_each_eh_label): Update caller.
797 * recog.h (struct insn_data): Use a struct or union for output.
798 * genoutput.c (output_insn_data): Update.
799 * final.c (get_insn_template): Update.
801 2004-01-09 Mark Mitchell <mark@codesourcery.com>
803 * expr.h (expand_expr): Make it a macro, not a function.
804 (expand_expr_real): New function.
805 * expr.c (store_expr): Adjust logic for deciding whether or not to
806 copy the value returned by expand_expr.
807 (expand_expr): Rename to ...
808 (expand_expr_real): ... this. Add alt_rtl parameter. Adjust
809 calls to language hooks.
810 * c-common.h (c_expand_expr): Adjust prototype.
811 * c-common.c (c_expand_expr): Add alt_rtl parameter.
812 * langhooks-def.h (lhd_expand_expr): Change prototype.
813 * langhooks.c (lhd_expand_expr): Add all_rtl parameter.
814 * langhooks.h (lang_hooks): Change type of expand_expr.
815 * stmt.c (stmt_status): Add x_last_expr_alt_rtl.
816 (last_expr_alt_rtl): Likewise.
817 (expand_expr_stmt_value): Set last_expr_alt_rtl.
818 (clear_last_expr): Clear it.
819 (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
820 (expand_end_bindings): Save and restor last_expr_alt_rtl.
821 * tree.def (RTL_EXPR): Give it an additional operand.
822 * tree.h (RTL_EXPR_ALT_RTL): New macro.
824 2004-01-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
826 * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
827 * config/m32r/m32r.c (call26_operand): Allow in PIC mode.
829 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
832 * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
833 or (ne:SI (reg:CC 17) (const_int 0)).
834 Be specific about modes wherever possible.
836 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
838 * config/m32r/m32r.c (m32r_expand_block_move): Call
839 gen_movestrsi_internal with two more arguments.
840 (m32r_output_block_move): Adjust operand numbers.
841 Properly update the source and destination pointers.
842 * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
843 'r+'. Change the set detinations to match_operand.
845 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
847 * final.c (FIRST_INSN_ADDRESS): Remove.
848 (shorten_branches): Don't use FIRST_INSN_ADDRESS.
849 * system.h (FIRST_INSN_ADDRESS): Poison.
850 * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
851 * config/m32r/m32r-protos.h: Remove the prototype for
852 m32r_first_insn_address.
853 * config/m32r/m32r.c (m32r_first_insn_address): Remove.
854 * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
855 * doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
857 2004-01-09 J. Brobecker <brobecker@gnat.com>
859 * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
861 (is_ada_subrange_type): DIEs for enumeration subtypes should be
862 emitted as subrange types too.
863 (subrange_type_die): Add handling of enumeration subtypes.
865 2004-01-08 Richard Henderson <rth@redhat.com>
868 Revert: Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
869 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
870 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
871 (ix86_address_cost): Be prepared for SUBREGed registers.
872 (legitimate_address_p): Accept SUBREGed registers.
874 2004-01-08 Kelley Cook <kcook@gcc.gnu.org>
876 * Makefile.in: Rename configure.in to configure.ac
877 * doc/sourcebuild.texi: Likewise.
878 * configure: Regenerate.
879 * config.in: Regenerate.
881 2004-01-08 Stuart Hastings <stuart@apple.com>
883 * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
885 2004-01-08 Jan Hubicka <jh@suse.cz>
887 * cgraphunit.c (cgraph_decide_inlining): Fix typo.
889 2004-01-08 Geoffrey Keating <geoffk@apple.com>
891 * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
892 (UNSPEC_FIX_TRUNC_TF): New constant.
893 (movtf_internal): Make splitter active only when insn is active.
894 (extenddftf2): Rewrite to properly load zero into low part.
895 (extenddftf2_internal): New.
896 (extendsftf2): Rewrite.
897 (truncdftf2): Correct length.
898 (floatditf2): Delete.
899 (fix_trunc_helper): New.
900 (fix_trunctfdi2): Use fix_trunc_helper.
901 (fix_trunctfsi2): Likewise.fix_trunc
902 (fix_trunctfsi2_internal): New.
904 * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
905 addresses are legitimate on Darwin even when flag_pic.
906 (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
907 non-offsettable addresses for loads of TFmode constants.
909 2004-01-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
911 * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
912 variables in the appropriate bss section.
914 2004-01-09 Alan Modra <amodra@bigpond.net.au>
916 * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
917 target_flags has MASK_POWERPC64 when -m64.
918 * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
919 to 620, 630, power3, power4 and rs64a entries.
920 * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
922 2004-01-08 Richard Sandiford <rsandifo@redhat.com>
924 * simplify-rtx.c (simplify_immed_subreg): Fix construction of
925 floating-point constants.
927 2004-01-08 J. Brobecker <brobecker@gnat.com>
929 * dwarf2out.c (subrange_type_die): Add context_die parameter.
930 Create the subrange_type DIE using the given context DIE.
931 (modified_type_die): Update call to subrange_type_die.
933 2004-01-08 Zack Weinberg <zack@codesourcery.com>
935 * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
936 Add multiple-include guard.
938 2004-01-08 Hartmut Penner <hpenner@de.ibm.com>
940 * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
941 all vector constant loadable by vsplt*.
942 (output_vec_const_move): Likewise.
944 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
947 * c-typeck.c (comptypes): Only treat enumerated types in the same
948 translation unit as compatible with each other when they are the
950 * doc/extend.texi: Update.
952 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
955 * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
956 array type from the array element type.
958 2004-01-07 Alan Modra <amodra@bigpond.net.au>
960 * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
961 * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
962 * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
963 (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
964 * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
966 2004-01-06 Eric Christopher <echristo@redhat.com>
968 * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
969 (DWARF2_DEBUGGING_INFO): Define.
970 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
971 * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
972 * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
974 (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
975 * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
976 * config/mips/iris5gas.h: Ditto.
977 (DBX_DEBUGGING_INFO): Remove.
978 (DWARF2_DEBUGGING_INFO): Ditto.
979 (MIPS_DEBUGGING_INFO): Ditto.
980 (PREFERRED_DEBUGGING_TYPE): Ditto.
981 * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
982 (PREFERRED_DEBUGGING_TYPE): Ditto.
983 (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
984 * config/mips/elf64.h: Ditto.
986 2004-01-06 Jan Hubicka <jh@suse.cz>
988 * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
989 (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
991 2004-01-06 Geoffrey Keating <geoffk@apple.com>
993 * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
994 (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
995 * config/rs6000/darwin-ldouble.c: New.
997 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
999 (constant_subword): Delete.
1000 * rtl.h (constant_subword): Delete prototype.
1001 (immed_double_const): Is not in varasm.c.
1002 * simplify-rtx.c (simplify_immed_subreg): New.
1003 (simplify_subreg): Use simplify_immed_subreg.
1005 * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
1006 than trying to generate RTL directly.
1007 (fix_trunctfsi2): Use expand_fix rather than trying to generate
1010 * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
1012 2004-01-06 David Edelsohn <edelsohn@gnu.org>
1014 * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
1015 function into a separate macro.
1016 (read_only_data_section): Add void argument.
1017 (private_data_section): Same.
1018 (read_only_private_data_section): Same.
1019 (toc_section): Same.
1021 2004-01-06 Jan Hubicka <jh@suse.cz>
1023 * invoke.texi: Remove typo in last change.
1026 * config.gcc: Accept opteron and athlon-64 as variants
1028 * i386.c (override_options): Likewise.
1029 * invoke.texi (i386 -mtune): Expand documentation.
1031 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
1033 * alias.c: Fix comment typos.
1034 * builtins.c: Likewise.
1037 * dominance.c: Likewise.
1038 * dwarf2out.c: Likewise.
1039 * emit-rtl.c: Likewise.
1041 * final.c: Likewise.
1042 * fold-const.c: Likewise.
1044 * genattrtab.c: Likewise.
1045 * genrecog.c: Likewise.
1046 * gensupport.c: Likewise.
1047 * ggc-zone.c: Likewise.
1048 * integrate.c: Likewise.
1049 * local-alloc.c: Likewise.
1051 * recog.c: Likewise.
1052 * regmove.c: Likewise.
1053 * reg-stack.c: Likewise.
1054 * reorg.c: Likewise.
1055 * rtlanal.c: Likewise.
1057 * sched-ebb.c: Likewise.
1058 * simplify-rtx.c: Likewise.
1059 * toplev.c: Likewise.
1060 * varasm.c: Likewise.
1062 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
1064 * doc/install.texi: Fix typos.
1065 * doc/invoke.texi: Likewise.
1066 * doc/md.texi: Likewise.
1068 2004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1070 * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
1072 2004-01-06 Jan Hubicka <jh@suse.cz>
1074 * i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
1075 (function_arg_advance): Do not pass aggregates in SSE; deal handling
1077 (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
1079 * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
1080 (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
1081 (MMX_REGPARM_MAX): Similarly for -mmmx.
1083 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1085 * config/sh/linux.h: Fix comment formatting.
1086 * config/sh/netbsd-elf.h: Likewise.
1087 * config/sh/sh.c: Likewise.
1088 * config/sh/sh.h: Likewise.
1089 * config/sh/vxworks.h: Likewise.
1091 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1093 * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
1094 * toplev.c (output_file_directive): Don't use
1095 ASM_OUTPUT_MAIN_SOURCE_FILENAME.
1097 2004-01-05 Daniel Berlin <dberlin@dberlin.org>
1099 * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
1100 (USING_MMAP): We don't support non-mmap.
1101 (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
1103 (struct page_entry): Remove bytes_free.
1104 (struct page_table_chain): Remove.
1105 (struct globals): Remove page_table member.
1106 (loookup_page_table_entry): Function deleted.
1107 (set_page_table_entry): Ditto.
1108 (ggc_allocated_p): No longer need page table lookups.
1109 (ggc_marked_p): Ditto.
1110 (alloc_small_page): Don't care about bytes_free anymore.
1111 (alloc_large_page): Round up size.
1112 (ggc_alloc_zone_1): Mark large objects as such, and calculate
1113 their size the new way.
1114 Remove page table lookups and setting.
1115 (ggc_get_size): Calculate large object size the new way.
1116 (sweep_pages): Redo to account for fact that we no longer have
1118 (ggc_collect): No longer need to reincrement bytes_free.
1119 (ggc_pch_alloc_object): Handle new large objects properly.
1120 (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
1122 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1124 * doc/invoke.texi: Remove a page break.
1126 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1128 * config/avr/avr.c (avr_output_function_prologue): Remove an
1129 extra pair of curly braces.
1131 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1133 * config/mn10300/mn10300.c: Fix comment formatting.
1134 * config/mn10300/mn10300.h: Likewise.
1136 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1138 * tree.h: Update documentation on nothrow_flag.
1139 * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
1142 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1144 * doc/invoke.texi: Remove traces of dead ports.
1146 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1148 * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
1151 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1154 * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
1156 * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
1157 (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
1158 string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check
1159 the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
1160 (mips_symbol_insns): Don't trust the local/global classification.
1161 (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
1162 (override_options): Make -mabicalls -fno-unit-at-a-time imply
1163 -mno-explicit-relocs.
1164 (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
1165 between local and global symbols.
1167 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1169 * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
1170 (mips_preferred_reload_class): Declare.
1171 * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
1172 (EXTRA_CONSTRAINT): Update accordingly.
1173 (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
1174 * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
1175 (mips_preferred_reload_class): New function. Prefer LEA_REGS if
1176 mips_dangerous_for_la25_p.
1177 (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
1178 if mips_dangerous_for_la25_p.
1180 2004-01-05 Bernardo Innocenti <bernie@develer.com>
1182 * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
1185 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org>
1187 * configure.ac: Use AC_PROG_CPP_WERROR.
1188 * configure: Regenerate.
1190 2004-01-04 Zack Weinberg <zack@codesourcery.com>
1192 * .cvsignore: Add autom4te.cache.
1194 2004-01-04 Richard Sandiford <rsandifo@redhat.com>
1196 * doc/invoke.texi: Revamp documentation of MIPS options. Remove
1197 -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
1198 -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first,
1199 then architecture options, then ABI options. General rewording.
1201 2004-01-04 Joseph S. Myers <jsm@polyomino.org.uk>
1204 * doc/extend.texi: Clarify definition of malloc attribute.
1206 2004-01-04 Jan Hubicka <jh@suse.cz>
1208 * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
1209 * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
1210 * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
1211 (cgraph_inline_p): Add extra argument reason.
1212 * cgraphunit.c: Minor formating fixes.
1213 cgraph_first_inlined_callee): New functions.
1214 (record_call_1): Record builtins too.
1215 (cgraph_analyze_function): Update inline_failed messages.
1216 (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
1217 cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
1218 (cgraph_check_inline_limits): Likewise; Add argument reason.
1219 (cgraph_set_inline_failed): New static function.
1220 (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
1222 (cgraph_inline_p): Add new argument reason.
1223 * tree-inline.c (expand_call_inline): Update warning.
1225 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
1227 * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
1228 with modern equivalents.
1229 * configure: Regenerate.
1231 * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
1232 * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
1233 * configure: Regenerate.
1235 * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
1237 * configure.in: Rename to configure.ac.
1238 * configure.ac: Renamed from configure.in; make minimum necessary
1239 changes for autoconf 2.5x.
1240 * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
1241 * configure: Regenerate with autoconf 2.57.
1243 2004-01-03 Kazu Hirata <kazu@cs.umass.edu>
1245 * config/mips/linux.h: Fix comment formatting.
1246 * config/mips/mips.c: Likewise.
1247 * config/mips/mips.h: Likewise.
1248 * config/mips/mips.md: Likewise.
1249 * config/mips/netbsd.h: Likewise.
1250 * config/mips/windiss.h: Likewise.
1252 2004-01-02 Richard Henderson <rth@redhat.com>
1254 * config/i386/i386.md (fp constant pool splitter): Reorg suppression
1255 for sse and 387; add suppression for mmx.
1257 2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
1259 * loop.c (loop_optimize): Free all loops_info's mems.
1261 * c-typeck.c (finish_init): Free spelling_base before
1264 * cfgloop.c (flow_loops_find): Always free the sbitmap
1267 * predict.c (estimate_probability): Free bbs after being
1270 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
1272 * config/mn10300/mn10300.h (PREDICATE_CODES): Add
1273 const_8bit_operand and call_address_operand.
1275 2004-01-02 Jan Hubicka <jh@suse.cz>
1277 * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls
1278 when there is nothing to inline but warnings are requested.
1279 (cgraph_decide_inlining): Fix memory leak.
1281 2004-01-02 Jan Hubicka <jh@suse.cz>
1283 * expr.c (store_constructor): Fix pasto in previous patch.
1285 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
1287 * config/i386/cygming.h: Fix comment formatting.
1288 * config/i386/djgpp.h: Likewise.
1289 * config/i386/gthr-win32.c: Likewise.
1290 * config/i386/i386-interix.h: Likewise.
1291 * config/i386/i386.c: Likewise.
1292 * config/i386/i386.h: Likewise.
1293 * config/i386/openbsd.h: Likewise.
1294 * config/i386/winnt.c: Likewise.
1295 * config/i386/xm-mingw32.h: Likewise.
1297 2004-01-02 Joseph S. Myers <jsm@polyomino.org.uk>
1299 * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
1300 copyright and last modification dates.
1302 2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de>
1304 * doc/install.texi (Specific): Mention x86_64.
1306 2004-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1308 * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
1309 Call force_operand on plus_constant result.
1311 2004-01-01 Jan Hubicka <jh@suse.cz>
1313 * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
1314 * expr.c (store_constructor): Use vec_init pattern.
1315 * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
1316 * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
1317 (vec_set_optab, vec_extract_optab, vec_init_optab): New.
1318 * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
1320 (sse2_unpc?pd): Fix pattern.
1321 (sse2_movlpd): Kill.
1322 (sse2_movsd): Deal with movlpd too.
1323 * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
1324 (ix86_expand_vector_init): New.
1325 * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
1326 * md.texi (vec_set, vec_extract): Document
1328 2003-12-31 Jan Hubicka <jh@suse.cz>
1331 * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside
1335 * toplev.c (dump_file_index): Reorder ce3 and bbro.
1336 (dump_file): Likewise.
1337 (rest_of_compilation): Likewise.
1340 * cgraph.c (cgraph_function_possibly_inlined): Even with
1341 flag_really_no_inline we inline always_inline functions.
1342 * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
1343 for non-always_inline functions when there is flag_really_no_inline.
1344 (cgraph_decide_inlining): Limit work done when not inlining.
1345 (cgraph_decide_inlining_incrementally): Likewise.
1346 (cgraph_optimize_function): Check whether something got inlined.
1347 * c-objc-common.c (c_disregard_inline_limits): Do not always inline
1348 extern inline functions when not inlining.
1350 * opts.c (decode_options): Disable crossjumping at -O1
1351 * invoke.texi (-O1): Document change.
1353 See ChangeLog.10 for earlier changes.