1 2004-01-16 Geoffrey Keating <geoffk@apple.com>
3 * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
4 even after reload, just don't remove the actual jump tables.
6 2004-01-17 J. Brobecker <brobecker@gnat.com>
8 * dwarf2out.c (is_subrange_type): Renamed from is_ada_subrange_type().
9 Remove checks for is_ada() and TREE_UNSIGNED.
10 (subrange_type_die): Emit a byte_size attribute if the subrange
11 type size is different from the base type size.
12 (modified_type_die): Replace call to is_ada_subrange_type() by
13 call to is_subrange_type().
15 2004-01-16 Andrew Pinski <pinskia@physics.uc.edu>
17 * config/sh/sh.c: Include ggc.h.
19 2004-01-16 Geoffrey Keating <geoffk@apple.com>
21 * Makefile.in (MD5_H): New.
22 (fold-const.o): Depend on md5.h.
23 (dwarf2out.o): Likewise.
24 (cppfiles.o): Likewise.
25 * cppfiles.c: Include md5.h.
26 (should_stack_file): Check against list read from PCH file.
27 (struct pchf_data): New.
29 (struct pchf_adder_info): New.
31 (pchf_save_compare): New.
32 (_cpp_save_file_entries): New.
33 (_cpp_read_file_entries): New.
34 (struct pchf_compare_data): New.
36 (check_file_against_entries): New.
37 * cpphash.h (_cpp_save_file_entries): Prototype.
38 (_cpp_read_file_entries): Prototype.
39 * cpppch.c (cpp_write_pch_state): Write the list of headers.
40 (cpp_read_state): Read the list of headers.
42 2004-01-17 Jan Hubicka <jh@suse.cz>
44 * c-common.c (c_estimate_num_insns_1): Handle builtin_constant_p and
45 builtin_expect specially.
46 * params.def (PARAM_MAX_INLINE_INSNS_AUTO): Set to 100.
47 (PARAM_LARGE_FUNCTION_INSNS): Set to 3000.
48 * invoke.texi (max-inline-insns-single): Set to 100.
49 (large-function-insns): Set to 3000.
51 2004-01-16 Eric Christopher <echristo@redhat.com>
52 Chandrakala Chavva <cchavva@redhat.com>
54 * cppcharset.c (one_iso88591_to_utf8): New function.
55 (convert_iso88591_utf8): Ditto. Use.
56 (conversion_tab): Use.
57 (_cpp_input_to_utf8): New function.
58 (_cpp_init_iconv_buffer): Ditto.
59 (_cpp_close_iconv_buffer): Ditto.
60 * cpphash.h: Prototype new functions.
61 (cpp_buffer): Add input_cset_desc.
62 * cppinit.c: Add input_charset default.
63 * cpplib.c (cpp_push_buffer): Support init and
65 * cpplib.h (cpp_options): Add input_charset.
67 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
69 * system.h (ASM_OUTPUT_SECTION_NAME): Poison.
70 * config/alpha/unicosmk.h: Remove a commented-out definition
71 of ASM_OUTPUT_SECTION_NAME.
72 * config/stormy16/stormy16.h: Likewise.
74 2004-01-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
76 * fixinc/inclhack.def (alpha___extern_prefix): Renamed to ...
77 (alpha___extern_prefix_sys_stat): ... this.
78 Apply to <sys/mount.h>, too.
79 Tweak to match more variations.
80 * fixinc/tests/base/sys/stat.h: Adapt for new hackname.
82 * fixinc/inclhack.def (alpha___extern_prefix,
83 alpha___extern_prefix_standards): New hacks to obey
84 __PRAGMA_EXTERN_PREFIX.
85 * fixinc/tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: New
87 * fixinc/tests/base/standards.h: Likewise.
89 * fixincl/inclhack.def (alpha_pthread): Tweak to match more
92 * fixinc/tests/base/pthread.h: Handle it.
94 * fixincl/inclhack.def (bad_lval): Sort file list.
95 Add many missing files up to Tru64 UNIX V5.1B.
96 * gcc/fixinc/tests/base/libgen.h: Renamed to ...
97 * gcc/fixinc/tests/base/dirent.h: ... this to match new file list
100 * fixinc/fixincl.x: Regenerate.
102 2004-01-16 Mark Mitchell <mark@codesourcery.com>
104 * version.c (version_string): Change to 3.5.0.
105 * doc/include/gcc-common.texi (version-GCC): Likewise.
107 2004-01-16 Jan Hubicka <jh@suse.cz>
109 * i386.md (load_tp_di): Fix pasto.
112 * i386.c (ix86_compute_frame_layout): Fix for alloca on leaf function.
114 * c-pretty-print.c (pp_c_type_cast, pp_c_abstract_declarator,
115 pp_c_character_constant, pp_c_floating_constant,
116 pp_c_additive_expression, pp_c_shift_expression,
117 pp_c_equality_expression, pp_c_and_expression,
118 pp_c_exclusive_or_expression, pp_c_inclusive_or_expression,
119 pp_c_logical_and_expression): Remove inline modifier.
120 * dwarf2out.c (get_AT): Likewise.
121 * et-forest.c (et_splay): Likewise.
122 * ra.h (ra_alloc, ra_calloc): Likewise
124 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
126 * config/frv/frv-protos.h: Fix comment formatting.
127 * config/frv/frv.c: Likewise.
128 * config/frv/frv.h: Likewise.
129 * config/frv/frv.md: Likewise.
130 * config/frv/frvbegin.c: Likewise.
131 * config/frv/frvend.c: Likewise.
133 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
135 * system.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Poison.
136 * doc/tm.texi (PREFERRED_DEBUGGING_TYPE): Don't mention
137 LINKER_DOES_NOT_WORK_WITH_DWARF2.
138 (LINKER_DOES_NOT_WORK_WITH_DWARF2): Remove.
140 2004-01-16 J"orn Rennecke <joern.rennecke@superh.com>
143 * postreload.c (reload_cse_simplify_operands): Don't remove
144 implicit extension from LOAD_EXTEND_OP.
146 2004-01-16 Jan Hubicka <jh@suse.cz>
149 * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal
151 * cfgrtl.c (rtl_can_merge_blocks, cfglayout_can_merge_blocks,
152 rtl_try_redirect_by_replacing_branch): Likewise.
154 2004-01-15 Geoffrey Keating <geoffk@apple.com>
157 * alias.c (struct alias_set_entry): Mark for GC.
158 (alias_sets): Make static, mark for GC.
159 (record_alias_subset): Use GC to allocate alias structures.
160 * varray.c (element): Make generic varrays GCed.
163 * c-typeck.c (constructor_asmspec): Delete.
164 (struct initializer_stack): Delete field 'asmspec'.
165 (start_init): Delete saving of asmspec.
166 (finish_init): Don't update constructor_asmspec.
167 * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
168 * stmt.c (expand_asm): Duplicate strings from tree.
169 (expand_asm_operands): Likewise.
170 * tree.c (tree_size): Update computation of size of STRING_CST.
171 (make_node): Don't make STRING_CST nodes.
172 (build_string): Allocate string with tree node.
173 * tree.def (STRING_CST): Update comment.
174 * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
175 (tree_string): Place contents of string in tree node.
176 * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
179 * config/rs6000/rs6000.c (rs6000_va_arg): No need to special-case
182 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
184 * c-common.h: Fix comment formatting.
185 * c-cppbuiltin.c: Likewise.
186 * c-pragma.c: Likewise.
188 * collect2.c: Likewise.
189 * cppcharset.c: Likewise.
190 * cpptrad.c: Likewise.
191 * dbxout.c: Likewise.
192 * defaults.h: Likewise.
193 * dwarf2out.c: Likewise.
194 * fold-const.c: Likewise.
195 * genautomata.c: Likewise.
196 * genconditions.c: Likewise.
197 * genflags.c: Likewise.
198 * gengtype.c: Likewise.
199 * integrate.c: Likewise.
201 * predict.c: Likewise.
202 * sdbout.c: Likewise.
204 2004-01-15 Zack Weinberg <zack@codesourcery.com>
206 * config/ia64/ia64.md (*movti_internal): C output template
208 (*movti_internal_reg): Delete.
209 (reload_inti, reload_outti): Use the correct mode on operand 2
210 in the first place, don't fix it up in the output template.
211 (movtf, reload_ointf, reload_outtf): New expanders.
212 (*movtf_internal): New define_insn_and_split.
213 * config/ia64/ia64.c (ia64_split_timode): Rename to ia64_split_tmode;
214 make static; do not hand TFmode CONST_DOUBLEs to split_double.
215 (ia64_split_tmode_move): New function, body mostly pulled
216 from ia64.md:*movti_internal.
217 (ia64_function_arg_words): New function, extracted common
218 logic from ia64_function_arg et seq.
219 (ia64_function_arg_offset): Likewise. Handle correctly the
220 case of a scalar quantity 16 bytes wide with only 8-byte alignment.
221 (ia64_function_arg, ia64_function_arg_partial_nregs)
222 (ia64_function_arg_advance): Use ia64_function_arg_words and
223 ia64_function_arg_offset.
224 (ia64_function_value): TCmode does not go in float regs.
225 (ia64_secondary_reload_class): Also handle TFmode.
226 * config/ia64/ia64-protos.h: Remove prototype for
227 ia64_split_timode; add prototype for ia64_split_tmode_move.
229 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
231 * Makefile.in (MAINT): Make it an immediate assignment.
233 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
235 * config/m32r/m32r.md: Remove useless calls to gen_lowpart.
237 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
239 * config/h8300/coff.h: Replace Hitachi with Renesas.
240 * config/h8300/elf.h: Likewise.
241 * config/h8300/h8300-protos.h: Likewise.
242 * config/h8300/h8300.c: Likewise.
243 * config/h8300/h8300.h: Likewise.
244 * config/h8300/h8300.md: Likewise.
245 * config/h8300/lib1funcs.asm: Likewise.
247 2004-01-15 Andrew Pinski <apinski@apple.com>
249 * config/rs6000/rs6000.c (uses_TOC): Wrap #if TARGET_ELF
252 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
254 * config/h8300/h8300.c (h8300_return_in_memory): New.
255 (TARGET_STRUCT_VALUE_RTX): Likewise.
256 (TARGET_RETURN_IN_MEMORY): Likewise.
257 * config/h8300/h8300.h (STRUCT_VALUE): Remove.
258 (RETURN_IN_MEMORY): Likewise.
260 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
262 PR optimization/13375
263 * gcse.c (handle_avail_expr): Just return if the source is not a
266 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
267 Daniel Jacobowitz <drow@mvista.com>
269 * arm/lib1funcs.asm (ARM_FUNC_START): Correct interworking case.
271 (ARM_FUNC_ALIAS): New macro.
272 * arm/ieee754-df.S (gedf2, ledf2, nedf2, eqdf2): Use it.
273 * arm/ieee754-sf.S (gesf2, lesf2, nesf2, eqsf2): Use it.
275 2004-01-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
277 PR optimization/12372
278 * calls.c (expand_call): Add call_fusage data for stack arguments in
281 2004-01-15 Alan Modra <amodra@bigpond.net.au>
283 * config/rs6000/rs6000.c (uses_TOC): Correct comment. Make static.
284 (rs6000_elf_declare_function_name): Formatting.
285 * config/rs6000/rs6000-protos.h (uses_TOC): Remove declaration.
287 2004-01-15 Jan Hubicka <jh@suse.cz>
290 * sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in
293 2004-01-15 Richard Henderson <rth@redhat.com>
295 * config/alpha/alpha.h (REG_ALLOC_ORDER): Reorder fp regs after
296 integer regs of the same call-savedness.
298 2004-01-15 Andreas Schwab <schwab@suse.de>
301 * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
302 status for NOTB/NOTW/NEGW methods.
304 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
306 * doc/invoke.texi: Update dump file names. Fix a typo.
308 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
310 * builtins.c (expand_builtin_va_end): Don't use
311 EXPAND_BUILTIN_VA_END.
312 * system.h (EXPAND_BUILTIN_VA_END): Poison.
313 * config/d30v/d30v.h: Remove a commented-out definition of
314 EXPAND_BUILTIN_VA_END.
315 * config/stormy16/stormy16.h: Likewise.
317 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
319 * system.h (STRUCT_VALUE_INCOMING_REGNUM): Poison.
320 * targhooks.c (default_struct_value_rtx): Don't use
321 STRUCT_VALUE_INCOMING_REGNUM.
323 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
326 * configure.in: Revamp enable-generated-files-in-srcdir rule to define
327 GENINSRC and not parsedir. Define srcextra as a langhook.
328 * configure: Regenerate.
329 * Makefile.in: Suppress default .l.c rule. Don't substitute
330 parsedir and delete all references throughout. Conditionally define
331 rule for srcextra dependent on GENINSRC.
332 (stmp-docobjdir): Delete.
333 (c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule.
334 (srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c,
335 and gengtype-yacc.h back to source directory.
336 (maintainer-clean): Delete all parse files in source directory.
337 (distclean): Delete generated files.
339 * objc/Make-lang.in (objc-parse.o): Use implicit build rule.
340 (objc-parse.c, objc-parse.y): Don't use parsedir.
341 (objc.srcextra): Copy objc-parse.y and objc-parse.c back to source
342 directory if requested.
343 (po-generated): Don't use parsedir.
344 (objc.maintainer-clean): Delete above files from source directory.
346 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
348 * doc/tm.texi (FUNCTION_VALUE): Fix a typo.
350 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
352 * doc/tm.texi: Replace RETURN_IN_MEMORY with
353 TARGET_RETURN_IN_MEMORY.
355 2004-01-15 Jan Hubicka <jh@suse.cz>
357 * builtins.c (std_expand_builtin_va_arg): Align operand when needed.
358 * i386.c (init_cumulative_args): Set warn_sse; fix handling of variadic
359 functions accepting SSE arguments
360 (function_arg): Warn only when asked to warn.
361 * i386.h (ix86_args): Add warn_sse/warn_mmx fiels.
363 2004-01-14 Joseph S. Myers <jsm@polyomino.org.uk>
365 * c-parse.in (stmts_and_decls): Make label at end of compound
366 statement a hard error.
368 2004-01-14 Jan Hubicka <jh@suse.cz>
370 * cgraph.c (create_edge): Use local.redefined_extern_inline.
371 * cgraph.h (cgraph_local_info): Sort fields by size; add
372 redefined_extern_inline
373 (cgraph_global_info): Sort fields by size.
374 (cgraph_node): Likewise.
375 * cgraphunit.c (cgraph_finalize_function): Se
376 local.redefined_extern_inline on redefinition.
377 (cgraph_analyze_function): Use it; fix formating.
379 2004-01-14 Jan Hubicka <jh@suse.cz>
382 * sched-deps.c (trye_dependency_cache, anti_dependency_cache,
383 outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of
385 (cache_size): New variable
386 (add_dependence): Update use; canonize early memory locations
387 (sched_analyze_1): Likewise.
388 (sched_analyze_2): Likewise.
389 (init_dependency_caches): Initialize bitmaps.
390 (free_dependency_caches): Free bitmaps
392 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
394 * calls.c: Replace STRICT_ARGUMENT_NAMING in comments with
395 targetm.calls.strict_argument_naming().
396 * target.h: Likewise.
398 2004-01-14 Richard Henderson <rth@redhat.com>
401 * dwarf2out.c (dwarf2out_stack_adjust): Skip prologue and epilogue
404 2004-01-14 Richard Henderson <rth@redhat.com>
407 * except.c (struct eh_region): Add u.fixup.resolved.
408 (resolve_one_fixup_region): Split out from ...
409 (resolve_fixup_regions): ... here.
411 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
413 * config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0.
415 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
417 * config/alpha/alpha.h (STRUCT_VALUE): Remove.
418 * config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef.
419 (STRUCT_VALUE): Remove.
421 2003-01-14 Steven Bosscher <stevenb@suse.de>
423 * system.h: Poison PROMOTED_MODE
424 * integrate.c (expand_inline_function): Don't mention the
426 * loop.c (update_giv_derive): Same.
427 * tree.h (DECL_RTL): Same.
429 2004-01-14 J"orn Rennecke <joern.rennecke@superh.com>
432 * sh.c (gen_block_redirect): Add special handling of RETURN.
433 (gen_far_branch) Don't call gen_stuff_delay_slot if there is no
434 far branch target (i.e. it's a return).
436 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
438 * regrename.c (find_oldest_value_reg): Fix a warning.
440 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
443 * config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file.
444 Move linux-gas.h and linux-elf.h before aout.h.
445 * arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already.
446 * arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define.
448 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
450 * config/m32r/m32r.md: Use GEN_INT instead of gen_rtx
451 (CONST_INT, VOIDmode, ...).
453 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
455 * regrename.c (find_oldest_value_reg): If the replacement uses
456 multiple hard registers, check that all of them are in CLASS.
458 2004-01-14 Jan Hubicka <jh@suse.cz>
460 * alias.c (get_alias_set): Initialize alias set to 0 when subset is
463 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
465 * Makefile.in: Define MAINT from --enable-maintainer-mode.
467 2004-01-14 Hartmut Penner <hpenner@de.ibm.com>
469 * gcc/config/rs6000/rs6000.c (rs6000_stack_info)
470 Calculate always vrsave_mask if TARGET_ALTIVEC.
471 (rs6000_emit_prologue): Emit code for vrsave
472 only if TARGET_ALTIVEC_VRSAVE.
473 (rs6000_emit_epilogue): Likewise.
475 2004-01-14 Eric Botcazou <ebotcazou@libertysurf.fr>
477 * config/sparc/sparc.md (tie_add32): Fix pasto.
478 (tie_add64): Likewise.
480 2004-01-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
482 * config/i386/i386.md (*addqi_1_slp): Do not access operands[2].
484 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
486 * config/iq2000/iq2000-protos.h: Fix comment formatting.
487 * config/iq2000/iq2000.c: Likewise.
488 * config/iq2000/iq2000.md: Likewise.
490 2004-01-14 J. Brobecker <brobecker@gnat.com>
492 * dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
493 (subrange_type_die): Add handle for nameless subrange types.
495 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
497 * config/h8300/h8300-protos.h: Replace do_movsi with
499 * config/h8300/h8300.c (do_movsi): Change to
501 * config/h8300/h8300.md (movsi): Replace do_movsi with
505 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
507 * config/h8300/h8300.c (dosize): Change to
508 h8300_emit_stack_adjustment. Update callers.
510 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
512 * config/h8300/h8300.md (movstrictqi): Add an alternative with
513 the source being post_inc. Tighten the predicate for the
514 destination to register_operand.
515 (movstricthi): Likewise.
517 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
519 * system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
520 * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP.
521 * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove.
523 2004-01-14 Jan Hubicka <jh@suse.cz>
525 Partial fix PR c++/12850
526 * cgraphunit.c (cgraph_finalize_function): Always ggc_collect when
529 2004-01-13 Bernardo Innocenti <bernie@develer.com>
531 * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
534 2004-01-13 Devang Patel <dpatel@apple.com
537 * dbxout.c (dbxout_symbol_name): Emit mangled names for
538 NAMESPACE_DECL memebers.
540 2004-01-13 Andrew Pinski <pinskia@physics.uc.edu>
543 * c-common.c (finish_fname_decls): Use the chain only if the
544 tree is an expr_stmt.
546 2004-01-13 Vladimir Makarov <vmakarov@redhat.com>
548 * rtl.def: Add comment about new option in automata_option.
550 * genautomata.c (PROGRESS_OPTION): New macro.
551 (progress_flag): New global variable.
552 (gen_automata_option): Process `progress'.
553 (transform_insn_regexps, check_unit_distributions_to_automata,
554 make_automaton, NDFA_to_DFA, build_automaton, create_automata,
555 expand_automata, write_automata): Print about the progress only if
556 progress_flag. Remove fflush.
557 (initiate_automaton_gen): Process command line flag `-progress'.
559 * doc/md.texi: Describe the new option.
561 2004-01-13 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
563 * cfg.c (dump_bb): Dump entry edges.
565 2004-01-13 Richard Earnshaw <rearnsha@arm.com>
567 * arm.c (thumb_legitimate_address_p): Only allow constant pool
568 references from SImode.
569 * arm.md (thumb_movhi_insn): Don't allow minipool references.
571 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
573 * system.h (TEXT_SECTION): Poison.
574 * varasm.c (text_section): Don't use TEXT_SECTION.
575 * config/sh/sh.c (sh_file_start): Fix a comment typo.
576 * doc/tm.texi (TEXT_SECTION): Remove.
578 2004-01-13 Ben Elliston <bje@wasabisystems.com>
580 * doc/rtl.texi (Vector Operations): Remove defunct vec_const item.
582 2004-01-12 James E Wilson <wilson@specifixinc.com>
584 * unwind-libunwind.c: Delete.
586 2004-01-12 Zack Weinberg <zack@codesourcery.com>
589 * c-decl.c (diagnose_mismatched_decls): Whenever newtype or
590 oldtype is set, set *newtypep or *oldtypep too. Do not set
591 them at the very end.
592 (validate_proto_after_old_defn): Restructure for comprehensibility;
593 make error messages clearer.
595 2004-01-12 Zack Weinberg <zack@codesourcery.com>
597 * varray.h (VARRAY_POP): Add checking variant, aborts on underflow.
598 (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked.
599 * varray.c: No need to prototype error.
600 (varray_check_failed): Wrap long string onto two lines.
601 (varray_underflow): New function.
603 2004-01-13 Steven Bosscher <stevenb@suse.de>
606 * function.h (struct function): Kill `name' field.
607 (current_function_name): Make it an extern function.
608 * function.c (current_function_name): New function.
609 * graph.c: Update all uses of current_function_name.
611 * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
612 config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
613 * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
614 instead of a strcmp with "main".
616 2004-01-13 Jan Hubicka <jh@suse.cz>
618 * c-decl.c (diagnose_mismatched_decls): Fix warning calls.
620 * cgraphunit.c (cgraph_optimize_function): Always do
621 optimize_inline_calls when there is always_inline callee.
622 (cgraph_decide_inlining): Fix formating.
623 * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
625 (expand_call_inline): Likewise.
626 * toplev.h (sorry): Fix prototype.
628 2004-01-12 Roger Sayle <roger@eyesopen.com>
630 * builtins.c (expand_builtin_expect_jump): Simplify logic. Handle
631 conditional jumps that drop through to unconditional jumps or the
634 2004-01-13 Jan Hubicka <jh@suse.cz>
636 * alias.c (new_alias_set): Construct the alias_set varray.
637 (init_alias_once): Don't do it here.
639 2004-01-12 Marc Espie <espie@openbsd.org>
641 * system.h: handle YYBYACC like YYBISON.
643 2004-01-12 Jonathan Merriman <jonm@dualitymedia.com>
646 * config.gcc: No longer includes conflicting header sparc/sol2.h when
647 building on sparc64-*-openbsd*.
649 2004-01-12 Andrew Pinski <pinskia@physics.uc.edu>
652 * dbxout.c (dbxout_type): Protected inheritance is not
653 private but protected.
655 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
657 * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.
659 2004-01-12 Kazu Hirata <kazu@cs.umass.edu>
661 PR optimization/12508.
662 * combine.c (try_combine): Remove a dead set in a parallel
663 even if its destination is a subreg.
666 2003-06-03 Kazu Hirata <kazu@cs.umass.edu>
667 * combine.c (simplify_set): Don't move a subreg in SET_SRC to
668 SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
670 2004-01-12 Geoffrey Keating <geoffk@apple.com>
672 * real.c: Update copyright date.
673 * emit-rtl.c: Likewise.
675 * dwarf2out.c: Likewise.
676 * config/rs6000/darwin-ldouble.c: Likewise.
677 * config/rs6000/rs6000.md: Likewise.
679 2004-01-12 David Edelsohn <edelsohn@gnu.org>
681 * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
682 TFmode to SImode libfuncs.
684 2004-01-12 Roger Sayle <roger@eyesopen.com>
687 * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
689 2004-01-12 Jan Hubicka <jh@suse.cz>
692 * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
696 * cfgcleanup.c (label_is_jump_target_p): Move to...
697 * rtlanal.c (label_is_jump_target_p): ... here.
698 * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Fix redirecting of fallthru
699 edges unified with branch edges.
701 2004-01-12 Richard Earnshaw <rearnsha@arm.com>
703 * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
704 high word of an integral CONST_DOUBLE.
706 2004-01-12 Paul Brook <paul@codesourcery.com>
708 * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
710 2004-01-12 J"orn Rennecke <joern.rennecke@superh.com>
713 * sh-protos.h (check_use_sfunc_addr): Declare.
714 * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
715 * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
717 2004-01-12 Jan Hubicka <jh@suse.cz>
719 * alias.c: Invlude varray.h
720 (alias_sets): Turn into varray.
721 (get_alias_set_entry): Use VARRAY; mark inline.
722 (mems_in_disjoint_alias_sets_p): Mark inline.
723 (record_alias_subset): Use varray.
724 (init_alias_once): Initialize varray.
725 (new_alias_set): Grow array.
726 * varray.c: Make VARRAY_GENERIC_PTR non GTYized.
728 2004-01-12 Jan Hubicka <jh@suse.cz>
730 Partial fix for PR opt/10776 II
731 * cselib.c: Include params.h
732 (cselib_invalidate_mem): Limit amount of nonconflicting memory
734 * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
735 * Makefile.in (cselib.o): Depend on params.h
737 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
739 * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
740 simplify_unary_operation if the operand has a known mode.
742 2004-01-12 Hartmut Penner <hpenner@de.ibm.com>
745 * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
746 predicate to handle 'ld' conform addresses.
747 * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
749 (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
750 are memory contraints.
751 * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
753 * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
754 Change 'o' to 'Y' constraint.
755 (*movdf_softfloat64): Ditto.
757 2004-01-12 Bernardo Innocenti <bernie@develer.com>
759 * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
760 brace-enclosed syntax in all C output statements.
762 2004-01-12 David Edelsohn <edelsohn@gnu.org>
765 * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
766 Objective-C language type value is 14.
768 2004-01-12 Markus F.X.J. Oberhumer <markus@oberhumer.com>
771 * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
772 `int' in a number of places to make sure we always have a SImode
773 and not a HImode. Add a 'L' suffix to a number of constants.
775 2004-01-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
777 * pa.c: Don't include obstack.h.
779 * pa.md: Correct constraint in pattern for loading PIC label address.
781 2004-01-11 Kaz Kojima <kkojima@gcc.gnu.org>
783 * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
786 2004-01-11 Steven Bosscher <stevenb@suse.de>
789 * toplev.c (rest_of_handle_inline): Also consider functions
790 for deferral if the language is GNU F77.
792 2004-01-11 Zack Weinberg <zack@codesourcery.com>
794 * c-decl.c (diagnose_arglist_conflict): Add missing space to
797 2004-01-11 Jakub Jelinek <jakub@redhat.com>
800 * builtins.c (expand_builtin_expect_jump): Handle conditional jumps
801 to drop through label. Don't fall back to SCC even when conditional
802 jump has not been found.
804 2004-01-11 Jan Hubicka <jh@suse.cz>
806 * invoke.texi: Fix syntax error in previous patch.
808 Partial fix for PR opt/10776
809 * Makefile.in (reload.o): Include param.h
810 * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter.
811 * reload.c: Include params.h.
812 (find_equiv_reg): Work limiting check.
813 * invoke.texi: Document.
815 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
817 * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
818 out-of-bounds accesses to string constants. Simplify mips16
821 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
823 PR optimization/13469
824 * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
825 reload_cse_regs (-fnon-call-exceptions only).
827 2004-01-11 Kazu Hirata <kazu@cs.umass.edu>
829 * config/mcore/lib1.asm: Fix comment formatting.
830 * config/mcore/mcore-elf.h: Likewise.
831 * config/mcore/mcore.c: Likewise.
832 * config/mcore/mcore.h: Likewise.
833 * config/mcore/mcore.md: Likewise.
835 2004-01-10 Zack Weinberg <zack@codesourcery.com>
837 * c-decl.c (duplicate_decls): Break apart into...
838 (diagnose_arglist_conflict, validate_proto_after_old_defn)
839 (locate_old_defn, diagnose_mismatched_decls, merge_decls):
840 ... these new functions. Restructure for comprehensibility.
841 Remove various archaic special cases. Always report the
842 location of the previous declaration when a diagnostic is issued.
843 (redeclaration_error_message): Fold into diagnose_mismatched_decls.
844 (match_builtin_function_types): Delete unnecessary forward declaration.
846 2004-01-10 Zack Weinberg <zack@codesourcery.com>
848 * genautomata.c (make_automaton, NDFA_to_DFA):
849 Print progress bars with '.' characters instead of '*'.
850 (build_automaton): Change notes to match.
852 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
854 * config/m32r/m32r.md: Use define_constants for unspec and
857 2004-01-10 Jan Hubicka <jh@suse.cz>
860 * expr.c (expand_expr_real): More curefully expand union casts.
862 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
864 * config/m32r/m32r.md (flush_icache): Use 1 for
867 2004-01-10 David Edelsohn <edelsohn@gnu.org>
868 James E Wilson <wilson@specifixinc.com>
871 * dbxout.c (dbxout_symbol): Remove initialization of
872 current_sym_code, current_sym_value, and current_sym_addr.
873 (dbxout_symbol_location): Same.
874 (dbxout_prepare_symbol): Zero current_sym_code,
875 current_sym_value, and current_sym_addr.
877 2004-01-10 Richard Sandiford <rsandifo@redhat.com>
879 * tree.c (get_unwidened): Reorder conditions so that the null pointer
882 2004-01-09 Eric Christopher <echristo@redhat.com>
884 * toplev.c (rest_of_handle_cfg): Add reg_scan pass
885 if we're running mark_constant_function.
887 2004-01-09 Jeff Bailey <jbailey@nisa.net>
890 * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
892 2004-01-09 Andrew Pinski <pinskia@physics.uc.edu>
895 * dbxout.c (dbxout_type_fields): Return if any item is
896 error_mark_node or the type is error_mark_node.
898 2004-01-09 Geoffrey Keating <geoffk@apple.com>
900 * config/rs6000/darwin-ldouble.c: Add big comment explaining
901 exactly what is expected as a 'long double'.
902 (_xlqadd): When a value to be returned is representable as a
903 'double', just return it directly, do not construct it using a union.
904 Also, correct final fixup.
907 * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.
909 * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
911 2004-01-09 Richard Henderson <rth@redhat.com>
913 * recog.c (constrain_operands): Validate mem operands.
915 2004-01-09 James E Wilson <wilson@specifixinc.com>
917 * gcc.c (init_spec): Remove -lunwind from shared case.
918 * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
920 2004-01-09 Steve Ellcey <sje@cup.hp.com>
922 * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
923 * configure: Regenerate
925 2004-01-09 Joseph S. Myers <jsm@polyomino.org.uk>
928 * c-typeck.c (build_c_cast): If pedantic, warn for conversions
929 between function and object pointers.
930 (digest_init): When comparing a pointer to function type to the
931 target type, only apply TREE_TYPE once to the pointer to function
933 * except.c (for_each_eh_label_1): Treat data as a pointer to a
934 function pointer rather than casting it to a function pointer.
935 (for_each_eh_label): Update caller.
936 * recog.h (struct insn_data): Use a struct or union for output.
937 * genoutput.c (output_insn_data): Update.
938 * final.c (get_insn_template): Update.
940 2004-01-09 Mark Mitchell <mark@codesourcery.com>
942 * expr.h (expand_expr): Make it a macro, not a function.
943 (expand_expr_real): New function.
944 * expr.c (store_expr): Adjust logic for deciding whether or not to
945 copy the value returned by expand_expr.
946 (expand_expr): Rename to ...
947 (expand_expr_real): ... this. Add alt_rtl parameter. Adjust
948 calls to language hooks.
949 * c-common.h (c_expand_expr): Adjust prototype.
950 * c-common.c (c_expand_expr): Add alt_rtl parameter.
951 * langhooks-def.h (lhd_expand_expr): Change prototype.
952 * langhooks.c (lhd_expand_expr): Add all_rtl parameter.
953 * langhooks.h (lang_hooks): Change type of expand_expr.
954 * stmt.c (stmt_status): Add x_last_expr_alt_rtl.
955 (last_expr_alt_rtl): Likewise.
956 (expand_expr_stmt_value): Set last_expr_alt_rtl.
957 (clear_last_expr): Clear it.
958 (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
959 (expand_end_bindings): Save and restor last_expr_alt_rtl.
960 * tree.def (RTL_EXPR): Give it an additional operand.
961 * tree.h (RTL_EXPR_ALT_RTL): New macro.
963 2004-01-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
965 * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
966 * config/m32r/m32r.c (call26_operand): Allow in PIC mode.
968 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
971 * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
972 or (ne:SI (reg:CC 17) (const_int 0)).
973 Be specific about modes wherever possible.
975 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
977 * config/m32r/m32r.c (m32r_expand_block_move): Call
978 gen_movestrsi_internal with two more arguments.
979 (m32r_output_block_move): Adjust operand numbers.
980 Properly update the source and destination pointers.
981 * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
982 'r+'. Change the set detinations to match_operand.
984 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
986 * final.c (FIRST_INSN_ADDRESS): Remove.
987 (shorten_branches): Don't use FIRST_INSN_ADDRESS.
988 * system.h (FIRST_INSN_ADDRESS): Poison.
989 * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
990 * config/m32r/m32r-protos.h: Remove the prototype for
991 m32r_first_insn_address.
992 * config/m32r/m32r.c (m32r_first_insn_address): Remove.
993 * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
994 * doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
996 2004-01-09 J. Brobecker <brobecker@gnat.com>
998 * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
1000 (is_ada_subrange_type): DIEs for enumeration subtypes should be
1001 emitted as subrange types too.
1002 (subrange_type_die): Add handling of enumeration subtypes.
1004 2004-01-08 Richard Henderson <rth@redhat.com>
1007 Revert: Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
1008 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
1009 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
1010 (ix86_address_cost): Be prepared for SUBREGed registers.
1011 (legitimate_address_p): Accept SUBREGed registers.
1013 2004-01-08 Kelley Cook <kcook@gcc.gnu.org>
1015 * Makefile.in: Rename configure.in to configure.ac
1016 * doc/sourcebuild.texi: Likewise.
1017 * configure: Regenerate.
1018 * config.in: Regenerate.
1020 2004-01-08 Stuart Hastings <stuart@apple.com>
1022 * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
1024 2004-01-08 Jan Hubicka <jh@suse.cz>
1026 * cgraphunit.c (cgraph_decide_inlining): Fix typo.
1028 2004-01-08 Geoffrey Keating <geoffk@apple.com>
1030 * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
1031 (UNSPEC_FIX_TRUNC_TF): New constant.
1032 (movtf_internal): Make splitter active only when insn is active.
1033 (extenddftf2): Rewrite to properly load zero into low part.
1034 (extenddftf2_internal): New.
1035 (extendsftf2): Rewrite.
1036 (truncdftf2): Correct length.
1037 (floatditf2): Delete.
1038 (fix_trunc_helper): New.
1039 (fix_trunctfdi2): Use fix_trunc_helper.
1040 (fix_trunctfsi2): Likewise.fix_trunc
1041 (fix_trunctfsi2_internal): New.
1043 * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
1044 addresses are legitimate on Darwin even when flag_pic.
1045 (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
1046 non-offsettable addresses for loads of TFmode constants.
1048 2004-01-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1050 * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
1051 variables in the appropriate bss section.
1053 2004-01-09 Alan Modra <amodra@bigpond.net.au>
1055 * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
1056 target_flags has MASK_POWERPC64 when -m64.
1057 * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
1058 to 620, 630, power3, power4 and rs64a entries.
1059 * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
1061 2004-01-08 Richard Sandiford <rsandifo@redhat.com>
1063 * simplify-rtx.c (simplify_immed_subreg): Fix construction of
1064 floating-point constants.
1066 2004-01-08 J. Brobecker <brobecker@gnat.com>
1068 * dwarf2out.c (subrange_type_die): Add context_die parameter.
1069 Create the subrange_type DIE using the given context DIE.
1070 (modified_type_die): Update call to subrange_type_die.
1072 2004-01-08 Zack Weinberg <zack@codesourcery.com>
1074 * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
1075 Add multiple-include guard.
1077 2004-01-08 Hartmut Penner <hpenner@de.ibm.com>
1079 * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
1080 all vector constant loadable by vsplt*.
1081 (output_vec_const_move): Likewise.
1083 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
1086 * c-typeck.c (comptypes): Only treat enumerated types in the same
1087 translation unit as compatible with each other when they are the
1089 * doc/extend.texi: Update.
1091 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
1094 * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
1095 array type from the array element type.
1097 2004-01-07 Alan Modra <amodra@bigpond.net.au>
1099 * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
1100 * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
1101 * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
1102 (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
1103 * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
1105 2004-01-06 Eric Christopher <echristo@redhat.com>
1107 * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
1108 (DWARF2_DEBUGGING_INFO): Define.
1109 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
1110 * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
1111 * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
1113 (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
1114 * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
1115 * config/mips/iris5gas.h: Ditto.
1116 (DBX_DEBUGGING_INFO): Remove.
1117 (DWARF2_DEBUGGING_INFO): Ditto.
1118 (MIPS_DEBUGGING_INFO): Ditto.
1119 (PREFERRED_DEBUGGING_TYPE): Ditto.
1120 * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
1121 (PREFERRED_DEBUGGING_TYPE): Ditto.
1122 (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
1123 * config/mips/elf64.h: Ditto.
1125 2004-01-06 Jan Hubicka <jh@suse.cz>
1127 * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
1128 (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
1130 2004-01-06 Geoffrey Keating <geoffk@apple.com>
1132 * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
1133 (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
1134 * config/rs6000/darwin-ldouble.c: New.
1136 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
1138 (constant_subword): Delete.
1139 * rtl.h (constant_subword): Delete prototype.
1140 (immed_double_const): Is not in varasm.c.
1141 * simplify-rtx.c (simplify_immed_subreg): New.
1142 (simplify_subreg): Use simplify_immed_subreg.
1144 * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
1145 than trying to generate RTL directly.
1146 (fix_trunctfsi2): Use expand_fix rather than trying to generate
1149 * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
1151 2004-01-06 David Edelsohn <edelsohn@gnu.org>
1153 * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
1154 function into a separate macro.
1155 (read_only_data_section): Add void argument.
1156 (private_data_section): Same.
1157 (read_only_private_data_section): Same.
1158 (toc_section): Same.
1160 2004-01-06 Jan Hubicka <jh@suse.cz>
1162 * invoke.texi: Remove typo in last change.
1165 * config.gcc: Accept opteron and athlon-64 as variants
1167 * i386.c (override_options): Likewise.
1168 * invoke.texi (i386 -mtune): Expand documentation.
1170 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
1172 * alias.c: Fix comment typos.
1173 * builtins.c: Likewise.
1176 * dominance.c: Likewise.
1177 * dwarf2out.c: Likewise.
1178 * emit-rtl.c: Likewise.
1180 * final.c: Likewise.
1181 * fold-const.c: Likewise.
1183 * genattrtab.c: Likewise.
1184 * genrecog.c: Likewise.
1185 * gensupport.c: Likewise.
1186 * ggc-zone.c: Likewise.
1187 * integrate.c: Likewise.
1188 * local-alloc.c: Likewise.
1190 * recog.c: Likewise.
1191 * regmove.c: Likewise.
1192 * reg-stack.c: Likewise.
1193 * reorg.c: Likewise.
1194 * rtlanal.c: Likewise.
1196 * sched-ebb.c: Likewise.
1197 * simplify-rtx.c: Likewise.
1198 * toplev.c: Likewise.
1199 * varasm.c: Likewise.
1201 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
1203 * doc/install.texi: Fix typos.
1204 * doc/invoke.texi: Likewise.
1205 * doc/md.texi: Likewise.
1207 2004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1209 * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
1211 2004-01-06 Jan Hubicka <jh@suse.cz>
1213 * i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
1214 (function_arg_advance): Do not pass aggregates in SSE; deal handling
1216 (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
1218 * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
1219 (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
1220 (MMX_REGPARM_MAX): Similarly for -mmmx.
1222 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1224 * config/sh/linux.h: Fix comment formatting.
1225 * config/sh/netbsd-elf.h: Likewise.
1226 * config/sh/sh.c: Likewise.
1227 * config/sh/sh.h: Likewise.
1228 * config/sh/vxworks.h: Likewise.
1230 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1232 * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
1233 * toplev.c (output_file_directive): Don't use
1234 ASM_OUTPUT_MAIN_SOURCE_FILENAME.
1236 2004-01-05 Daniel Berlin <dberlin@dberlin.org>
1238 * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
1239 (USING_MMAP): We don't support non-mmap.
1240 (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
1242 (struct page_entry): Remove bytes_free.
1243 (struct page_table_chain): Remove.
1244 (struct globals): Remove page_table member.
1245 (loookup_page_table_entry): Function deleted.
1246 (set_page_table_entry): Ditto.
1247 (ggc_allocated_p): No longer need page table lookups.
1248 (ggc_marked_p): Ditto.
1249 (alloc_small_page): Don't care about bytes_free anymore.
1250 (alloc_large_page): Round up size.
1251 (ggc_alloc_zone_1): Mark large objects as such, and calculate
1252 their size the new way.
1253 Remove page table lookups and setting.
1254 (ggc_get_size): Calculate large object size the new way.
1255 (sweep_pages): Redo to account for fact that we no longer have
1257 (ggc_collect): No longer need to reincrement bytes_free.
1258 (ggc_pch_alloc_object): Handle new large objects properly.
1259 (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
1261 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1263 * doc/invoke.texi: Remove a page break.
1265 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1267 * config/avr/avr.c (avr_output_function_prologue): Remove an
1268 extra pair of curly braces.
1270 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1272 * config/mn10300/mn10300.c: Fix comment formatting.
1273 * config/mn10300/mn10300.h: Likewise.
1275 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1277 * tree.h: Update documentation on nothrow_flag.
1278 * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
1281 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1283 * doc/invoke.texi: Remove traces of dead ports.
1285 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1287 * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
1290 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1293 * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
1295 * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
1296 (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
1297 string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check
1298 the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
1299 (mips_symbol_insns): Don't trust the local/global classification.
1300 (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
1301 (override_options): Make -mabicalls -fno-unit-at-a-time imply
1302 -mno-explicit-relocs.
1303 (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
1304 between local and global symbols.
1306 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1308 * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
1309 (mips_preferred_reload_class): Declare.
1310 * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
1311 (EXTRA_CONSTRAINT): Update accordingly.
1312 (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
1313 * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
1314 (mips_preferred_reload_class): New function. Prefer LEA_REGS if
1315 mips_dangerous_for_la25_p.
1316 (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
1317 if mips_dangerous_for_la25_p.
1319 2004-01-05 Bernardo Innocenti <bernie@develer.com>
1321 * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
1324 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org>
1326 * configure.ac: Use AC_PROG_CPP_WERROR.
1327 * configure: Regenerate.
1329 2004-01-04 Zack Weinberg <zack@codesourcery.com>
1331 * .cvsignore: Add autom4te.cache.
1333 2004-01-04 Richard Sandiford <rsandifo@redhat.com>
1335 * doc/invoke.texi: Revamp documentation of MIPS options. Remove
1336 -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
1337 -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first,
1338 then architecture options, then ABI options. General rewording.
1340 2004-01-04 Joseph S. Myers <jsm@polyomino.org.uk>
1343 * doc/extend.texi: Clarify definition of malloc attribute.
1345 2004-01-04 Jan Hubicka <jh@suse.cz>
1347 * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
1348 * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
1349 * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
1350 (cgraph_inline_p): Add extra argument reason.
1351 * cgraphunit.c: Minor formating fixes.
1352 cgraph_first_inlined_callee): New functions.
1353 (record_call_1): Record builtins too.
1354 (cgraph_analyze_function): Update inline_failed messages.
1355 (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
1356 cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
1357 (cgraph_check_inline_limits): Likewise; Add argument reason.
1358 (cgraph_set_inline_failed): New static function.
1359 (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
1361 (cgraph_inline_p): Add new argument reason.
1362 * tree-inline.c (expand_call_inline): Update warning.
1364 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
1366 * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
1367 with modern equivalents.
1368 * configure: Regenerate.
1370 * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
1371 * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
1372 * configure: Regenerate.
1374 * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
1376 * configure.in: Rename to configure.ac.
1377 * configure.ac: Renamed from configure.in; make minimum necessary
1378 changes for autoconf 2.5x.
1379 * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
1380 * configure: Regenerate with autoconf 2.57.
1382 2004-01-03 Kazu Hirata <kazu@cs.umass.edu>
1384 * config/mips/linux.h: Fix comment formatting.
1385 * config/mips/mips.c: Likewise.
1386 * config/mips/mips.h: Likewise.
1387 * config/mips/mips.md: Likewise.
1388 * config/mips/netbsd.h: Likewise.
1389 * config/mips/windiss.h: Likewise.
1391 2004-01-02 Richard Henderson <rth@redhat.com>
1393 * config/i386/i386.md (fp constant pool splitter): Reorg suppression
1394 for sse and 387; add suppression for mmx.
1396 2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
1398 * loop.c (loop_optimize): Free all loops_info's mems.
1400 * c-typeck.c (finish_init): Free spelling_base before
1403 * cfgloop.c (flow_loops_find): Always free the sbitmap
1406 * predict.c (estimate_probability): Free bbs after being
1409 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
1411 * config/mn10300/mn10300.h (PREDICATE_CODES): Add
1412 const_8bit_operand and call_address_operand.
1414 2004-01-02 Jan Hubicka <jh@suse.cz>
1416 * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls
1417 when there is nothing to inline but warnings are requested.
1418 (cgraph_decide_inlining): Fix memory leak.
1420 2004-01-02 Jan Hubicka <jh@suse.cz>
1422 * expr.c (store_constructor): Fix pasto in previous patch.
1424 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
1426 * config/i386/cygming.h: Fix comment formatting.
1427 * config/i386/djgpp.h: Likewise.
1428 * config/i386/gthr-win32.c: Likewise.
1429 * config/i386/i386-interix.h: Likewise.
1430 * config/i386/i386.c: Likewise.
1431 * config/i386/i386.h: Likewise.
1432 * config/i386/openbsd.h: Likewise.
1433 * config/i386/winnt.c: Likewise.
1434 * config/i386/xm-mingw32.h: Likewise.
1436 2004-01-02 Joseph S. Myers <jsm@polyomino.org.uk>
1438 * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
1439 copyright and last modification dates.
1441 2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de>
1443 * doc/install.texi (Specific): Mention x86_64.
1445 2004-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1447 * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
1448 Call force_operand on plus_constant result.
1450 2004-01-01 Jan Hubicka <jh@suse.cz>
1452 * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
1453 * expr.c (store_constructor): Use vec_init pattern.
1454 * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
1455 * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
1456 (vec_set_optab, vec_extract_optab, vec_init_optab): New.
1457 * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
1459 (sse2_unpc?pd): Fix pattern.
1460 (sse2_movlpd): Kill.
1461 (sse2_movsd): Deal with movlpd too.
1462 * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
1463 (ix86_expand_vector_init): New.
1464 * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
1465 * md.texi (vec_set, vec_extract): Document
1467 2003-12-31 Jan Hubicka <jh@suse.cz>
1470 * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside
1474 * toplev.c (dump_file_index): Reorder ce3 and bbro.
1475 (dump_file): Likewise.
1476 (rest_of_compilation): Likewise.
1479 * cgraph.c (cgraph_function_possibly_inlined): Even with
1480 flag_really_no_inline we inline always_inline functions.
1481 * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
1482 for non-always_inline functions when there is flag_really_no_inline.
1483 (cgraph_decide_inlining): Limit work done when not inlining.
1484 (cgraph_decide_inlining_incrementally): Likewise.
1485 (cgraph_optimize_function): Check whether something got inlined.
1486 * c-objc-common.c (c_disregard_inline_limits): Do not always inline
1487 extern inline functions when not inlining.
1489 * opts.c (decode_options): Disable crossjumping at -O1
1490 * invoke.texi (-O1): Document change.
1492 See ChangeLog.10 for earlier changes.