1 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
3 * config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0.
5 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
7 * config/alpha/alpha.h (STRUCT_VALUE): Remove.
8 * config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef.
9 (STRUCT_VALUE): Remove.
11 2003-01-14 Steven Bosscher <stevenb@suse.de>
13 * system.h: Poison PROMOTED_MODE
14 * integrate.c (expand_inline_function): Don't mention the
16 * loop.c (update_giv_derive): Same.
17 * tree.h (DECL_RTL): Same.
19 2004-01-14 J"orn Rennecke <joern.rennecke@superh.com>
22 * sh.c (gen_block_redirect): Add special handling of RETURN.
23 (gen_far_branch) Don't call gen_stuff_delay_slot if there is no
24 far branch target (i.e. it's a return).
26 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
28 * regrename.c (find_oldest_value_reg): Fix a warning.
30 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
33 * config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file.
34 Move linux-gas.h and linux-elf.h before aout.h.
35 * arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already.
36 * arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define.
38 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
40 * config/m32r/m32r.md: Use GEN_INT instead of gen_rtx
41 (CONST_INT, VOIDmode, ...).
43 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
45 * regrename.c (find_oldest_value_reg): If the replacement uses
46 multiple hard registers, check that all of them are in CLASS.
48 2004-01-14 Jan Hubicka <jh@suse.cz>
50 * alias.c (get_alias_set): Initialize alias set to 0 when subset is
53 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
55 * Makefile.in: Define MAINT from --enable-maintainer-mode.
57 2004-01-14 Hartmut Penner <hpenner@de.ibm.com>
59 * gcc/config/rs6000/rs6000.c (rs6000_stack_info)
60 Calculate always vrsave_mask if TARGET_ALTIVEC.
61 (rs6000_emit_prologue): Emit code for vrsave
62 only if TARGET_ALTIVEC_VRSAVE.
63 (rs6000_emit_epilogue): Likewise.
65 2004-01-14 Eric Botcazou <ebotcazou@libertysurf.fr>
67 * config/sparc/sparc.md (tie_add32): Fix pasto.
68 (tie_add64): Likewise.
70 2004-01-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
72 * config/i386/i386.md (*addqi_1_slp): Do not access operands[2].
74 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
76 * config/iq2000/iq2000-protos.h: Fix comment formatting.
77 * config/iq2000/iq2000.c: Likewise.
78 * config/iq2000/iq2000.md: Likewise.
80 2004-01-14 J. Brobecker <brobecker@gnat.com>
82 * dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
83 (subrange_type_die): Add handle for nameless subrange types.
85 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
87 * config/h8300/h8300-protos.h: Replace do_movsi with
89 * config/h8300/h8300.c (do_movsi): Change to
91 * config/h8300/h8300.md (movsi): Replace do_movsi with
95 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
97 * config/h8300/h8300.c (dosize): Change to
98 h8300_emit_stack_adjustment. Update callers.
100 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
102 * config/h8300/h8300.md (movstrictqi): Add an alternative with
103 the source being post_inc. Tighten the predicate for the
104 destination to register_operand.
105 (movstricthi): Likewise.
107 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
109 * system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
110 * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP.
111 * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove.
113 2004-01-14 Jan Hubicka <jh@suse.cz>
115 Partial fix PR c++/12850
116 * cgraphunit.c (cgraph_finalize_function): Always ggc_collect when
119 2004-01-13 Bernardo Innocenti <bernie@develer.com>
121 * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
124 2004-01-13 Devang Patel <dpatel@apple.com
127 * dbxout.c (dbxout_symbol_name): Emit mangled names for
128 NAMESPACE_DECL memebers.
130 2004-01-13 Andrew Pinski <pinskia@physics.uc.edu>
133 * c-common.c (finish_fname_decls): Use the chain only if the
134 tree is an expr_stmt.
136 2004-01-13 Vladimir Makarov <vmakarov@redhat.com>
138 * rtl.def: Add comment about new option in automata_option.
140 * genautomata.c (PROGRESS_OPTION): New macro.
141 (progress_flag): New global variable.
142 (gen_automata_option): Process `progress'.
143 (transform_insn_regexps, check_unit_distributions_to_automata,
144 make_automaton, NDFA_to_DFA, build_automaton, create_automata,
145 expand_automata, write_automata): Print about the progress only if
146 progress_flag. Remove fflush.
147 (initiate_automaton_gen): Process command line flag `-progress'.
149 * doc/md.texi: Describe the new option.
151 2004-01-13 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
153 * cfg.c (dump_bb): Dump entry edges.
155 2004-01-13 Richard Earnshaw <rearnsha@arm.com>
157 * arm.c (thumb_legitimate_address_p): Only allow constant pool
158 references from SImode.
159 * arm.md (thumb_movhi_insn): Don't allow minipool references.
161 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
163 * system.h (TEXT_SECTION): Poison.
164 * varasm.c (text_section): Don't use TEXT_SECTION.
165 * config/sh/sh.c (sh_file_start): Fix a comment typo.
166 * doc/tm.texi (TEXT_SECTION): Remove.
168 2004-01-13 Ben Elliston <bje@wasabisystems.com>
170 * doc/rtl.texi (Vector Operations): Remove defunct vec_const item.
172 2004-01-12 James E Wilson <wilson@specifixinc.com>
174 * unwind-libunwind.c: Delete.
176 2004-01-12 Zack Weinberg <zack@codesourcery.com>
179 * c-decl.c (diagnose_mismatched_decls): Whenever newtype or
180 oldtype is set, set *newtypep or *oldtypep too. Do not set
181 them at the very end.
182 (validate_proto_after_old_defn): Restructure for comprehensibility;
183 make error messages clearer.
185 2004-01-12 Zack Weinberg <zack@codesourcery.com>
187 * varray.h (VARRAY_POP): Add checking variant, aborts on underflow.
188 (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked.
189 * varray.c: No need to prototype error.
190 (varray_check_failed): Wrap long string onto two lines.
191 (varray_underflow): New function.
193 2004-01-13 Steven Bosscher <stevenb@suse.de>
196 * function.h (struct function): Kill `name' field.
197 (current_function_name): Make it an extern function.
198 * function.c (current_function_name): New function.
199 * graph.c: Update all uses of current_function_name.
201 * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
202 config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
203 * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
204 instead of a strcmp with "main".
206 2004-01-13 Jan Hubicka <jh@suse.cz>
208 * c-decl.c (diagnose_mismatched_decls): Fix warning calls.
210 * cgraphunit.c (cgraph_optimize_function): Always do
211 optimize_inline_calls when there is always_inline callee.
212 (cgraph_decide_inlining): Fix formating.
213 * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
215 (expand_call_inline): Likewise.
216 * toplev.h (sorry): Fix prototype.
218 2004-01-12 Roger Sayle <roger@eyesopen.com>
220 * builtins.c (expand_builtin_expect_jump): Simplify logic. Handle
221 conditional jumps that drop through to unconditional jumps or the
224 2004-01-13 Jan Hubicka <jh@suse.cz>
226 * alias.c (new_alias_set): Construct the alias_set varray.
227 (init_alias_once): Don't do it here.
229 2004-01-12 Marc Espie <espie@openbsd.org>
231 * system.h: handle YYBYACC like YYBISON.
233 2004-01-12 Jonathan Merriman <jonm@dualitymedia.com>
236 * config.gcc: No longer includes conflicting header sparc/sol2.h when
237 building on sparc64-*-openbsd*.
239 2004-01-12 Andrew Pinski <pinskia@physics.uc.edu>
242 * dbxout.c (dbxout_type): Protected inheritance is not
243 private but protected.
245 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
247 * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.
249 2004-01-12 Kazu Hirata <kazu@cs.umass.edu>
251 PR optimization/12508.
252 * combine.c (try_combine): Remove a dead set in a parallel
253 even if its destination is a subreg.
256 2003-06-03 Kazu Hirata <kazu@cs.umass.edu>
257 * combine.c (simplify_set): Don't move a subreg in SET_SRC to
258 SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
260 2004-01-12 Geoffrey Keating <geoffk@apple.com>
262 * real.c: Update copyright date.
263 * emit-rtl.c: Likewise.
265 * dwarf2out.c: Likewise.
266 * config/rs6000/darwin-ldouble.c: Likewise.
267 * config/rs6000/rs6000.md: Likewise.
269 2004-01-12 David Edelsohn <edelsohn@gnu.org>
271 * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
272 TFmode to SImode libfuncs.
274 2004-01-12 Roger Sayle <roger@eyesopen.com>
277 * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
279 2004-01-12 Jan Hubicka <jh@suse.cz>
282 * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
286 * cfgcleanup.c (label_is_jump_target_p): Move to...
287 * rtlanal.c (label_is_jump_target_p): ... here.
288 * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Fix redirecting of fallthru
289 edges unified with branch edges.
291 2004-01-12 Richard Earnshaw <rearnsha@arm.com>
293 * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
294 high word of an integral CONST_DOUBLE.
296 2004-01-12 Paul Brook <paul@codesourcery.com>
298 * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
300 2004-01-12 J"orn Rennecke <joern.rennecke@superh.com>
303 * sh-protos.h (check_use_sfunc_addr): Declare.
304 * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
305 * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
307 2004-01-12 Jan Hubicka <jh@suse.cz>
309 * alias.c: Invlude varray.h
310 (alias_sets): Turn into varray.
311 (get_alias_set_entry): Use VARRAY; mark inline.
312 (mems_in_disjoint_alias_sets_p): Mark inline.
313 (record_alias_subset): Use varray.
314 (init_alias_once): Initialize varray.
315 (new_alias_set): Grow array.
316 * varray.c: Make VARRAY_GENERIC_PTR non GTYized.
318 2004-01-12 Jan Hubicka <jh@suse.cz>
320 Partial fix for PR opt/10776 II
321 * cselib.c: Include params.h
322 (cselib_invalidate_mem): Limit amount of nonconflicting memory
324 * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
325 * Makefile.in (cselib.o): Depend on params.h
327 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
329 * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
330 simplify_unary_operation if the operand has a known mode.
332 2004-01-12 Hartmut Penner <hpenner@de.ibm.com>
335 * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
336 predicate to handle 'ld' conform addresses.
337 * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
339 (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
340 are memory contraints.
341 * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
343 * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
344 Change 'o' to 'Y' constraint.
345 (*movdf_softfloat64): Ditto.
347 2004-01-12 Bernardo Innocenti <bernie@develer.com>
349 * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
350 brace-enclosed syntax in all C output statements.
352 2004-01-12 David Edelsohn <edelsohn@gnu.org>
355 * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
356 Objective-C language type value is 14.
358 2004-01-12 Markus F.X.J. Oberhumer <markus@oberhumer.com>
361 * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
362 `int' in a number of places to make sure we always have a SImode
363 and not a HImode. Add a 'L' suffix to a number of constants.
365 2004-01-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
367 * pa.c: Don't include obstack.h.
369 * pa.md: Correct constraint in pattern for loading PIC label address.
371 2004-01-11 Kaz Kojima <kkojima@gcc.gnu.org>
373 * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
376 2004-01-11 Steven Bosscher <stevenb@suse.de>
379 * toplev.c (rest_of_handle_inline): Also consider functions
380 for deferral if the language is GNU F77.
382 2004-01-11 Zack Weinberg <zack@codesourcery.com>
384 * c-decl.c (diagnose_arglist_conflict): Add missing space to
387 2004-01-11 Jakub Jelinek <jakub@redhat.com>
390 * builtins.c (expand_builtin_expect_jump): Handle conditional jumps
391 to drop through label. Don't fall back to SCC even when conditional
392 jump has not been found.
394 2004-01-11 Jan Hubicka <jh@suse.cz>
396 * invoke.texi: Fix syntax error in previous patch.
398 Partial fix for PR opt/10776
399 * Makefile.in (reload.o): Include param.h
400 * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter.
401 * reload.c: Include params.h.
402 (find_equiv_reg): Work limiting check.
403 * invoke.texi: Document.
405 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
407 * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
408 out-of-bounds accesses to string constants. Simplify mips16
411 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
413 PR optimization/13469
414 * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
415 reload_cse_regs (-fnon-call-exceptions only).
417 2004-01-11 Kazu Hirata <kazu@cs.umass.edu>
419 * config/mcore/lib1.asm: Fix comment formatting.
420 * config/mcore/mcore-elf.h: Likewise.
421 * config/mcore/mcore.c: Likewise.
422 * config/mcore/mcore.h: Likewise.
423 * config/mcore/mcore.md: Likewise.
425 2004-01-10 Zack Weinberg <zack@codesourcery.com>
427 * c-decl.c (duplicate_decls): Break apart into...
428 (diagnose_arglist_conflict, validate_proto_after_old_defn)
429 (locate_old_defn, diagnose_mismatched_decls, merge_decls):
430 ... these new functions. Restructure for comprehensibility.
431 Remove various archaic special cases. Always report the
432 location of the previous declaration when a diagnostic is issued.
433 (redeclaration_error_message): Fold into diagnose_mismatched_decls.
434 (match_builtin_function_types): Delete unnecessary forward declaration.
436 2004-01-10 Zack Weinberg <zack@codesourcery.com>
438 * genautomata.c (make_automaton, NDFA_to_DFA):
439 Print progress bars with '.' characters instead of '*'.
440 (build_automaton): Change notes to match.
442 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
444 * config/m32r/m32r.md: Use define_constants for unspec and
447 2004-01-10 Jan Hubicka <jh@suse.cz>
450 * expr.c (expand_expr_real): More curefully expand union casts.
452 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
454 * config/m32r/m32r.md (flush_icache): Use 1 for
457 2004-01-10 David Edelsohn <edelsohn@gnu.org>
458 James E Wilson <wilson@specifixinc.com>
461 * dbxout.c (dbxout_symbol): Remove initialization of
462 current_sym_code, current_sym_value, and current_sym_addr.
463 (dbxout_symbol_location): Same.
464 (dbxout_prepare_symbol): Zero current_sym_code,
465 current_sym_value, and current_sym_addr.
467 2004-01-10 Richard Sandiford <rsandifo@redhat.com>
469 * tree.c (get_unwidened): Reorder conditions so that the null pointer
472 2004-01-09 Eric Christopher <echristo@redhat.com>
474 * toplev.c (rest_of_handle_cfg): Add reg_scan pass
475 if we're running mark_constant_function.
477 2004-01-09 Jeff Bailey <jbailey@nisa.net>
480 * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
482 2004-01-09 Andrew Pinski <pinskia@physics.uc.edu>
485 * dbxout.c (dbxout_type_fields): Return if any item is
486 error_mark_node or the type is error_mark_node.
488 2004-01-09 Geoffrey Keating <geoffk@apple.com>
490 * config/rs6000/darwin-ldouble.c: Add big comment explaining
491 exactly what is expected as a 'long double'.
492 (_xlqadd): When a value to be returned is representable as a
493 'double', just return it directly, do not construct it using a union.
494 Also, correct final fixup.
497 * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.
499 * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
501 2004-01-09 Richard Henderson <rth@redhat.com>
503 * recog.c (constrain_operands): Validate mem operands.
505 2004-01-09 James E Wilson <wilson@specifixinc.com>
507 * gcc.c (init_spec): Remove -lunwind from shared case.
508 * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
510 2004-01-09 Steve Ellcey <sje@cup.hp.com>
512 * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
513 * configure: Regenerate
515 2004-01-09 Joseph S. Myers <jsm@polyomino.org.uk>
518 * c-typeck.c (build_c_cast): If pedantic, warn for conversions
519 between function and object pointers.
520 (digest_init): When comparing a pointer to function type to the
521 target type, only apply TREE_TYPE once to the pointer to function
523 * except.c (for_each_eh_label_1): Treat data as a pointer to a
524 function pointer rather than casting it to a function pointer.
525 (for_each_eh_label): Update caller.
526 * recog.h (struct insn_data): Use a struct or union for output.
527 * genoutput.c (output_insn_data): Update.
528 * final.c (get_insn_template): Update.
530 2004-01-09 Mark Mitchell <mark@codesourcery.com>
532 * expr.h (expand_expr): Make it a macro, not a function.
533 (expand_expr_real): New function.
534 * expr.c (store_expr): Adjust logic for deciding whether or not to
535 copy the value returned by expand_expr.
536 (expand_expr): Rename to ...
537 (expand_expr_real): ... this. Add alt_rtl parameter. Adjust
538 calls to language hooks.
539 * c-common.h (c_expand_expr): Adjust prototype.
540 * c-common.c (c_expand_expr): Add alt_rtl parameter.
541 * langhooks-def.h (lhd_expand_expr): Change prototype.
542 * langhooks.c (lhd_expand_expr): Add all_rtl parameter.
543 * langhooks.h (lang_hooks): Change type of expand_expr.
544 * stmt.c (stmt_status): Add x_last_expr_alt_rtl.
545 (last_expr_alt_rtl): Likewise.
546 (expand_expr_stmt_value): Set last_expr_alt_rtl.
547 (clear_last_expr): Clear it.
548 (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
549 (expand_end_bindings): Save and restor last_expr_alt_rtl.
550 * tree.def (RTL_EXPR): Give it an additional operand.
551 * tree.h (RTL_EXPR_ALT_RTL): New macro.
553 2004-01-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
555 * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
556 * config/m32r/m32r.c (call26_operand): Allow in PIC mode.
558 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
561 * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
562 or (ne:SI (reg:CC 17) (const_int 0)).
563 Be specific about modes wherever possible.
565 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
567 * config/m32r/m32r.c (m32r_expand_block_move): Call
568 gen_movestrsi_internal with two more arguments.
569 (m32r_output_block_move): Adjust operand numbers.
570 Properly update the source and destination pointers.
571 * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
572 'r+'. Change the set detinations to match_operand.
574 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
576 * final.c (FIRST_INSN_ADDRESS): Remove.
577 (shorten_branches): Don't use FIRST_INSN_ADDRESS.
578 * system.h (FIRST_INSN_ADDRESS): Poison.
579 * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
580 * config/m32r/m32r-protos.h: Remove the prototype for
581 m32r_first_insn_address.
582 * config/m32r/m32r.c (m32r_first_insn_address): Remove.
583 * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
584 * doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
586 2004-01-09 J. Brobecker <brobecker@gnat.com>
588 * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
590 (is_ada_subrange_type): DIEs for enumeration subtypes should be
591 emitted as subrange types too.
592 (subrange_type_die): Add handling of enumeration subtypes.
594 2004-01-08 Richard Henderson <rth@redhat.com>
597 Revert: Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
598 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
599 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
600 (ix86_address_cost): Be prepared for SUBREGed registers.
601 (legitimate_address_p): Accept SUBREGed registers.
603 2004-01-08 Kelley Cook <kcook@gcc.gnu.org>
605 * Makefile.in: Rename configure.in to configure.ac
606 * doc/sourcebuild.texi: Likewise.
607 * configure: Regenerate.
608 * config.in: Regenerate.
610 2004-01-08 Stuart Hastings <stuart@apple.com>
612 * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
614 2004-01-08 Jan Hubicka <jh@suse.cz>
616 * cgraphunit.c (cgraph_decide_inlining): Fix typo.
618 2004-01-08 Geoffrey Keating <geoffk@apple.com>
620 * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
621 (UNSPEC_FIX_TRUNC_TF): New constant.
622 (movtf_internal): Make splitter active only when insn is active.
623 (extenddftf2): Rewrite to properly load zero into low part.
624 (extenddftf2_internal): New.
625 (extendsftf2): Rewrite.
626 (truncdftf2): Correct length.
627 (floatditf2): Delete.
628 (fix_trunc_helper): New.
629 (fix_trunctfdi2): Use fix_trunc_helper.
630 (fix_trunctfsi2): Likewise.fix_trunc
631 (fix_trunctfsi2_internal): New.
633 * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
634 addresses are legitimate on Darwin even when flag_pic.
635 (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
636 non-offsettable addresses for loads of TFmode constants.
638 2004-01-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
640 * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
641 variables in the appropriate bss section.
643 2004-01-09 Alan Modra <amodra@bigpond.net.au>
645 * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
646 target_flags has MASK_POWERPC64 when -m64.
647 * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
648 to 620, 630, power3, power4 and rs64a entries.
649 * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
651 2004-01-08 Richard Sandiford <rsandifo@redhat.com>
653 * simplify-rtx.c (simplify_immed_subreg): Fix construction of
654 floating-point constants.
656 2004-01-08 J. Brobecker <brobecker@gnat.com>
658 * dwarf2out.c (subrange_type_die): Add context_die parameter.
659 Create the subrange_type DIE using the given context DIE.
660 (modified_type_die): Update call to subrange_type_die.
662 2004-01-08 Zack Weinberg <zack@codesourcery.com>
664 * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
665 Add multiple-include guard.
667 2004-01-08 Hartmut Penner <hpenner@de.ibm.com>
669 * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
670 all vector constant loadable by vsplt*.
671 (output_vec_const_move): Likewise.
673 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
676 * c-typeck.c (comptypes): Only treat enumerated types in the same
677 translation unit as compatible with each other when they are the
679 * doc/extend.texi: Update.
681 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
684 * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
685 array type from the array element type.
687 2004-01-07 Alan Modra <amodra@bigpond.net.au>
689 * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
690 * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
691 * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
692 (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
693 * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
695 2004-01-06 Eric Christopher <echristo@redhat.com>
697 * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
698 (DWARF2_DEBUGGING_INFO): Define.
699 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
700 * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
701 * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
703 (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
704 * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
705 * config/mips/iris5gas.h: Ditto.
706 (DBX_DEBUGGING_INFO): Remove.
707 (DWARF2_DEBUGGING_INFO): Ditto.
708 (MIPS_DEBUGGING_INFO): Ditto.
709 (PREFERRED_DEBUGGING_TYPE): Ditto.
710 * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
711 (PREFERRED_DEBUGGING_TYPE): Ditto.
712 (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
713 * config/mips/elf64.h: Ditto.
715 2004-01-06 Jan Hubicka <jh@suse.cz>
717 * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
718 (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
720 2004-01-06 Geoffrey Keating <geoffk@apple.com>
722 * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
723 (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
724 * config/rs6000/darwin-ldouble.c: New.
726 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
728 (constant_subword): Delete.
729 * rtl.h (constant_subword): Delete prototype.
730 (immed_double_const): Is not in varasm.c.
731 * simplify-rtx.c (simplify_immed_subreg): New.
732 (simplify_subreg): Use simplify_immed_subreg.
734 * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
735 than trying to generate RTL directly.
736 (fix_trunctfsi2): Use expand_fix rather than trying to generate
739 * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
741 2004-01-06 David Edelsohn <edelsohn@gnu.org>
743 * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
744 function into a separate macro.
745 (read_only_data_section): Add void argument.
746 (private_data_section): Same.
747 (read_only_private_data_section): Same.
750 2004-01-06 Jan Hubicka <jh@suse.cz>
752 * invoke.texi: Remove typo in last change.
755 * config.gcc: Accept opteron and athlon-64 as variants
757 * i386.c (override_options): Likewise.
758 * invoke.texi (i386 -mtune): Expand documentation.
760 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
762 * alias.c: Fix comment typos.
763 * builtins.c: Likewise.
766 * dominance.c: Likewise.
767 * dwarf2out.c: Likewise.
768 * emit-rtl.c: Likewise.
771 * fold-const.c: Likewise.
773 * genattrtab.c: Likewise.
774 * genrecog.c: Likewise.
775 * gensupport.c: Likewise.
776 * ggc-zone.c: Likewise.
777 * integrate.c: Likewise.
778 * local-alloc.c: Likewise.
781 * regmove.c: Likewise.
782 * reg-stack.c: Likewise.
784 * rtlanal.c: Likewise.
786 * sched-ebb.c: Likewise.
787 * simplify-rtx.c: Likewise.
788 * toplev.c: Likewise.
789 * varasm.c: Likewise.
791 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
793 * doc/install.texi: Fix typos.
794 * doc/invoke.texi: Likewise.
795 * doc/md.texi: Likewise.
797 2004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
799 * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
801 2004-01-06 Jan Hubicka <jh@suse.cz>
803 * i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
804 (function_arg_advance): Do not pass aggregates in SSE; deal handling
806 (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
808 * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
809 (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
810 (MMX_REGPARM_MAX): Similarly for -mmmx.
812 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
814 * config/sh/linux.h: Fix comment formatting.
815 * config/sh/netbsd-elf.h: Likewise.
816 * config/sh/sh.c: Likewise.
817 * config/sh/sh.h: Likewise.
818 * config/sh/vxworks.h: Likewise.
820 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
822 * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
823 * toplev.c (output_file_directive): Don't use
824 ASM_OUTPUT_MAIN_SOURCE_FILENAME.
826 2004-01-05 Daniel Berlin <dberlin@dberlin.org>
828 * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
829 (USING_MMAP): We don't support non-mmap.
830 (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
832 (struct page_entry): Remove bytes_free.
833 (struct page_table_chain): Remove.
834 (struct globals): Remove page_table member.
835 (loookup_page_table_entry): Function deleted.
836 (set_page_table_entry): Ditto.
837 (ggc_allocated_p): No longer need page table lookups.
838 (ggc_marked_p): Ditto.
839 (alloc_small_page): Don't care about bytes_free anymore.
840 (alloc_large_page): Round up size.
841 (ggc_alloc_zone_1): Mark large objects as such, and calculate
842 their size the new way.
843 Remove page table lookups and setting.
844 (ggc_get_size): Calculate large object size the new way.
845 (sweep_pages): Redo to account for fact that we no longer have
847 (ggc_collect): No longer need to reincrement bytes_free.
848 (ggc_pch_alloc_object): Handle new large objects properly.
849 (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
851 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
853 * doc/invoke.texi: Remove a page break.
855 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
857 * config/avr/avr.c (avr_output_function_prologue): Remove an
858 extra pair of curly braces.
860 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
862 * config/mn10300/mn10300.c: Fix comment formatting.
863 * config/mn10300/mn10300.h: Likewise.
865 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
867 * tree.h: Update documentation on nothrow_flag.
868 * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
871 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
873 * doc/invoke.texi: Remove traces of dead ports.
875 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
877 * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
880 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
883 * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
885 * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
886 (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
887 string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check
888 the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
889 (mips_symbol_insns): Don't trust the local/global classification.
890 (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
891 (override_options): Make -mabicalls -fno-unit-at-a-time imply
892 -mno-explicit-relocs.
893 (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
894 between local and global symbols.
896 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
898 * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
899 (mips_preferred_reload_class): Declare.
900 * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
901 (EXTRA_CONSTRAINT): Update accordingly.
902 (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
903 * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
904 (mips_preferred_reload_class): New function. Prefer LEA_REGS if
905 mips_dangerous_for_la25_p.
906 (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
907 if mips_dangerous_for_la25_p.
909 2004-01-05 Bernardo Innocenti <bernie@develer.com>
911 * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
914 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org>
916 * configure.ac: Use AC_PROG_CPP_WERROR.
917 * configure: Regenerate.
919 2004-01-04 Zack Weinberg <zack@codesourcery.com>
921 * .cvsignore: Add autom4te.cache.
923 2004-01-04 Richard Sandiford <rsandifo@redhat.com>
925 * doc/invoke.texi: Revamp documentation of MIPS options. Remove
926 -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
927 -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first,
928 then architecture options, then ABI options. General rewording.
930 2004-01-04 Joseph S. Myers <jsm@polyomino.org.uk>
933 * doc/extend.texi: Clarify definition of malloc attribute.
935 2004-01-04 Jan Hubicka <jh@suse.cz>
937 * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
938 * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
939 * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
940 (cgraph_inline_p): Add extra argument reason.
941 * cgraphunit.c: Minor formating fixes.
942 cgraph_first_inlined_callee): New functions.
943 (record_call_1): Record builtins too.
944 (cgraph_analyze_function): Update inline_failed messages.
945 (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
946 cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
947 (cgraph_check_inline_limits): Likewise; Add argument reason.
948 (cgraph_set_inline_failed): New static function.
949 (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
951 (cgraph_inline_p): Add new argument reason.
952 * tree-inline.c (expand_call_inline): Update warning.
954 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
956 * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
957 with modern equivalents.
958 * configure: Regenerate.
960 * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
961 * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
962 * configure: Regenerate.
964 * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
966 * configure.in: Rename to configure.ac.
967 * configure.ac: Renamed from configure.in; make minimum necessary
968 changes for autoconf 2.5x.
969 * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
970 * configure: Regenerate with autoconf 2.57.
972 2004-01-03 Kazu Hirata <kazu@cs.umass.edu>
974 * config/mips/linux.h: Fix comment formatting.
975 * config/mips/mips.c: Likewise.
976 * config/mips/mips.h: Likewise.
977 * config/mips/mips.md: Likewise.
978 * config/mips/netbsd.h: Likewise.
979 * config/mips/windiss.h: Likewise.
981 2004-01-02 Richard Henderson <rth@redhat.com>
983 * config/i386/i386.md (fp constant pool splitter): Reorg suppression
984 for sse and 387; add suppression for mmx.
986 2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
988 * loop.c (loop_optimize): Free all loops_info's mems.
990 * c-typeck.c (finish_init): Free spelling_base before
993 * cfgloop.c (flow_loops_find): Always free the sbitmap
996 * predict.c (estimate_probability): Free bbs after being
999 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
1001 * config/mn10300/mn10300.h (PREDICATE_CODES): Add
1002 const_8bit_operand and call_address_operand.
1004 2004-01-02 Jan Hubicka <jh@suse.cz>
1006 * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls
1007 when there is nothing to inline but warnings are requested.
1008 (cgraph_decide_inlining): Fix memory leak.
1010 2004-01-02 Jan Hubicka <jh@suse.cz>
1012 * expr.c (store_constructor): Fix pasto in previous patch.
1014 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
1016 * config/i386/cygming.h: Fix comment formatting.
1017 * config/i386/djgpp.h: Likewise.
1018 * config/i386/gthr-win32.c: Likewise.
1019 * config/i386/i386-interix.h: Likewise.
1020 * config/i386/i386.c: Likewise.
1021 * config/i386/i386.h: Likewise.
1022 * config/i386/openbsd.h: Likewise.
1023 * config/i386/winnt.c: Likewise.
1024 * config/i386/xm-mingw32.h: Likewise.
1026 2004-01-02 Joseph S. Myers <jsm@polyomino.org.uk>
1028 * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
1029 copyright and last modification dates.
1031 2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de>
1033 * doc/install.texi (Specific): Mention x86_64.
1035 2004-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1037 * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
1038 Call force_operand on plus_constant result.
1040 2004-01-01 Jan Hubicka <jh@suse.cz>
1042 * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
1043 * expr.c (store_constructor): Use vec_init pattern.
1044 * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
1045 * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
1046 (vec_set_optab, vec_extract_optab, vec_init_optab): New.
1047 * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
1049 (sse2_unpc?pd): Fix pattern.
1050 (sse2_movlpd): Kill.
1051 (sse2_movsd): Deal with movlpd too.
1052 * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
1053 (ix86_expand_vector_init): New.
1054 * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
1055 * md.texi (vec_set, vec_extract): Document
1057 2003-12-31 Jan Hubicka <jh@suse.cz>
1060 * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside
1064 * toplev.c (dump_file_index): Reorder ce3 and bbro.
1065 (dump_file): Likewise.
1066 (rest_of_compilation): Likewise.
1069 * cgraph.c (cgraph_function_possibly_inlined): Even with
1070 flag_really_no_inline we inline always_inline functions.
1071 * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
1072 for non-always_inline functions when there is flag_really_no_inline.
1073 (cgraph_decide_inlining): Limit work done when not inlining.
1074 (cgraph_decide_inlining_incrementally): Likewise.
1075 (cgraph_optimize_function): Check whether something got inlined.
1076 * c-objc-common.c (c_disregard_inline_limits): Do not always inline
1077 extern inline functions when not inlining.
1079 * opts.c (decode_options): Disable crossjumping at -O1
1080 * invoke.texi (-O1): Document change.
1082 See ChangeLog.10 for earlier changes.