1 2004-01-17 Roger Sayle <roger@eyesopen.com>
3 * builtins.c (expand_builtin_expect_jump): Fix mistake in my
4 last patch. Use XEXP (x, 0) to get a LABEL_REF's CODE_LABEL.
6 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
8 * rtl.h (emit_insn_before_sameloc, emit_jump_insn_before_sameloc)
9 (emit_call_insn_before_sameloc, emit_insn_after_sameloc)
10 (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): New
12 * reload1.c (emit_reload_insns): Use them.
13 * emit-rtl.c (emit_insn_before_sameloc, emit_insn_after_sameloc)
14 (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): Check
17 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
19 * final.c (SEEN_BB, SEEN_NOTE, SEEN_EMITTED): Define.
20 (final_scan_insn): Update to take an additional SEEN argument. Emit
21 a line note after the prologue. Make static.
22 (line_note_exists): Remove.
23 (final): Don't initialize line_note_exists. Update call to
25 * output.h (final_scan_insn): Remove prologue.
26 * function.c (set_insn_locators): Update comment.
27 (thread_prologue_and_epilogue_insns): Add a comment.
29 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
32 * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
34 * config/rs6000/rs6000.c (rs6000_special_round_type_align):
36 * config/rs6000/linux64.h (ROUND_TYPE_ALIGN): Use it.
37 * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Likewise.
38 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Likewise.
40 2004-01-17 Jan Hubicka <jh@suse.cz>
42 * toplev.c (rest_of_handle_reorder_blocks): Fix pasto in previous
45 * toplev.c (HAVE_conditional_execution): Provide default.
46 (rest_of_handle_reorder_blocks): For conditional_execution target
47 update liveness once after all transformations
48 (rest_of_compilation): Do crossjumping before ce3.
50 2004-01-17 Geoffrey Keating <geoffk@apple.com>
52 * alias.c (new_alias_set): Mark last_alias_set for PCH.
53 (get_varargs_alias_set): Rename 'set' to 'varargs_set' and mark it
55 (get_frame_alias_set): Likewise, except rename it to 'frame_set'.
56 * config/rs6000/rs6000.c (rs6000_sr_alias_set): Mark for PCH.
57 (get_TOC_alias_set): Mark 'set' for PCH.
59 2004-01-16 Geoffrey Keating <geoffk@apple.com>
61 * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
62 even after reload, just don't remove the actual jump tables.
64 2004-01-17 J. Brobecker <brobecker@gnat.com>
66 * dwarf2out.c (is_subrange_type): Renamed from is_ada_subrange_type().
67 Remove checks for is_ada() and TREE_UNSIGNED.
68 (subrange_type_die): Emit a byte_size attribute if the subrange
69 type size is different from the base type size.
70 (modified_type_die): Replace call to is_ada_subrange_type() by
71 call to is_subrange_type().
73 2004-01-16 Andrew Pinski <pinskia@physics.uc.edu>
75 * config/sh/sh.c: Include ggc.h.
77 2004-01-16 Geoffrey Keating <geoffk@apple.com>
79 * Makefile.in (MD5_H): New.
80 (fold-const.o): Depend on md5.h.
81 (dwarf2out.o): Likewise.
82 (cppfiles.o): Likewise.
83 * cppfiles.c: Include md5.h.
84 (should_stack_file): Check against list read from PCH file.
85 (struct pchf_data): New.
87 (struct pchf_adder_info): New.
89 (pchf_save_compare): New.
90 (_cpp_save_file_entries): New.
91 (_cpp_read_file_entries): New.
92 (struct pchf_compare_data): New.
94 (check_file_against_entries): New.
95 * cpphash.h (_cpp_save_file_entries): Prototype.
96 (_cpp_read_file_entries): Prototype.
97 * cpppch.c (cpp_write_pch_state): Write the list of headers.
98 (cpp_read_state): Read the list of headers.
100 2004-01-17 Jan Hubicka <jh@suse.cz>
102 * c-common.c (c_estimate_num_insns_1): Handle builtin_constant_p and
103 builtin_expect specially.
104 * params.def (PARAM_MAX_INLINE_INSNS_AUTO): Set to 100.
105 (PARAM_LARGE_FUNCTION_INSNS): Set to 3000.
106 * invoke.texi (max-inline-insns-single): Set to 100.
107 (large-function-insns): Set to 3000.
109 2004-01-16 Eric Christopher <echristo@redhat.com>
110 Chandrakala Chavva <cchavva@redhat.com>
112 * cppcharset.c (one_iso88591_to_utf8): New function.
113 (convert_iso88591_utf8): Ditto. Use.
114 (conversion_tab): Use.
115 (_cpp_input_to_utf8): New function.
116 (_cpp_init_iconv_buffer): Ditto.
117 (_cpp_close_iconv_buffer): Ditto.
118 * cpphash.h: Prototype new functions.
119 (cpp_buffer): Add input_cset_desc.
120 * cppinit.c: Add input_charset default.
121 * cpplib.c (cpp_push_buffer): Support init and
123 * cpplib.h (cpp_options): Add input_charset.
125 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
127 * system.h (ASM_OUTPUT_SECTION_NAME): Poison.
128 * config/alpha/unicosmk.h: Remove a commented-out definition
129 of ASM_OUTPUT_SECTION_NAME.
130 * config/stormy16/stormy16.h: Likewise.
132 2004-01-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
134 * fixinc/inclhack.def (alpha___extern_prefix): Renamed to ...
135 (alpha___extern_prefix_sys_stat): ... this.
136 Apply to <sys/mount.h>, too.
137 Tweak to match more variations.
138 * fixinc/tests/base/sys/stat.h: Adapt for new hackname.
140 * fixinc/inclhack.def (alpha___extern_prefix,
141 alpha___extern_prefix_standards): New hacks to obey
142 __PRAGMA_EXTERN_PREFIX.
143 * fixinc/tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: New
145 * fixinc/tests/base/standards.h: Likewise.
147 * fixincl/inclhack.def (alpha_pthread): Tweak to match more
150 * fixinc/tests/base/pthread.h: Handle it.
152 * fixincl/inclhack.def (bad_lval): Sort file list.
153 Add many missing files up to Tru64 UNIX V5.1B.
154 * gcc/fixinc/tests/base/libgen.h: Renamed to ...
155 * gcc/fixinc/tests/base/dirent.h: ... this to match new file list
158 * fixinc/fixincl.x: Regenerate.
160 2004-01-16 Mark Mitchell <mark@codesourcery.com>
162 * version.c (version_string): Change to 3.5.0.
163 * doc/include/gcc-common.texi (version-GCC): Likewise.
165 2004-01-16 Jan Hubicka <jh@suse.cz>
167 * i386.md (load_tp_di): Fix pasto.
170 * i386.c (ix86_compute_frame_layout): Fix for alloca on leaf function.
172 * c-pretty-print.c (pp_c_type_cast, pp_c_abstract_declarator,
173 pp_c_character_constant, pp_c_floating_constant,
174 pp_c_additive_expression, pp_c_shift_expression,
175 pp_c_equality_expression, pp_c_and_expression,
176 pp_c_exclusive_or_expression, pp_c_inclusive_or_expression,
177 pp_c_logical_and_expression): Remove inline modifier.
178 * dwarf2out.c (get_AT): Likewise.
179 * et-forest.c (et_splay): Likewise.
180 * ra.h (ra_alloc, ra_calloc): Likewise
182 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
184 * config/frv/frv-protos.h: Fix comment formatting.
185 * config/frv/frv.c: Likewise.
186 * config/frv/frv.h: Likewise.
187 * config/frv/frv.md: Likewise.
188 * config/frv/frvbegin.c: Likewise.
189 * config/frv/frvend.c: Likewise.
191 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
193 * system.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Poison.
194 * doc/tm.texi (PREFERRED_DEBUGGING_TYPE): Don't mention
195 LINKER_DOES_NOT_WORK_WITH_DWARF2.
196 (LINKER_DOES_NOT_WORK_WITH_DWARF2): Remove.
198 2004-01-16 J"orn Rennecke <joern.rennecke@superh.com>
201 * postreload.c (reload_cse_simplify_operands): Don't remove
202 implicit extension from LOAD_EXTEND_OP.
204 2004-01-16 Jan Hubicka <jh@suse.cz>
207 * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal
209 * cfgrtl.c (rtl_can_merge_blocks, cfglayout_can_merge_blocks,
210 rtl_try_redirect_by_replacing_branch): Likewise.
212 2004-01-15 Geoffrey Keating <geoffk@apple.com>
215 * alias.c (struct alias_set_entry): Mark for GC.
216 (alias_sets): Make static, mark for GC.
217 (record_alias_subset): Use GC to allocate alias structures.
218 * varray.c (element): Make generic varrays GCed.
221 * c-typeck.c (constructor_asmspec): Delete.
222 (struct initializer_stack): Delete field 'asmspec'.
223 (start_init): Delete saving of asmspec.
224 (finish_init): Don't update constructor_asmspec.
225 * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
226 * stmt.c (expand_asm): Duplicate strings from tree.
227 (expand_asm_operands): Likewise.
228 * tree.c (tree_size): Update computation of size of STRING_CST.
229 (make_node): Don't make STRING_CST nodes.
230 (build_string): Allocate string with tree node.
231 * tree.def (STRING_CST): Update comment.
232 * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
233 (tree_string): Place contents of string in tree node.
234 * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
237 * config/rs6000/rs6000.c (rs6000_va_arg): No need to special-case
240 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
242 * c-common.h: Fix comment formatting.
243 * c-cppbuiltin.c: Likewise.
244 * c-pragma.c: Likewise.
246 * collect2.c: Likewise.
247 * cppcharset.c: Likewise.
248 * cpptrad.c: Likewise.
249 * dbxout.c: Likewise.
250 * defaults.h: Likewise.
251 * dwarf2out.c: Likewise.
252 * fold-const.c: Likewise.
253 * genautomata.c: Likewise.
254 * genconditions.c: Likewise.
255 * genflags.c: Likewise.
256 * gengtype.c: Likewise.
257 * integrate.c: Likewise.
259 * predict.c: Likewise.
260 * sdbout.c: Likewise.
262 2004-01-15 Zack Weinberg <zack@codesourcery.com>
264 * config/ia64/ia64.md (*movti_internal): C output template
266 (*movti_internal_reg): Delete.
267 (reload_inti, reload_outti): Use the correct mode on operand 2
268 in the first place, don't fix it up in the output template.
269 (movtf, reload_ointf, reload_outtf): New expanders.
270 (*movtf_internal): New define_insn_and_split.
271 * config/ia64/ia64.c (ia64_split_timode): Rename to ia64_split_tmode;
272 make static; do not hand TFmode CONST_DOUBLEs to split_double.
273 (ia64_split_tmode_move): New function, body mostly pulled
274 from ia64.md:*movti_internal.
275 (ia64_function_arg_words): New function, extracted common
276 logic from ia64_function_arg et seq.
277 (ia64_function_arg_offset): Likewise. Handle correctly the
278 case of a scalar quantity 16 bytes wide with only 8-byte alignment.
279 (ia64_function_arg, ia64_function_arg_partial_nregs)
280 (ia64_function_arg_advance): Use ia64_function_arg_words and
281 ia64_function_arg_offset.
282 (ia64_function_value): TCmode does not go in float regs.
283 (ia64_secondary_reload_class): Also handle TFmode.
284 * config/ia64/ia64-protos.h: Remove prototype for
285 ia64_split_timode; add prototype for ia64_split_tmode_move.
287 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
289 * Makefile.in (MAINT): Make it an immediate assignment.
291 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
293 * config/m32r/m32r.md: Remove useless calls to gen_lowpart.
295 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
297 * config/h8300/coff.h: Replace Hitachi with Renesas.
298 * config/h8300/elf.h: Likewise.
299 * config/h8300/h8300-protos.h: Likewise.
300 * config/h8300/h8300.c: Likewise.
301 * config/h8300/h8300.h: Likewise.
302 * config/h8300/h8300.md: Likewise.
303 * config/h8300/lib1funcs.asm: Likewise.
305 2004-01-15 Andrew Pinski <apinski@apple.com>
307 * config/rs6000/rs6000.c (uses_TOC): Wrap #if TARGET_ELF
310 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
312 * config/h8300/h8300.c (h8300_return_in_memory): New.
313 (TARGET_STRUCT_VALUE_RTX): Likewise.
314 (TARGET_RETURN_IN_MEMORY): Likewise.
315 * config/h8300/h8300.h (STRUCT_VALUE): Remove.
316 (RETURN_IN_MEMORY): Likewise.
318 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
320 PR optimization/13375
321 * gcse.c (handle_avail_expr): Just return if the source is not a
324 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
325 Daniel Jacobowitz <drow@mvista.com>
327 * arm/lib1funcs.asm (ARM_FUNC_START): Correct interworking case.
329 (ARM_FUNC_ALIAS): New macro.
330 * arm/ieee754-df.S (gedf2, ledf2, nedf2, eqdf2): Use it.
331 * arm/ieee754-sf.S (gesf2, lesf2, nesf2, eqsf2): Use it.
333 2004-01-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
335 PR optimization/12372
336 * calls.c (expand_call): Add call_fusage data for stack arguments in
339 2004-01-15 Alan Modra <amodra@bigpond.net.au>
341 * config/rs6000/rs6000.c (uses_TOC): Correct comment. Make static.
342 (rs6000_elf_declare_function_name): Formatting.
343 * config/rs6000/rs6000-protos.h (uses_TOC): Remove declaration.
345 2004-01-15 Jan Hubicka <jh@suse.cz>
348 * sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in
351 2004-01-15 Richard Henderson <rth@redhat.com>
353 * config/alpha/alpha.h (REG_ALLOC_ORDER): Reorder fp regs after
354 integer regs of the same call-savedness.
356 2004-01-15 Andreas Schwab <schwab@suse.de>
359 * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
360 status for NOTB/NOTW/NEGW methods.
362 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
364 * doc/invoke.texi: Update dump file names. Fix a typo.
366 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
368 * builtins.c (expand_builtin_va_end): Don't use
369 EXPAND_BUILTIN_VA_END.
370 * system.h (EXPAND_BUILTIN_VA_END): Poison.
371 * config/d30v/d30v.h: Remove a commented-out definition of
372 EXPAND_BUILTIN_VA_END.
373 * config/stormy16/stormy16.h: Likewise.
375 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
377 * system.h (STRUCT_VALUE_INCOMING_REGNUM): Poison.
378 * targhooks.c (default_struct_value_rtx): Don't use
379 STRUCT_VALUE_INCOMING_REGNUM.
381 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
384 * configure.in: Revamp enable-generated-files-in-srcdir rule to define
385 GENINSRC and not parsedir. Define srcextra as a langhook.
386 * configure: Regenerate.
387 * Makefile.in: Suppress default .l.c rule. Don't substitute
388 parsedir and delete all references throughout. Conditionally define
389 rule for srcextra dependent on GENINSRC.
390 (stmp-docobjdir): Delete.
391 (c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule.
392 (srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c,
393 and gengtype-yacc.h back to source directory.
394 (maintainer-clean): Delete all parse files in source directory.
395 (distclean): Delete generated files.
397 * objc/Make-lang.in (objc-parse.o): Use implicit build rule.
398 (objc-parse.c, objc-parse.y): Don't use parsedir.
399 (objc.srcextra): Copy objc-parse.y and objc-parse.c back to source
400 directory if requested.
401 (po-generated): Don't use parsedir.
402 (objc.maintainer-clean): Delete above files from source directory.
404 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
406 * doc/tm.texi (FUNCTION_VALUE): Fix a typo.
408 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
410 * doc/tm.texi: Replace RETURN_IN_MEMORY with
411 TARGET_RETURN_IN_MEMORY.
413 2004-01-15 Jan Hubicka <jh@suse.cz>
415 * builtins.c (std_expand_builtin_va_arg): Align operand when needed.
416 * i386.c (init_cumulative_args): Set warn_sse; fix handling of variadic
417 functions accepting SSE arguments
418 (function_arg): Warn only when asked to warn.
419 * i386.h (ix86_args): Add warn_sse/warn_mmx fiels.
421 2004-01-14 Joseph S. Myers <jsm@polyomino.org.uk>
423 * c-parse.in (stmts_and_decls): Make label at end of compound
424 statement a hard error.
426 2004-01-14 Jan Hubicka <jh@suse.cz>
428 * cgraph.c (create_edge): Use local.redefined_extern_inline.
429 * cgraph.h (cgraph_local_info): Sort fields by size; add
430 redefined_extern_inline
431 (cgraph_global_info): Sort fields by size.
432 (cgraph_node): Likewise.
433 * cgraphunit.c (cgraph_finalize_function): Se
434 local.redefined_extern_inline on redefinition.
435 (cgraph_analyze_function): Use it; fix formating.
437 2004-01-14 Jan Hubicka <jh@suse.cz>
440 * sched-deps.c (trye_dependency_cache, anti_dependency_cache,
441 outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of
443 (cache_size): New variable
444 (add_dependence): Update use; canonize early memory locations
445 (sched_analyze_1): Likewise.
446 (sched_analyze_2): Likewise.
447 (init_dependency_caches): Initialize bitmaps.
448 (free_dependency_caches): Free bitmaps
450 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
452 * calls.c: Replace STRICT_ARGUMENT_NAMING in comments with
453 targetm.calls.strict_argument_naming().
454 * target.h: Likewise.
456 2004-01-14 Richard Henderson <rth@redhat.com>
459 * dwarf2out.c (dwarf2out_stack_adjust): Skip prologue and epilogue
462 2004-01-14 Richard Henderson <rth@redhat.com>
465 * except.c (struct eh_region): Add u.fixup.resolved.
466 (resolve_one_fixup_region): Split out from ...
467 (resolve_fixup_regions): ... here.
469 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
471 * config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0.
473 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
475 * config/alpha/alpha.h (STRUCT_VALUE): Remove.
476 * config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef.
477 (STRUCT_VALUE): Remove.
479 2003-01-14 Steven Bosscher <stevenb@suse.de>
481 * system.h: Poison PROMOTED_MODE
482 * integrate.c (expand_inline_function): Don't mention the
484 * loop.c (update_giv_derive): Same.
485 * tree.h (DECL_RTL): Same.
487 2004-01-14 J"orn Rennecke <joern.rennecke@superh.com>
490 * sh.c (gen_block_redirect): Add special handling of RETURN.
491 (gen_far_branch) Don't call gen_stuff_delay_slot if there is no
492 far branch target (i.e. it's a return).
494 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
496 * regrename.c (find_oldest_value_reg): Fix a warning.
498 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
501 * config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file.
502 Move linux-gas.h and linux-elf.h before aout.h.
503 * arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already.
504 * arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define.
506 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
508 * config/m32r/m32r.md: Use GEN_INT instead of gen_rtx
509 (CONST_INT, VOIDmode, ...).
511 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
513 * regrename.c (find_oldest_value_reg): If the replacement uses
514 multiple hard registers, check that all of them are in CLASS.
516 2004-01-14 Jan Hubicka <jh@suse.cz>
518 * alias.c (get_alias_set): Initialize alias set to 0 when subset is
521 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
523 * Makefile.in: Define MAINT from --enable-maintainer-mode.
525 2004-01-14 Hartmut Penner <hpenner@de.ibm.com>
527 * gcc/config/rs6000/rs6000.c (rs6000_stack_info)
528 Calculate always vrsave_mask if TARGET_ALTIVEC.
529 (rs6000_emit_prologue): Emit code for vrsave
530 only if TARGET_ALTIVEC_VRSAVE.
531 (rs6000_emit_epilogue): Likewise.
533 2004-01-14 Eric Botcazou <ebotcazou@libertysurf.fr>
535 * config/sparc/sparc.md (tie_add32): Fix pasto.
536 (tie_add64): Likewise.
538 2004-01-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
540 * config/i386/i386.md (*addqi_1_slp): Do not access operands[2].
542 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
544 * config/iq2000/iq2000-protos.h: Fix comment formatting.
545 * config/iq2000/iq2000.c: Likewise.
546 * config/iq2000/iq2000.md: Likewise.
548 2004-01-14 J. Brobecker <brobecker@gnat.com>
550 * dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
551 (subrange_type_die): Add handle for nameless subrange types.
553 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
555 * config/h8300/h8300-protos.h: Replace do_movsi with
557 * config/h8300/h8300.c (do_movsi): Change to
559 * config/h8300/h8300.md (movsi): Replace do_movsi with
563 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
565 * config/h8300/h8300.c (dosize): Change to
566 h8300_emit_stack_adjustment. Update callers.
568 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
570 * config/h8300/h8300.md (movstrictqi): Add an alternative with
571 the source being post_inc. Tighten the predicate for the
572 destination to register_operand.
573 (movstricthi): Likewise.
575 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
577 * system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
578 * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP.
579 * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove.
581 2004-01-14 Jan Hubicka <jh@suse.cz>
583 Partial fix PR c++/12850
584 * cgraphunit.c (cgraph_finalize_function): Always ggc_collect when
587 2004-01-13 Bernardo Innocenti <bernie@develer.com>
589 * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
592 2004-01-13 Devang Patel <dpatel@apple.com
595 * dbxout.c (dbxout_symbol_name): Emit mangled names for
596 NAMESPACE_DECL memebers.
598 2004-01-13 Andrew Pinski <pinskia@physics.uc.edu>
601 * c-common.c (finish_fname_decls): Use the chain only if the
602 tree is an expr_stmt.
604 2004-01-13 Vladimir Makarov <vmakarov@redhat.com>
606 * rtl.def: Add comment about new option in automata_option.
608 * genautomata.c (PROGRESS_OPTION): New macro.
609 (progress_flag): New global variable.
610 (gen_automata_option): Process `progress'.
611 (transform_insn_regexps, check_unit_distributions_to_automata,
612 make_automaton, NDFA_to_DFA, build_automaton, create_automata,
613 expand_automata, write_automata): Print about the progress only if
614 progress_flag. Remove fflush.
615 (initiate_automaton_gen): Process command line flag `-progress'.
617 * doc/md.texi: Describe the new option.
619 2004-01-13 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
621 * cfg.c (dump_bb): Dump entry edges.
623 2004-01-13 Richard Earnshaw <rearnsha@arm.com>
625 * arm.c (thumb_legitimate_address_p): Only allow constant pool
626 references from SImode.
627 * arm.md (thumb_movhi_insn): Don't allow minipool references.
629 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
631 * system.h (TEXT_SECTION): Poison.
632 * varasm.c (text_section): Don't use TEXT_SECTION.
633 * config/sh/sh.c (sh_file_start): Fix a comment typo.
634 * doc/tm.texi (TEXT_SECTION): Remove.
636 2004-01-13 Ben Elliston <bje@wasabisystems.com>
638 * doc/rtl.texi (Vector Operations): Remove defunct vec_const item.
640 2004-01-12 James E Wilson <wilson@specifixinc.com>
642 * unwind-libunwind.c: Delete.
644 2004-01-12 Zack Weinberg <zack@codesourcery.com>
647 * c-decl.c (diagnose_mismatched_decls): Whenever newtype or
648 oldtype is set, set *newtypep or *oldtypep too. Do not set
649 them at the very end.
650 (validate_proto_after_old_defn): Restructure for comprehensibility;
651 make error messages clearer.
653 2004-01-12 Zack Weinberg <zack@codesourcery.com>
655 * varray.h (VARRAY_POP): Add checking variant, aborts on underflow.
656 (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked.
657 * varray.c: No need to prototype error.
658 (varray_check_failed): Wrap long string onto two lines.
659 (varray_underflow): New function.
661 2004-01-13 Steven Bosscher <stevenb@suse.de>
664 * function.h (struct function): Kill `name' field.
665 (current_function_name): Make it an extern function.
666 * function.c (current_function_name): New function.
667 * graph.c: Update all uses of current_function_name.
669 * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
670 config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
671 * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
672 instead of a strcmp with "main".
674 2004-01-13 Jan Hubicka <jh@suse.cz>
676 * c-decl.c (diagnose_mismatched_decls): Fix warning calls.
678 * cgraphunit.c (cgraph_optimize_function): Always do
679 optimize_inline_calls when there is always_inline callee.
680 (cgraph_decide_inlining): Fix formating.
681 * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
683 (expand_call_inline): Likewise.
684 * toplev.h (sorry): Fix prototype.
686 2004-01-12 Roger Sayle <roger@eyesopen.com>
688 * builtins.c (expand_builtin_expect_jump): Simplify logic. Handle
689 conditional jumps that drop through to unconditional jumps or the
692 2004-01-13 Jan Hubicka <jh@suse.cz>
694 * alias.c (new_alias_set): Construct the alias_set varray.
695 (init_alias_once): Don't do it here.
697 2004-01-12 Marc Espie <espie@openbsd.org>
699 * system.h: handle YYBYACC like YYBISON.
701 2004-01-12 Jonathan Merriman <jonm@dualitymedia.com>
704 * config.gcc: No longer includes conflicting header sparc/sol2.h when
705 building on sparc64-*-openbsd*.
707 2004-01-12 Andrew Pinski <pinskia@physics.uc.edu>
710 * dbxout.c (dbxout_type): Protected inheritance is not
711 private but protected.
713 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
715 * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.
717 2004-01-12 Kazu Hirata <kazu@cs.umass.edu>
719 PR optimization/12508.
720 * combine.c (try_combine): Remove a dead set in a parallel
721 even if its destination is a subreg.
724 2003-06-03 Kazu Hirata <kazu@cs.umass.edu>
725 * combine.c (simplify_set): Don't move a subreg in SET_SRC to
726 SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
728 2004-01-12 Geoffrey Keating <geoffk@apple.com>
730 * real.c: Update copyright date.
731 * emit-rtl.c: Likewise.
733 * dwarf2out.c: Likewise.
734 * config/rs6000/darwin-ldouble.c: Likewise.
735 * config/rs6000/rs6000.md: Likewise.
737 2004-01-12 David Edelsohn <edelsohn@gnu.org>
739 * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
740 TFmode to SImode libfuncs.
742 2004-01-12 Roger Sayle <roger@eyesopen.com>
745 * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
747 2004-01-12 Jan Hubicka <jh@suse.cz>
750 * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
754 * cfgcleanup.c (label_is_jump_target_p): Move to...
755 * rtlanal.c (label_is_jump_target_p): ... here.
756 * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Fix redirecting of fallthru
757 edges unified with branch edges.
759 2004-01-12 Richard Earnshaw <rearnsha@arm.com>
761 * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
762 high word of an integral CONST_DOUBLE.
764 2004-01-12 Paul Brook <paul@codesourcery.com>
766 * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
768 2004-01-12 J"orn Rennecke <joern.rennecke@superh.com>
771 * sh-protos.h (check_use_sfunc_addr): Declare.
772 * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
773 * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
775 2004-01-12 Jan Hubicka <jh@suse.cz>
777 * alias.c: Invlude varray.h
778 (alias_sets): Turn into varray.
779 (get_alias_set_entry): Use VARRAY; mark inline.
780 (mems_in_disjoint_alias_sets_p): Mark inline.
781 (record_alias_subset): Use varray.
782 (init_alias_once): Initialize varray.
783 (new_alias_set): Grow array.
784 * varray.c: Make VARRAY_GENERIC_PTR non GTYized.
786 2004-01-12 Jan Hubicka <jh@suse.cz>
788 Partial fix for PR opt/10776 II
789 * cselib.c: Include params.h
790 (cselib_invalidate_mem): Limit amount of nonconflicting memory
792 * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
793 * Makefile.in (cselib.o): Depend on params.h
795 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
797 * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
798 simplify_unary_operation if the operand has a known mode.
800 2004-01-12 Hartmut Penner <hpenner@de.ibm.com>
803 * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
804 predicate to handle 'ld' conform addresses.
805 * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
807 (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
808 are memory contraints.
809 * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
811 * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
812 Change 'o' to 'Y' constraint.
813 (*movdf_softfloat64): Ditto.
815 2004-01-12 Bernardo Innocenti <bernie@develer.com>
817 * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
818 brace-enclosed syntax in all C output statements.
820 2004-01-12 David Edelsohn <edelsohn@gnu.org>
823 * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
824 Objective-C language type value is 14.
826 2004-01-12 Markus F.X.J. Oberhumer <markus@oberhumer.com>
829 * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
830 `int' in a number of places to make sure we always have a SImode
831 and not a HImode. Add a 'L' suffix to a number of constants.
833 2004-01-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
835 * pa.c: Don't include obstack.h.
837 * pa.md: Correct constraint in pattern for loading PIC label address.
839 2004-01-11 Kaz Kojima <kkojima@gcc.gnu.org>
841 * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
844 2004-01-11 Steven Bosscher <stevenb@suse.de>
847 * toplev.c (rest_of_handle_inline): Also consider functions
848 for deferral if the language is GNU F77.
850 2004-01-11 Zack Weinberg <zack@codesourcery.com>
852 * c-decl.c (diagnose_arglist_conflict): Add missing space to
855 2004-01-11 Jakub Jelinek <jakub@redhat.com>
858 * builtins.c (expand_builtin_expect_jump): Handle conditional jumps
859 to drop through label. Don't fall back to SCC even when conditional
860 jump has not been found.
862 2004-01-11 Jan Hubicka <jh@suse.cz>
864 * invoke.texi: Fix syntax error in previous patch.
866 Partial fix for PR opt/10776
867 * Makefile.in (reload.o): Include param.h
868 * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter.
869 * reload.c: Include params.h.
870 (find_equiv_reg): Work limiting check.
871 * invoke.texi: Document.
873 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
875 * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
876 out-of-bounds accesses to string constants. Simplify mips16
879 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
881 PR optimization/13469
882 * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
883 reload_cse_regs (-fnon-call-exceptions only).
885 2004-01-11 Kazu Hirata <kazu@cs.umass.edu>
887 * config/mcore/lib1.asm: Fix comment formatting.
888 * config/mcore/mcore-elf.h: Likewise.
889 * config/mcore/mcore.c: Likewise.
890 * config/mcore/mcore.h: Likewise.
891 * config/mcore/mcore.md: Likewise.
893 2004-01-10 Zack Weinberg <zack@codesourcery.com>
895 * c-decl.c (duplicate_decls): Break apart into...
896 (diagnose_arglist_conflict, validate_proto_after_old_defn)
897 (locate_old_defn, diagnose_mismatched_decls, merge_decls):
898 ... these new functions. Restructure for comprehensibility.
899 Remove various archaic special cases. Always report the
900 location of the previous declaration when a diagnostic is issued.
901 (redeclaration_error_message): Fold into diagnose_mismatched_decls.
902 (match_builtin_function_types): Delete unnecessary forward declaration.
904 2004-01-10 Zack Weinberg <zack@codesourcery.com>
906 * genautomata.c (make_automaton, NDFA_to_DFA):
907 Print progress bars with '.' characters instead of '*'.
908 (build_automaton): Change notes to match.
910 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
912 * config/m32r/m32r.md: Use define_constants for unspec and
915 2004-01-10 Jan Hubicka <jh@suse.cz>
918 * expr.c (expand_expr_real): More curefully expand union casts.
920 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
922 * config/m32r/m32r.md (flush_icache): Use 1 for
925 2004-01-10 David Edelsohn <edelsohn@gnu.org>
926 James E Wilson <wilson@specifixinc.com>
929 * dbxout.c (dbxout_symbol): Remove initialization of
930 current_sym_code, current_sym_value, and current_sym_addr.
931 (dbxout_symbol_location): Same.
932 (dbxout_prepare_symbol): Zero current_sym_code,
933 current_sym_value, and current_sym_addr.
935 2004-01-10 Richard Sandiford <rsandifo@redhat.com>
937 * tree.c (get_unwidened): Reorder conditions so that the null pointer
940 2004-01-09 Eric Christopher <echristo@redhat.com>
942 * toplev.c (rest_of_handle_cfg): Add reg_scan pass
943 if we're running mark_constant_function.
945 2004-01-09 Jeff Bailey <jbailey@nisa.net>
948 * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
950 2004-01-09 Andrew Pinski <pinskia@physics.uc.edu>
953 * dbxout.c (dbxout_type_fields): Return if any item is
954 error_mark_node or the type is error_mark_node.
956 2004-01-09 Geoffrey Keating <geoffk@apple.com>
958 * config/rs6000/darwin-ldouble.c: Add big comment explaining
959 exactly what is expected as a 'long double'.
960 (_xlqadd): When a value to be returned is representable as a
961 'double', just return it directly, do not construct it using a union.
962 Also, correct final fixup.
965 * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.
967 * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
969 2004-01-09 Richard Henderson <rth@redhat.com>
971 * recog.c (constrain_operands): Validate mem operands.
973 2004-01-09 James E Wilson <wilson@specifixinc.com>
975 * gcc.c (init_spec): Remove -lunwind from shared case.
976 * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
978 2004-01-09 Steve Ellcey <sje@cup.hp.com>
980 * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
981 * configure: Regenerate
983 2004-01-09 Joseph S. Myers <jsm@polyomino.org.uk>
986 * c-typeck.c (build_c_cast): If pedantic, warn for conversions
987 between function and object pointers.
988 (digest_init): When comparing a pointer to function type to the
989 target type, only apply TREE_TYPE once to the pointer to function
991 * except.c (for_each_eh_label_1): Treat data as a pointer to a
992 function pointer rather than casting it to a function pointer.
993 (for_each_eh_label): Update caller.
994 * recog.h (struct insn_data): Use a struct or union for output.
995 * genoutput.c (output_insn_data): Update.
996 * final.c (get_insn_template): Update.
998 2004-01-09 Mark Mitchell <mark@codesourcery.com>
1000 * expr.h (expand_expr): Make it a macro, not a function.
1001 (expand_expr_real): New function.
1002 * expr.c (store_expr): Adjust logic for deciding whether or not to
1003 copy the value returned by expand_expr.
1004 (expand_expr): Rename to ...
1005 (expand_expr_real): ... this. Add alt_rtl parameter. Adjust
1006 calls to language hooks.
1007 * c-common.h (c_expand_expr): Adjust prototype.
1008 * c-common.c (c_expand_expr): Add alt_rtl parameter.
1009 * langhooks-def.h (lhd_expand_expr): Change prototype.
1010 * langhooks.c (lhd_expand_expr): Add all_rtl parameter.
1011 * langhooks.h (lang_hooks): Change type of expand_expr.
1012 * stmt.c (stmt_status): Add x_last_expr_alt_rtl.
1013 (last_expr_alt_rtl): Likewise.
1014 (expand_expr_stmt_value): Set last_expr_alt_rtl.
1015 (clear_last_expr): Clear it.
1016 (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
1017 (expand_end_bindings): Save and restor last_expr_alt_rtl.
1018 * tree.def (RTL_EXPR): Give it an additional operand.
1019 * tree.h (RTL_EXPR_ALT_RTL): New macro.
1021 2004-01-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1023 * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
1024 * config/m32r/m32r.c (call26_operand): Allow in PIC mode.
1026 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
1029 * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
1030 or (ne:SI (reg:CC 17) (const_int 0)).
1031 Be specific about modes wherever possible.
1033 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
1035 * config/m32r/m32r.c (m32r_expand_block_move): Call
1036 gen_movestrsi_internal with two more arguments.
1037 (m32r_output_block_move): Adjust operand numbers.
1038 Properly update the source and destination pointers.
1039 * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
1040 'r+'. Change the set detinations to match_operand.
1042 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
1044 * final.c (FIRST_INSN_ADDRESS): Remove.
1045 (shorten_branches): Don't use FIRST_INSN_ADDRESS.
1046 * system.h (FIRST_INSN_ADDRESS): Poison.
1047 * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
1048 * config/m32r/m32r-protos.h: Remove the prototype for
1049 m32r_first_insn_address.
1050 * config/m32r/m32r.c (m32r_first_insn_address): Remove.
1051 * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
1052 * doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
1054 2004-01-09 J. Brobecker <brobecker@gnat.com>
1056 * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
1058 (is_ada_subrange_type): DIEs for enumeration subtypes should be
1059 emitted as subrange types too.
1060 (subrange_type_die): Add handling of enumeration subtypes.
1062 2004-01-08 Richard Henderson <rth@redhat.com>
1065 Revert: Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
1066 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
1067 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
1068 (ix86_address_cost): Be prepared for SUBREGed registers.
1069 (legitimate_address_p): Accept SUBREGed registers.
1071 2004-01-08 Kelley Cook <kcook@gcc.gnu.org>
1073 * Makefile.in: Rename configure.in to configure.ac
1074 * doc/sourcebuild.texi: Likewise.
1075 * configure: Regenerate.
1076 * config.in: Regenerate.
1078 2004-01-08 Stuart Hastings <stuart@apple.com>
1080 * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
1082 2004-01-08 Jan Hubicka <jh@suse.cz>
1084 * cgraphunit.c (cgraph_decide_inlining): Fix typo.
1086 2004-01-08 Geoffrey Keating <geoffk@apple.com>
1088 * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
1089 (UNSPEC_FIX_TRUNC_TF): New constant.
1090 (movtf_internal): Make splitter active only when insn is active.
1091 (extenddftf2): Rewrite to properly load zero into low part.
1092 (extenddftf2_internal): New.
1093 (extendsftf2): Rewrite.
1094 (truncdftf2): Correct length.
1095 (floatditf2): Delete.
1096 (fix_trunc_helper): New.
1097 (fix_trunctfdi2): Use fix_trunc_helper.
1098 (fix_trunctfsi2): Likewise.fix_trunc
1099 (fix_trunctfsi2_internal): New.
1101 * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
1102 addresses are legitimate on Darwin even when flag_pic.
1103 (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
1104 non-offsettable addresses for loads of TFmode constants.
1106 2004-01-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1108 * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
1109 variables in the appropriate bss section.
1111 2004-01-09 Alan Modra <amodra@bigpond.net.au>
1113 * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
1114 target_flags has MASK_POWERPC64 when -m64.
1115 * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
1116 to 620, 630, power3, power4 and rs64a entries.
1117 * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
1119 2004-01-08 Richard Sandiford <rsandifo@redhat.com>
1121 * simplify-rtx.c (simplify_immed_subreg): Fix construction of
1122 floating-point constants.
1124 2004-01-08 J. Brobecker <brobecker@gnat.com>
1126 * dwarf2out.c (subrange_type_die): Add context_die parameter.
1127 Create the subrange_type DIE using the given context DIE.
1128 (modified_type_die): Update call to subrange_type_die.
1130 2004-01-08 Zack Weinberg <zack@codesourcery.com>
1132 * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
1133 Add multiple-include guard.
1135 2004-01-08 Hartmut Penner <hpenner@de.ibm.com>
1137 * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
1138 all vector constant loadable by vsplt*.
1139 (output_vec_const_move): Likewise.
1141 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
1144 * c-typeck.c (comptypes): Only treat enumerated types in the same
1145 translation unit as compatible with each other when they are the
1147 * doc/extend.texi: Update.
1149 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
1152 * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
1153 array type from the array element type.
1155 2004-01-07 Alan Modra <amodra@bigpond.net.au>
1157 * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
1158 * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
1159 * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
1160 (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
1161 * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
1163 2004-01-06 Eric Christopher <echristo@redhat.com>
1165 * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
1166 (DWARF2_DEBUGGING_INFO): Define.
1167 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
1168 * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
1169 * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
1171 (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
1172 * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
1173 * config/mips/iris5gas.h: Ditto.
1174 (DBX_DEBUGGING_INFO): Remove.
1175 (DWARF2_DEBUGGING_INFO): Ditto.
1176 (MIPS_DEBUGGING_INFO): Ditto.
1177 (PREFERRED_DEBUGGING_TYPE): Ditto.
1178 * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
1179 (PREFERRED_DEBUGGING_TYPE): Ditto.
1180 (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
1181 * config/mips/elf64.h: Ditto.
1183 2004-01-06 Jan Hubicka <jh@suse.cz>
1185 * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
1186 (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
1188 2004-01-06 Geoffrey Keating <geoffk@apple.com>
1190 * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
1191 (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
1192 * config/rs6000/darwin-ldouble.c: New.
1194 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
1196 (constant_subword): Delete.
1197 * rtl.h (constant_subword): Delete prototype.
1198 (immed_double_const): Is not in varasm.c.
1199 * simplify-rtx.c (simplify_immed_subreg): New.
1200 (simplify_subreg): Use simplify_immed_subreg.
1202 * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
1203 than trying to generate RTL directly.
1204 (fix_trunctfsi2): Use expand_fix rather than trying to generate
1207 * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
1209 2004-01-06 David Edelsohn <edelsohn@gnu.org>
1211 * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
1212 function into a separate macro.
1213 (read_only_data_section): Add void argument.
1214 (private_data_section): Same.
1215 (read_only_private_data_section): Same.
1216 (toc_section): Same.
1218 2004-01-06 Jan Hubicka <jh@suse.cz>
1220 * invoke.texi: Remove typo in last change.
1223 * config.gcc: Accept opteron and athlon-64 as variants
1225 * i386.c (override_options): Likewise.
1226 * invoke.texi (i386 -mtune): Expand documentation.
1228 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
1230 * alias.c: Fix comment typos.
1231 * builtins.c: Likewise.
1234 * dominance.c: Likewise.
1235 * dwarf2out.c: Likewise.
1236 * emit-rtl.c: Likewise.
1238 * final.c: Likewise.
1239 * fold-const.c: Likewise.
1241 * genattrtab.c: Likewise.
1242 * genrecog.c: Likewise.
1243 * gensupport.c: Likewise.
1244 * ggc-zone.c: Likewise.
1245 * integrate.c: Likewise.
1246 * local-alloc.c: Likewise.
1248 * recog.c: Likewise.
1249 * regmove.c: Likewise.
1250 * reg-stack.c: Likewise.
1251 * reorg.c: Likewise.
1252 * rtlanal.c: Likewise.
1254 * sched-ebb.c: Likewise.
1255 * simplify-rtx.c: Likewise.
1256 * toplev.c: Likewise.
1257 * varasm.c: Likewise.
1259 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
1261 * doc/install.texi: Fix typos.
1262 * doc/invoke.texi: Likewise.
1263 * doc/md.texi: Likewise.
1265 2004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1267 * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
1269 2004-01-06 Jan Hubicka <jh@suse.cz>
1271 * i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
1272 (function_arg_advance): Do not pass aggregates in SSE; deal handling
1274 (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
1276 * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
1277 (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
1278 (MMX_REGPARM_MAX): Similarly for -mmmx.
1280 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1282 * config/sh/linux.h: Fix comment formatting.
1283 * config/sh/netbsd-elf.h: Likewise.
1284 * config/sh/sh.c: Likewise.
1285 * config/sh/sh.h: Likewise.
1286 * config/sh/vxworks.h: Likewise.
1288 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1290 * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
1291 * toplev.c (output_file_directive): Don't use
1292 ASM_OUTPUT_MAIN_SOURCE_FILENAME.
1294 2004-01-05 Daniel Berlin <dberlin@dberlin.org>
1296 * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
1297 (USING_MMAP): We don't support non-mmap.
1298 (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
1300 (struct page_entry): Remove bytes_free.
1301 (struct page_table_chain): Remove.
1302 (struct globals): Remove page_table member.
1303 (loookup_page_table_entry): Function deleted.
1304 (set_page_table_entry): Ditto.
1305 (ggc_allocated_p): No longer need page table lookups.
1306 (ggc_marked_p): Ditto.
1307 (alloc_small_page): Don't care about bytes_free anymore.
1308 (alloc_large_page): Round up size.
1309 (ggc_alloc_zone_1): Mark large objects as such, and calculate
1310 their size the new way.
1311 Remove page table lookups and setting.
1312 (ggc_get_size): Calculate large object size the new way.
1313 (sweep_pages): Redo to account for fact that we no longer have
1315 (ggc_collect): No longer need to reincrement bytes_free.
1316 (ggc_pch_alloc_object): Handle new large objects properly.
1317 (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
1319 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1321 * doc/invoke.texi: Remove a page break.
1323 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1325 * config/avr/avr.c (avr_output_function_prologue): Remove an
1326 extra pair of curly braces.
1328 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1330 * config/mn10300/mn10300.c: Fix comment formatting.
1331 * config/mn10300/mn10300.h: Likewise.
1333 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1335 * tree.h: Update documentation on nothrow_flag.
1336 * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
1339 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1341 * doc/invoke.texi: Remove traces of dead ports.
1343 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1345 * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
1348 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1351 * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
1353 * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
1354 (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
1355 string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check
1356 the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
1357 (mips_symbol_insns): Don't trust the local/global classification.
1358 (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
1359 (override_options): Make -mabicalls -fno-unit-at-a-time imply
1360 -mno-explicit-relocs.
1361 (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
1362 between local and global symbols.
1364 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1366 * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
1367 (mips_preferred_reload_class): Declare.
1368 * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
1369 (EXTRA_CONSTRAINT): Update accordingly.
1370 (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
1371 * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
1372 (mips_preferred_reload_class): New function. Prefer LEA_REGS if
1373 mips_dangerous_for_la25_p.
1374 (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
1375 if mips_dangerous_for_la25_p.
1377 2004-01-05 Bernardo Innocenti <bernie@develer.com>
1379 * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
1382 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org>
1384 * configure.ac: Use AC_PROG_CPP_WERROR.
1385 * configure: Regenerate.
1387 2004-01-04 Zack Weinberg <zack@codesourcery.com>
1389 * .cvsignore: Add autom4te.cache.
1391 2004-01-04 Richard Sandiford <rsandifo@redhat.com>
1393 * doc/invoke.texi: Revamp documentation of MIPS options. Remove
1394 -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
1395 -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first,
1396 then architecture options, then ABI options. General rewording.
1398 2004-01-04 Joseph S. Myers <jsm@polyomino.org.uk>
1401 * doc/extend.texi: Clarify definition of malloc attribute.
1403 2004-01-04 Jan Hubicka <jh@suse.cz>
1405 * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
1406 * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
1407 * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
1408 (cgraph_inline_p): Add extra argument reason.
1409 * cgraphunit.c: Minor formating fixes.
1410 cgraph_first_inlined_callee): New functions.
1411 (record_call_1): Record builtins too.
1412 (cgraph_analyze_function): Update inline_failed messages.
1413 (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
1414 cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
1415 (cgraph_check_inline_limits): Likewise; Add argument reason.
1416 (cgraph_set_inline_failed): New static function.
1417 (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
1419 (cgraph_inline_p): Add new argument reason.
1420 * tree-inline.c (expand_call_inline): Update warning.
1422 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
1424 * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
1425 with modern equivalents.
1426 * configure: Regenerate.
1428 * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
1429 * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
1430 * configure: Regenerate.
1432 * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
1434 * configure.in: Rename to configure.ac.
1435 * configure.ac: Renamed from configure.in; make minimum necessary
1436 changes for autoconf 2.5x.
1437 * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
1438 * configure: Regenerate with autoconf 2.57.
1440 2004-01-03 Kazu Hirata <kazu@cs.umass.edu>
1442 * config/mips/linux.h: Fix comment formatting.
1443 * config/mips/mips.c: Likewise.
1444 * config/mips/mips.h: Likewise.
1445 * config/mips/mips.md: Likewise.
1446 * config/mips/netbsd.h: Likewise.
1447 * config/mips/windiss.h: Likewise.
1449 2004-01-02 Richard Henderson <rth@redhat.com>
1451 * config/i386/i386.md (fp constant pool splitter): Reorg suppression
1452 for sse and 387; add suppression for mmx.
1454 2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
1456 * loop.c (loop_optimize): Free all loops_info's mems.
1458 * c-typeck.c (finish_init): Free spelling_base before
1461 * cfgloop.c (flow_loops_find): Always free the sbitmap
1464 * predict.c (estimate_probability): Free bbs after being
1467 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
1469 * config/mn10300/mn10300.h (PREDICATE_CODES): Add
1470 const_8bit_operand and call_address_operand.
1472 2004-01-02 Jan Hubicka <jh@suse.cz>
1474 * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls
1475 when there is nothing to inline but warnings are requested.
1476 (cgraph_decide_inlining): Fix memory leak.
1478 2004-01-02 Jan Hubicka <jh@suse.cz>
1480 * expr.c (store_constructor): Fix pasto in previous patch.
1482 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
1484 * config/i386/cygming.h: Fix comment formatting.
1485 * config/i386/djgpp.h: Likewise.
1486 * config/i386/gthr-win32.c: Likewise.
1487 * config/i386/i386-interix.h: Likewise.
1488 * config/i386/i386.c: Likewise.
1489 * config/i386/i386.h: Likewise.
1490 * config/i386/openbsd.h: Likewise.
1491 * config/i386/winnt.c: Likewise.
1492 * config/i386/xm-mingw32.h: Likewise.
1494 2004-01-02 Joseph S. Myers <jsm@polyomino.org.uk>
1496 * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
1497 copyright and last modification dates.
1499 2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de>
1501 * doc/install.texi (Specific): Mention x86_64.
1503 2004-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1505 * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
1506 Call force_operand on plus_constant result.
1508 2004-01-01 Jan Hubicka <jh@suse.cz>
1510 * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
1511 * expr.c (store_constructor): Use vec_init pattern.
1512 * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
1513 * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
1514 (vec_set_optab, vec_extract_optab, vec_init_optab): New.
1515 * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
1517 (sse2_unpc?pd): Fix pattern.
1518 (sse2_movlpd): Kill.
1519 (sse2_movsd): Deal with movlpd too.
1520 * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
1521 (ix86_expand_vector_init): New.
1522 * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
1523 * md.texi (vec_set, vec_extract): Document
1525 2003-12-31 Jan Hubicka <jh@suse.cz>
1528 * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside
1532 * toplev.c (dump_file_index): Reorder ce3 and bbro.
1533 (dump_file): Likewise.
1534 (rest_of_compilation): Likewise.
1537 * cgraph.c (cgraph_function_possibly_inlined): Even with
1538 flag_really_no_inline we inline always_inline functions.
1539 * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
1540 for non-always_inline functions when there is flag_really_no_inline.
1541 (cgraph_decide_inlining): Limit work done when not inlining.
1542 (cgraph_decide_inlining_incrementally): Likewise.
1543 (cgraph_optimize_function): Check whether something got inlined.
1544 * c-objc-common.c (c_disregard_inline_limits): Do not always inline
1545 extern inline functions when not inlining.
1547 * opts.c (decode_options): Disable crossjumping at -O1
1548 * invoke.texi (-O1): Document change.
1550 See ChangeLog.10 for earlier changes.