1 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
3 * config/iq2000/iq2000-protos.h: Fix comment formatting.
4 * config/iq2000/iq2000.c: Likewise.
5 * config/iq2000/iq2000.md: Likewise.
7 2004-01-14 J. Brobecker <brobecker@gnat.com>
9 * dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
10 (subrange_type_die): Add handle for nameless subrange types.
12 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
14 * config/h8300/h8300-protos.h: Replace do_movsi with
16 * config/h8300/h8300.c (do_movsi): Change to
18 * config/h8300/h8300.md (movsi): Replace do_movsi with
22 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
24 * config/h8300/h8300.c (dosize): Change to
25 h8300_emit_stack_adjustment. Update callers.
27 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
29 * config/h8300/h8300.md (movstrictqi): Add an alternative with
30 the source being post_inc. Tighten the predicate for the
31 destination to register_operand.
32 (movstricthi): Likewise.
34 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
36 * system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
37 * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP.
38 * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove.
40 2004-01-14 Jan Hubicka <jh@suse.cz>
42 Partial fix PR c++/12850
43 * cgraphunit.c (cgraph_finalize_function): Always ggc_collect when
46 2004-01-13 Bernardo Innocenti <bernie@develer.com>
48 * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
51 2004-01-13 Devang Patel <dpatel@apple.com
54 * dbxout.c (dbxout_symbol_name): Emit mangled names for
55 NAMESPACE_DECL memebers.
57 2004-01-13 Andrew Pinski <pinskia@physics.uc.edu>
60 * c-common.c (finish_fname_decls): Use the chain only if the
63 2004-01-13 Vladimir Makarov <vmakarov@redhat.com>
65 * rtl.def: Add comment about new option in automata_option.
67 * genautomata.c (PROGRESS_OPTION): New macro.
68 (progress_flag): New global variable.
69 (gen_automata_option): Process `progress'.
70 (transform_insn_regexps, check_unit_distributions_to_automata,
71 make_automaton, NDFA_to_DFA, build_automaton, create_automata,
72 expand_automata, write_automata): Print about the progress only if
73 progress_flag. Remove fflush.
74 (initiate_automaton_gen): Process command line flag `-progress'.
76 * doc/md.texi: Describe the new option.
78 2004-01-13 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
80 * cfg.c (dump_bb): Dump entry edges.
82 2004-01-13 Richard Earnshaw <rearnsha@arm.com>
84 * arm.c (thumb_legitimate_address_p): Only allow constant pool
85 references from SImode.
86 * arm.md (thumb_movhi_insn): Don't allow minipool references.
88 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
90 * system.h (TEXT_SECTION): Poison.
91 * varasm.c (text_section): Don't use TEXT_SECTION.
92 * config/sh/sh.c (sh_file_start): Fix a comment typo.
93 * doc/tm.texi (TEXT_SECTION): Remove.
95 2004-01-13 Ben Elliston <bje@wasabisystems.com>
97 * doc/rtl.texi (Vector Operations): Remove defunct vec_const item.
99 2004-01-12 James E Wilson <wilson@specifixinc.com>
101 * unwind-libunwind.c: Delete.
103 2004-01-12 Zack Weinberg <zack@codesourcery.com>
106 * c-decl.c (diagnose_mismatched_decls): Whenever newtype or
107 oldtype is set, set *newtypep or *oldtypep too. Do not set
108 them at the very end.
109 (validate_proto_after_old_defn): Restructure for comprehensibility;
110 make error messages clearer.
112 2004-01-12 Zack Weinberg <zack@codesourcery.com>
114 * varray.h (VARRAY_POP): Add checking variant, aborts on underflow.
115 (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked.
116 * varray.c: No need to prototype error.
117 (varray_check_failed): Wrap long string onto two lines.
118 (varray_underflow): New function.
120 2004-01-13 Steven Bosscher <stevenb@suse.de>
123 * function.h (struct function): Kill `name' field.
124 (current_function_name): Make it an extern function.
125 * function.c (current_function_name): New function.
126 * graph.c: Update all uses of current_function_name.
128 * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
129 config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
130 * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
131 instead of a strcmp with "main".
133 2004-01-13 Jan Hubicka <jh@suse.cz>
135 * c-decl.c (diagnose_mismatched_decls): Fix warning calls.
137 * cgraphunit.c (cgraph_optimize_function): Always do
138 optimize_inline_calls when there is always_inline callee.
139 (cgraph_decide_inlining): Fix formating.
140 * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
142 (expand_call_inline): Likewise.
143 * toplev.h (sorry): Fix prototype.
145 2004-01-12 Roger Sayle <roger@eyesopen.com>
147 * builtins.c (expand_builtin_expect_jump): Simplify logic. Handle
148 conditional jumps that drop through to unconditional jumps or the
151 2004-01-13 Jan Hubicka <jh@suse.cz>
153 * alias.c (new_alias_set): Construct the alias_set varray.
154 (init_alias_once): Don't do it here.
156 2004-01-12 Marc Espie <espie@openbsd.org>
158 * system.h: handle YYBYACC like YYBISON.
160 2004-01-12 Jonathan Merriman <jonm@dualitymedia.com>
163 * config.gcc: No longer includes conflicting header sparc/sol2.h when
164 building on sparc64-*-openbsd*.
166 2004-01-12 Andrew Pinski <pinskia@physics.uc.edu>
169 * dbxout.c (dbxout_type): Protected inheritance is not
170 private but protected.
172 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
174 * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.
176 2004-01-12 Kazu Hirata <kazu@cs.umass.edu>
178 PR optimization/12508.
179 * combine.c (try_combine): Remove a dead set in a parallel
180 even if its destination is a subreg.
183 2003-06-03 Kazu Hirata <kazu@cs.umass.edu>
184 * combine.c (simplify_set): Don't move a subreg in SET_SRC to
185 SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
187 2004-01-12 Geoffrey Keating <geoffk@apple.com>
189 * real.c: Update copyright date.
190 * emit-rtl.c: Likewise.
192 * dwarf2out.c: Likewise.
193 * config/rs6000/darwin-ldouble.c: Likewise.
194 * config/rs6000/rs6000.md: Likewise.
196 2004-01-12 David Edelsohn <edelsohn@gnu.org>
198 * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
199 TFmode to SImode libfuncs.
201 2004-01-12 Roger Sayle <roger@eyesopen.com>
204 * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
206 2004-01-12 Jan Hubicka <jh@suse.cz>
209 * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
213 * cfgcleanup.c (label_is_jump_target_p): Move to...
214 * rtlanal.c (label_is_jump_target_p): ... here.
215 * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Fix redirecting of fallthru
216 edges unified with branch edges.
218 2004-01-12 Richard Earnshaw <rearnsha@arm.com>
220 * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
221 high word of an integral CONST_DOUBLE.
223 2004-01-12 Paul Brook <paul@codesourcery.com>
225 * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
227 2004-01-12 J"orn Rennecke <joern.rennecke@superh.com>
230 * sh-protos.h (check_use_sfunc_addr): Declare.
231 * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
232 * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
234 2004-01-12 Jan Hubicka <jh@suse.cz>
236 * alias.c: Invlude varray.h
237 (alias_sets): Turn into varray.
238 (get_alias_set_entry): Use VARRAY; mark inline.
239 (mems_in_disjoint_alias_sets_p): Mark inline.
240 (record_alias_subset): Use varray.
241 (init_alias_once): Initialize varray.
242 (new_alias_set): Grow array.
243 * varray.c: Make VARRAY_GENERIC_PTR non GTYized.
245 2004-01-12 Jan Hubicka <jh@suse.cz>
247 Partial fix for PR opt/10776 II
248 * cselib.c: Include params.h
249 (cselib_invalidate_mem): Limit amount of nonconflicting memory
251 * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
252 * Makefile.in (cselib.o): Depend on params.h
254 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
256 * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
257 simplify_unary_operation if the operand has a known mode.
259 2004-01-12 Hartmut Penner <hpenner@de.ibm.com>
262 * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
263 predicate to handle 'ld' conform addresses.
264 * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
266 (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
267 are memory contraints.
268 * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
270 * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
271 Change 'o' to 'Y' constraint.
272 (*movdf_softfloat64): Ditto.
274 2004-01-12 Bernardo Innocenti <bernie@develer.com>
276 * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
277 brace-enclosed syntax in all C output statements.
279 2004-01-12 David Edelsohn <edelsohn@gnu.org>
282 * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
283 Objective-C language type value is 14.
285 2004-01-12 Markus F.X.J. Oberhumer <markus@oberhumer.com>
288 * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
289 `int' in a number of places to make sure we always have a SImode
290 and not a HImode. Add a 'L' suffix to a number of constants.
292 2004-01-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
294 * pa.c: Don't include obstack.h.
296 * pa.md: Correct constraint in pattern for loading PIC label address.
298 2004-01-11 Kaz Kojima <kkojima@gcc.gnu.org>
300 * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
303 2004-01-11 Steven Bosscher <stevenb@suse.de>
306 * toplev.c (rest_of_handle_inline): Also consider functions
307 for deferral if the language is GNU F77.
309 2004-01-11 Zack Weinberg <zack@codesourcery.com>
311 * c-decl.c (diagnose_arglist_conflict): Add missing space to
314 2004-01-11 Jakub Jelinek <jakub@redhat.com>
317 * builtins.c (expand_builtin_expect_jump): Handle conditional jumps
318 to drop through label. Don't fall back to SCC even when conditional
319 jump has not been found.
321 2004-01-11 Jan Hubicka <jh@suse.cz>
323 * invoke.texi: Fix syntax error in previous patch.
325 Partial fix for PR opt/10776
326 * Makefile.in (reload.o): Include param.h
327 * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter.
328 * reload.c: Include params.h.
329 (find_equiv_reg): Work limiting check.
330 * invoke.texi: Document.
332 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
334 * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
335 out-of-bounds accesses to string constants. Simplify mips16
338 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
340 PR optimization/13469
341 * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
342 reload_cse_regs (-fnon-call-exceptions only).
344 2004-01-11 Kazu Hirata <kazu@cs.umass.edu>
346 * config/mcore/lib1.asm: Fix comment formatting.
347 * config/mcore/mcore-elf.h: Likewise.
348 * config/mcore/mcore.c: Likewise.
349 * config/mcore/mcore.h: Likewise.
350 * config/mcore/mcore.md: Likewise.
352 2004-01-10 Zack Weinberg <zack@codesourcery.com>
354 * c-decl.c (duplicate_decls): Break apart into...
355 (diagnose_arglist_conflict, validate_proto_after_old_defn)
356 (locate_old_defn, diagnose_mismatched_decls, merge_decls):
357 ... these new functions. Restructure for comprehensibility.
358 Remove various archaic special cases. Always report the
359 location of the previous declaration when a diagnostic is issued.
360 (redeclaration_error_message): Fold into diagnose_mismatched_decls.
361 (match_builtin_function_types): Delete unnecessary forward declaration.
363 2004-01-10 Zack Weinberg <zack@codesourcery.com>
365 * genautomata.c (make_automaton, NDFA_to_DFA):
366 Print progress bars with '.' characters instead of '*'.
367 (build_automaton): Change notes to match.
369 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
371 * config/m32r/m32r.md: Use define_constants for unspec and
374 2004-01-10 Jan Hubicka <jh@suse.cz>
377 * expr.c (expand_expr_real): More curefully expand union casts.
379 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
381 * config/m32r/m32r.md (flush_icache): Use 1 for
384 2004-01-10 David Edelsohn <edelsohn@gnu.org>
385 James E Wilson <wilson@specifixinc.com>
388 * dbxout.c (dbxout_symbol): Remove initialization of
389 current_sym_code, current_sym_value, and current_sym_addr.
390 (dbxout_symbol_location): Same.
391 (dbxout_prepare_symbol): Zero current_sym_code,
392 current_sym_value, and current_sym_addr.
394 2004-01-10 Richard Sandiford <rsandifo@redhat.com>
396 * tree.c (get_unwidened): Reorder conditions so that the null pointer
399 2004-01-09 Eric Christopher <echristo@redhat.com>
401 * toplev.c (rest_of_handle_cfg): Add reg_scan pass
402 if we're running mark_constant_function.
404 2004-01-09 Jeff Bailey <jbailey@nisa.net>
407 * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
409 2004-01-09 Andrew Pinski <pinskia@physics.uc.edu>
412 * dbxout.c (dbxout_type_fields): Return if any item is
413 error_mark_node or the type is error_mark_node.
415 2004-01-09 Geoffrey Keating <geoffk@apple.com>
417 * config/rs6000/darwin-ldouble.c: Add big comment explaining
418 exactly what is expected as a 'long double'.
419 (_xlqadd): When a value to be returned is representable as a
420 'double', just return it directly, do not construct it using a union.
421 Also, correct final fixup.
424 * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.
426 * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
428 2004-01-09 Richard Henderson <rth@redhat.com>
430 * recog.c (constrain_operands): Validate mem operands.
432 2004-01-09 James E Wilson <wilson@specifixinc.com>
434 * gcc.c (init_spec): Remove -lunwind from shared case.
435 * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
437 2004-01-09 Steve Ellcey <sje@cup.hp.com>
439 * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
440 * configure: Regenerate
442 2004-01-09 Joseph S. Myers <jsm@polyomino.org.uk>
445 * c-typeck.c (build_c_cast): If pedantic, warn for conversions
446 between function and object pointers.
447 (digest_init): When comparing a pointer to function type to the
448 target type, only apply TREE_TYPE once to the pointer to function
450 * except.c (for_each_eh_label_1): Treat data as a pointer to a
451 function pointer rather than casting it to a function pointer.
452 (for_each_eh_label): Update caller.
453 * recog.h (struct insn_data): Use a struct or union for output.
454 * genoutput.c (output_insn_data): Update.
455 * final.c (get_insn_template): Update.
457 2004-01-09 Mark Mitchell <mark@codesourcery.com>
459 * expr.h (expand_expr): Make it a macro, not a function.
460 (expand_expr_real): New function.
461 * expr.c (store_expr): Adjust logic for deciding whether or not to
462 copy the value returned by expand_expr.
463 (expand_expr): Rename to ...
464 (expand_expr_real): ... this. Add alt_rtl parameter. Adjust
465 calls to language hooks.
466 * c-common.h (c_expand_expr): Adjust prototype.
467 * c-common.c (c_expand_expr): Add alt_rtl parameter.
468 * langhooks-def.h (lhd_expand_expr): Change prototype.
469 * langhooks.c (lhd_expand_expr): Add all_rtl parameter.
470 * langhooks.h (lang_hooks): Change type of expand_expr.
471 * stmt.c (stmt_status): Add x_last_expr_alt_rtl.
472 (last_expr_alt_rtl): Likewise.
473 (expand_expr_stmt_value): Set last_expr_alt_rtl.
474 (clear_last_expr): Clear it.
475 (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
476 (expand_end_bindings): Save and restor last_expr_alt_rtl.
477 * tree.def (RTL_EXPR): Give it an additional operand.
478 * tree.h (RTL_EXPR_ALT_RTL): New macro.
480 2004-01-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
482 * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
483 * config/m32r/m32r.c (call26_operand): Allow in PIC mode.
485 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
488 * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
489 or (ne:SI (reg:CC 17) (const_int 0)).
490 Be specific about modes wherever possible.
492 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
494 * config/m32r/m32r.c (m32r_expand_block_move): Call
495 gen_movestrsi_internal with two more arguments.
496 (m32r_output_block_move): Adjust operand numbers.
497 Properly update the source and destination pointers.
498 * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
499 'r+'. Change the set detinations to match_operand.
501 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
503 * final.c (FIRST_INSN_ADDRESS): Remove.
504 (shorten_branches): Don't use FIRST_INSN_ADDRESS.
505 * system.h (FIRST_INSN_ADDRESS): Poison.
506 * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
507 * config/m32r/m32r-protos.h: Remove the prototype for
508 m32r_first_insn_address.
509 * config/m32r/m32r.c (m32r_first_insn_address): Remove.
510 * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
511 * doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
513 2004-01-09 J. Brobecker <brobecker@gnat.com>
515 * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
517 (is_ada_subrange_type): DIEs for enumeration subtypes should be
518 emitted as subrange types too.
519 (subrange_type_die): Add handling of enumeration subtypes.
521 2004-01-08 Richard Henderson <rth@redhat.com>
524 Revert: Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
525 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
526 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
527 (ix86_address_cost): Be prepared for SUBREGed registers.
528 (legitimate_address_p): Accept SUBREGed registers.
530 2004-01-08 Kelley Cook <kcook@gcc.gnu.org>
532 * Makefile.in: Rename configure.in to configure.ac
533 * doc/sourcebuild.texi: Likewise.
534 * configure: Regenerate.
535 * config.in: Regenerate.
537 2004-01-08 Stuart Hastings <stuart@apple.com>
539 * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
541 2004-01-08 Jan Hubicka <jh@suse.cz>
543 * cgraphunit.c (cgraph_decide_inlining): Fix typo.
545 2004-01-08 Geoffrey Keating <geoffk@apple.com>
547 * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
548 (UNSPEC_FIX_TRUNC_TF): New constant.
549 (movtf_internal): Make splitter active only when insn is active.
550 (extenddftf2): Rewrite to properly load zero into low part.
551 (extenddftf2_internal): New.
552 (extendsftf2): Rewrite.
553 (truncdftf2): Correct length.
554 (floatditf2): Delete.
555 (fix_trunc_helper): New.
556 (fix_trunctfdi2): Use fix_trunc_helper.
557 (fix_trunctfsi2): Likewise.fix_trunc
558 (fix_trunctfsi2_internal): New.
560 * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
561 addresses are legitimate on Darwin even when flag_pic.
562 (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
563 non-offsettable addresses for loads of TFmode constants.
565 2004-01-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
567 * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
568 variables in the appropriate bss section.
570 2004-01-09 Alan Modra <amodra@bigpond.net.au>
572 * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
573 target_flags has MASK_POWERPC64 when -m64.
574 * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
575 to 620, 630, power3, power4 and rs64a entries.
576 * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
578 2004-01-08 Richard Sandiford <rsandifo@redhat.com>
580 * simplify-rtx.c (simplify_immed_subreg): Fix construction of
581 floating-point constants.
583 2004-01-08 J. Brobecker <brobecker@gnat.com>
585 * dwarf2out.c (subrange_type_die): Add context_die parameter.
586 Create the subrange_type DIE using the given context DIE.
587 (modified_type_die): Update call to subrange_type_die.
589 2004-01-08 Zack Weinberg <zack@codesourcery.com>
591 * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
592 Add multiple-include guard.
594 2004-01-08 Hartmut Penner <hpenner@de.ibm.com>
596 * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
597 all vector constant loadable by vsplt*.
598 (output_vec_const_move): Likewise.
600 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
603 * c-typeck.c (comptypes): Only treat enumerated types in the same
604 translation unit as compatible with each other when they are the
606 * doc/extend.texi: Update.
608 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
611 * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
612 array type from the array element type.
614 2004-01-07 Alan Modra <amodra@bigpond.net.au>
616 * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
617 * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
618 * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
619 (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
620 * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
622 2004-01-06 Eric Christopher <echristo@redhat.com>
624 * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
625 (DWARF2_DEBUGGING_INFO): Define.
626 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
627 * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
628 * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
630 (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
631 * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
632 * config/mips/iris5gas.h: Ditto.
633 (DBX_DEBUGGING_INFO): Remove.
634 (DWARF2_DEBUGGING_INFO): Ditto.
635 (MIPS_DEBUGGING_INFO): Ditto.
636 (PREFERRED_DEBUGGING_TYPE): Ditto.
637 * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
638 (PREFERRED_DEBUGGING_TYPE): Ditto.
639 (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
640 * config/mips/elf64.h: Ditto.
642 2004-01-06 Jan Hubicka <jh@suse.cz>
644 * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
645 (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
647 2004-01-06 Geoffrey Keating <geoffk@apple.com>
649 * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
650 (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
651 * config/rs6000/darwin-ldouble.c: New.
653 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
655 (constant_subword): Delete.
656 * rtl.h (constant_subword): Delete prototype.
657 (immed_double_const): Is not in varasm.c.
658 * simplify-rtx.c (simplify_immed_subreg): New.
659 (simplify_subreg): Use simplify_immed_subreg.
661 * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
662 than trying to generate RTL directly.
663 (fix_trunctfsi2): Use expand_fix rather than trying to generate
666 * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
668 2004-01-06 David Edelsohn <edelsohn@gnu.org>
670 * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
671 function into a separate macro.
672 (read_only_data_section): Add void argument.
673 (private_data_section): Same.
674 (read_only_private_data_section): Same.
677 2004-01-06 Jan Hubicka <jh@suse.cz>
679 * invoke.texi: Remove typo in last change.
682 * config.gcc: Accept opteron and athlon-64 as variants
684 * i386.c (override_options): Likewise.
685 * invoke.texi (i386 -mtune): Expand documentation.
687 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
689 * alias.c: Fix comment typos.
690 * builtins.c: Likewise.
693 * dominance.c: Likewise.
694 * dwarf2out.c: Likewise.
695 * emit-rtl.c: Likewise.
698 * fold-const.c: Likewise.
700 * genattrtab.c: Likewise.
701 * genrecog.c: Likewise.
702 * gensupport.c: Likewise.
703 * ggc-zone.c: Likewise.
704 * integrate.c: Likewise.
705 * local-alloc.c: Likewise.
708 * regmove.c: Likewise.
709 * reg-stack.c: Likewise.
711 * rtlanal.c: Likewise.
713 * sched-ebb.c: Likewise.
714 * simplify-rtx.c: Likewise.
715 * toplev.c: Likewise.
716 * varasm.c: Likewise.
718 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
720 * doc/install.texi: Fix typos.
721 * doc/invoke.texi: Likewise.
722 * doc/md.texi: Likewise.
724 2004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
726 * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
728 2004-01-06 Jan Hubicka <jh@suse.cz>
730 * i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
731 (function_arg_advance): Do not pass aggregates in SSE; deal handling
733 (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
735 * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
736 (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
737 (MMX_REGPARM_MAX): Similarly for -mmmx.
739 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
741 * config/sh/linux.h: Fix comment formatting.
742 * config/sh/netbsd-elf.h: Likewise.
743 * config/sh/sh.c: Likewise.
744 * config/sh/sh.h: Likewise.
745 * config/sh/vxworks.h: Likewise.
747 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
749 * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
750 * toplev.c (output_file_directive): Don't use
751 ASM_OUTPUT_MAIN_SOURCE_FILENAME.
753 2004-01-05 Daniel Berlin <dberlin@dberlin.org>
755 * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
756 (USING_MMAP): We don't support non-mmap.
757 (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
759 (struct page_entry): Remove bytes_free.
760 (struct page_table_chain): Remove.
761 (struct globals): Remove page_table member.
762 (loookup_page_table_entry): Function deleted.
763 (set_page_table_entry): Ditto.
764 (ggc_allocated_p): No longer need page table lookups.
765 (ggc_marked_p): Ditto.
766 (alloc_small_page): Don't care about bytes_free anymore.
767 (alloc_large_page): Round up size.
768 (ggc_alloc_zone_1): Mark large objects as such, and calculate
769 their size the new way.
770 Remove page table lookups and setting.
771 (ggc_get_size): Calculate large object size the new way.
772 (sweep_pages): Redo to account for fact that we no longer have
774 (ggc_collect): No longer need to reincrement bytes_free.
775 (ggc_pch_alloc_object): Handle new large objects properly.
776 (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
778 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
780 * doc/invoke.texi: Remove a page break.
782 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
784 * config/avr/avr.c (avr_output_function_prologue): Remove an
785 extra pair of curly braces.
787 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
789 * config/mn10300/mn10300.c: Fix comment formatting.
790 * config/mn10300/mn10300.h: Likewise.
792 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
794 * tree.h: Update documentation on nothrow_flag.
795 * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
798 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
800 * doc/invoke.texi: Remove traces of dead ports.
802 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
804 * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
807 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
810 * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
812 * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
813 (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
814 string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check
815 the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
816 (mips_symbol_insns): Don't trust the local/global classification.
817 (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
818 (override_options): Make -mabicalls -fno-unit-at-a-time imply
819 -mno-explicit-relocs.
820 (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
821 between local and global symbols.
823 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
825 * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
826 (mips_preferred_reload_class): Declare.
827 * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
828 (EXTRA_CONSTRAINT): Update accordingly.
829 (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
830 * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
831 (mips_preferred_reload_class): New function. Prefer LEA_REGS if
832 mips_dangerous_for_la25_p.
833 (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
834 if mips_dangerous_for_la25_p.
836 2004-01-05 Bernardo Innocenti <bernie@develer.com>
838 * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
841 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org>
843 * configure.ac: Use AC_PROG_CPP_WERROR.
844 * configure: Regenerate.
846 2004-01-04 Zack Weinberg <zack@codesourcery.com>
848 * .cvsignore: Add autom4te.cache.
850 2004-01-04 Richard Sandiford <rsandifo@redhat.com>
852 * doc/invoke.texi: Revamp documentation of MIPS options. Remove
853 -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
854 -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first,
855 then architecture options, then ABI options. General rewording.
857 2004-01-04 Joseph S. Myers <jsm@polyomino.org.uk>
860 * doc/extend.texi: Clarify definition of malloc attribute.
862 2004-01-04 Jan Hubicka <jh@suse.cz>
864 * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
865 * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
866 * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
867 (cgraph_inline_p): Add extra argument reason.
868 * cgraphunit.c: Minor formating fixes.
869 cgraph_first_inlined_callee): New functions.
870 (record_call_1): Record builtins too.
871 (cgraph_analyze_function): Update inline_failed messages.
872 (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
873 cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
874 (cgraph_check_inline_limits): Likewise; Add argument reason.
875 (cgraph_set_inline_failed): New static function.
876 (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
878 (cgraph_inline_p): Add new argument reason.
879 * tree-inline.c (expand_call_inline): Update warning.
881 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
883 * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
884 with modern equivalents.
885 * configure: Regenerate.
887 * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
888 * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
889 * configure: Regenerate.
891 * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
893 * configure.in: Rename to configure.ac.
894 * configure.ac: Renamed from configure.in; make minimum necessary
895 changes for autoconf 2.5x.
896 * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
897 * configure: Regenerate with autoconf 2.57.
899 2004-01-03 Kazu Hirata <kazu@cs.umass.edu>
901 * config/mips/linux.h: Fix comment formatting.
902 * config/mips/mips.c: Likewise.
903 * config/mips/mips.h: Likewise.
904 * config/mips/mips.md: Likewise.
905 * config/mips/netbsd.h: Likewise.
906 * config/mips/windiss.h: Likewise.
908 2004-01-02 Richard Henderson <rth@redhat.com>
910 * config/i386/i386.md (fp constant pool splitter): Reorg suppression
911 for sse and 387; add suppression for mmx.
913 2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
915 * loop.c (loop_optimize): Free all loops_info's mems.
917 * c-typeck.c (finish_init): Free spelling_base before
920 * cfgloop.c (flow_loops_find): Always free the sbitmap
923 * predict.c (estimate_probability): Free bbs after being
926 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
928 * config/mn10300/mn10300.h (PREDICATE_CODES): Add
929 const_8bit_operand and call_address_operand.
931 2004-01-02 Jan Hubicka <jh@suse.cz>
933 * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls
934 when there is nothing to inline but warnings are requested.
935 (cgraph_decide_inlining): Fix memory leak.
937 2004-01-02 Jan Hubicka <jh@suse.cz>
939 * expr.c (store_constructor): Fix pasto in previous patch.
941 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
943 * config/i386/cygming.h: Fix comment formatting.
944 * config/i386/djgpp.h: Likewise.
945 * config/i386/gthr-win32.c: Likewise.
946 * config/i386/i386-interix.h: Likewise.
947 * config/i386/i386.c: Likewise.
948 * config/i386/i386.h: Likewise.
949 * config/i386/openbsd.h: Likewise.
950 * config/i386/winnt.c: Likewise.
951 * config/i386/xm-mingw32.h: Likewise.
953 2004-01-02 Joseph S. Myers <jsm@polyomino.org.uk>
955 * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
956 copyright and last modification dates.
958 2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de>
960 * doc/install.texi (Specific): Mention x86_64.
962 2004-01-01 Hans-Peter Nilsson <hp@bitrange.com>
964 * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
965 Call force_operand on plus_constant result.
967 2004-01-01 Jan Hubicka <jh@suse.cz>
969 * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
970 * expr.c (store_constructor): Use vec_init pattern.
971 * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
972 * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
973 (vec_set_optab, vec_extract_optab, vec_init_optab): New.
974 * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
976 (sse2_unpc?pd): Fix pattern.
978 (sse2_movsd): Deal with movlpd too.
979 * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
980 (ix86_expand_vector_init): New.
981 * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
982 * md.texi (vec_set, vec_extract): Document
984 2003-12-31 Jan Hubicka <jh@suse.cz>
987 * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside
991 * toplev.c (dump_file_index): Reorder ce3 and bbro.
992 (dump_file): Likewise.
993 (rest_of_compilation): Likewise.
996 * cgraph.c (cgraph_function_possibly_inlined): Even with
997 flag_really_no_inline we inline always_inline functions.
998 * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
999 for non-always_inline functions when there is flag_really_no_inline.
1000 (cgraph_decide_inlining): Limit work done when not inlining.
1001 (cgraph_decide_inlining_incrementally): Likewise.
1002 (cgraph_optimize_function): Check whether something got inlined.
1003 * c-objc-common.c (c_disregard_inline_limits): Do not always inline
1004 extern inline functions when not inlining.
1006 * opts.c (decode_options): Disable crossjumping at -O1
1007 * invoke.texi (-O1): Document change.
1009 See ChangeLog.10 for earlier changes.