1 2004-01-16 Eric Christopher <echristo@redhat.com>
2 Chandrakala Chavva <cchavva@redhat.com>
4 * cppcharset.c (one_iso88591_to_utf8): New function.
5 (convert_iso88591_utf8): Ditto. Use.
7 (_cpp_input_to_utf8): New function.
8 (_cpp_init_iconv_buffer): Ditto.
9 (_cpp_close_iconv_buffer): Ditto.
10 * cpphash.h: Prototype new functions.
11 (cpp_buffer): Add input_cset_desc.
12 * cppinit.c: Add input_charset default.
13 * cpplib.c (cpp_push_buffer): Support init and
15 * cpplib.h (cpp_options): Add input_charset.
17 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
19 * system.h (ASM_OUTPUT_SECTION_NAME): Poison.
20 * config/alpha/unicosmk.h: Remove a commented-out definition
21 of ASM_OUTPUT_SECTION_NAME.
22 * config/stormy16/stormy16.h: Likewise.
24 2004-01-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
26 * fixinc/inclhack.def (alpha___extern_prefix): Renamed to ...
27 (alpha___extern_prefix_sys_stat): ... this.
28 Apply to <sys/mount.h>, too.
29 Tweak to match more variations.
30 * fixinc/tests/base/sys/stat.h: Adapt for new hackname.
32 * fixinc/inclhack.def (alpha___extern_prefix,
33 alpha___extern_prefix_standards): New hacks to obey
34 __PRAGMA_EXTERN_PREFIX.
35 * fixinc/tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: New
37 * fixinc/tests/base/standards.h: Likewise.
39 * fixincl/inclhack.def (alpha_pthread): Tweak to match more
42 * fixinc/tests/base/pthread.h: Handle it.
44 * fixincl/inclhack.def (bad_lval): Sort file list.
45 Add many missing files up to Tru64 UNIX V5.1B.
46 * gcc/fixinc/tests/base/libgen.h: Renamed to ...
47 * gcc/fixinc/tests/base/dirent.h: ... this to match new file list
50 * fixinc/fixincl.x: Regenerate.
52 2004-01-16 Mark Mitchell <mark@codesourcery.com>
54 * version.c (version_string): Change to 3.5.0.
55 * doc/include/gcc-common.texi (version-GCC): Likewise.
57 2004-01-16 Jan Hubicka <jh@suse.cz>
59 * i386.md (load_tp_di): Fix pasto.
62 * i386.c (ix86_compute_frame_layout): Fix for alloca on leaf function.
64 * c-pretty-print.c (pp_c_type_cast, pp_c_abstract_declarator,
65 pp_c_character_constant, pp_c_floating_constant,
66 pp_c_additive_expression, pp_c_shift_expression,
67 pp_c_equality_expression, pp_c_and_expression,
68 pp_c_exclusive_or_expression, pp_c_inclusive_or_expression,
69 pp_c_logical_and_expression): Remove inline modifier.
70 * dwarf2out.c (get_AT): Likewise.
71 * et-forest.c (et_splay): Likewise.
72 * ra.h (ra_alloc, ra_calloc): Likewise
74 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
76 * config/frv/frv-protos.h: Fix comment formatting.
77 * config/frv/frv.c: Likewise.
78 * config/frv/frv.h: Likewise.
79 * config/frv/frv.md: Likewise.
80 * config/frv/frvbegin.c: Likewise.
81 * config/frv/frvend.c: Likewise.
83 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
85 * system.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Poison.
86 * doc/tm.texi (PREFERRED_DEBUGGING_TYPE): Don't mention
87 LINKER_DOES_NOT_WORK_WITH_DWARF2.
88 (LINKER_DOES_NOT_WORK_WITH_DWARF2): Remove.
90 2004-01-16 J"orn Rennecke <joern.rennecke@superh.com>
93 * postreload.c (reload_cse_simplify_operands): Don't remove
94 implicit extension from LOAD_EXTEND_OP.
96 2004-01-16 Jan Hubicka <jh@suse.cz>
99 * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal
101 * cfgrtl.c (rtl_can_merge_blocks, cfglayout_can_merge_blocks,
102 rtl_try_redirect_by_replacing_branch): Likewise.
104 2004-01-15 Geoffrey Keating <geoffk@apple.com>
107 * alias.c (struct alias_set_entry): Mark for GC.
108 (alias_sets): Make static, mark for GC.
109 (record_alias_subset): Use GC to allocate alias structures.
110 * varray.c (element): Make generic varrays GCed.
113 * c-typeck.c (constructor_asmspec): Delete.
114 (struct initializer_stack): Delete field 'asmspec'.
115 (start_init): Delete saving of asmspec.
116 (finish_init): Don't update constructor_asmspec.
117 * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
118 * stmt.c (expand_asm): Duplicate strings from tree.
119 (expand_asm_operands): Likewise.
120 * tree.c (tree_size): Update computation of size of STRING_CST.
121 (make_node): Don't make STRING_CST nodes.
122 (build_string): Allocate string with tree node.
123 * tree.def (STRING_CST): Update comment.
124 * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
125 (tree_string): Place contents of string in tree node.
126 * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
129 * config/rs6000/rs6000.c (rs6000_va_arg): No need to special-case
132 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
134 * c-common.h: Fix comment formatting.
135 * c-cppbuiltin.c: Likewise.
136 * c-pragma.c: Likewise.
138 * collect2.c: Likewise.
139 * cppcharset.c: Likewise.
140 * cpptrad.c: Likewise.
141 * dbxout.c: Likewise.
142 * defaults.h: Likewise.
143 * dwarf2out.c: Likewise.
144 * fold-const.c: Likewise.
145 * genautomata.c: Likewise.
146 * genconditions.c: Likewise.
147 * genflags.c: Likewise.
148 * gengtype.c: Likewise.
149 * integrate.c: Likewise.
151 * predict.c: Likewise.
152 * sdbout.c: Likewise.
154 2004-01-15 Zack Weinberg <zack@codesourcery.com>
156 * config/ia64/ia64.md (*movti_internal): C output template
158 (*movti_internal_reg): Delete.
159 (reload_inti, reload_outti): Use the correct mode on operand 2
160 in the first place, don't fix it up in the output template.
161 (movtf, reload_ointf, reload_outtf): New expanders.
162 (*movtf_internal): New define_insn_and_split.
163 * config/ia64/ia64.c (ia64_split_timode): Rename to ia64_split_tmode;
164 make static; do not hand TFmode CONST_DOUBLEs to split_double.
165 (ia64_split_tmode_move): New function, body mostly pulled
166 from ia64.md:*movti_internal.
167 (ia64_function_arg_words): New function, extracted common
168 logic from ia64_function_arg et seq.
169 (ia64_function_arg_offset): Likewise. Handle correctly the
170 case of a scalar quantity 16 bytes wide with only 8-byte alignment.
171 (ia64_function_arg, ia64_function_arg_partial_nregs)
172 (ia64_function_arg_advance): Use ia64_function_arg_words and
173 ia64_function_arg_offset.
174 (ia64_function_value): TCmode does not go in float regs.
175 (ia64_secondary_reload_class): Also handle TFmode.
176 * config/ia64/ia64-protos.h: Remove prototype for
177 ia64_split_timode; add prototype for ia64_split_tmode_move.
179 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
181 * Makefile.in (MAINT): Make it an immediate assignment.
183 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
185 * config/m32r/m32r.md: Remove useless calls to gen_lowpart.
187 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
189 * config/h8300/coff.h: Replace Hitachi with Renesas.
190 * config/h8300/elf.h: Likewise.
191 * config/h8300/h8300-protos.h: Likewise.
192 * config/h8300/h8300.c: Likewise.
193 * config/h8300/h8300.h: Likewise.
194 * config/h8300/h8300.md: Likewise.
195 * config/h8300/lib1funcs.asm: Likewise.
197 2004-01-15 Andrew Pinski <apinski@apple.com>
199 * config/rs6000/rs6000.c (uses_TOC): Wrap #if TARGET_ELF
202 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
204 * config/h8300/h8300.c (h8300_return_in_memory): New.
205 (TARGET_STRUCT_VALUE_RTX): Likewise.
206 (TARGET_RETURN_IN_MEMORY): Likewise.
207 * config/h8300/h8300.h (STRUCT_VALUE): Remove.
208 (RETURN_IN_MEMORY): Likewise.
210 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
212 PR optimization/13375
213 * gcse.c (handle_avail_expr): Just return if the source is not a
216 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
217 Daniel Jacobowitz <drow@mvista.com>
219 * arm/lib1funcs.asm (ARM_FUNC_START): Correct interworking case.
221 (ARM_FUNC_ALIAS): New macro.
222 * arm/ieee754-df.S (gedf2, ledf2, nedf2, eqdf2): Use it.
223 * arm/ieee754-sf.S (gesf2, lesf2, nesf2, eqsf2): Use it.
225 2004-01-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
227 PR optimization/12372
228 * calls.c (expand_call): Add call_fusage data for stack arguments in
231 2004-01-15 Alan Modra <amodra@bigpond.net.au>
233 * config/rs6000/rs6000.c (uses_TOC): Correct comment. Make static.
234 (rs6000_elf_declare_function_name): Formatting.
235 * config/rs6000/rs6000-protos.h (uses_TOC): Remove declaration.
237 2004-01-15 Jan Hubicka <jh@suse.cz>
240 * sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in
243 2004-01-15 Richard Henderson <rth@redhat.com>
245 * config/alpha/alpha.h (REG_ALLOC_ORDER): Reorder fp regs after
246 integer regs of the same call-savedness.
248 2004-01-15 Andreas Schwab <schwab@suse.de>
251 * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
252 status for NOTB/NOTW/NEGW methods.
254 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
256 * doc/invoke.texi: Update dump file names. Fix a typo.
258 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
260 * builtins.c (expand_builtin_va_end): Don't use
261 EXPAND_BUILTIN_VA_END.
262 * system.h (EXPAND_BUILTIN_VA_END): Poison.
263 * config/d30v/d30v.h: Remove a commented-out definition of
264 EXPAND_BUILTIN_VA_END.
265 * config/stormy16/stormy16.h: Likewise.
267 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
269 * system.h (STRUCT_VALUE_INCOMING_REGNUM): Poison.
270 * targhooks.c (default_struct_value_rtx): Don't use
271 STRUCT_VALUE_INCOMING_REGNUM.
273 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
276 * configure.in: Revamp enable-generated-files-in-srcdir rule to define
277 GENINSRC and not parsedir. Define srcextra as a langhook.
278 * configure: Regenerate.
279 * Makefile.in: Suppress default .l.c rule. Don't substitute
280 parsedir and delete all references throughout. Conditionally define
281 rule for srcextra dependent on GENINSRC.
282 (stmp-docobjdir): Delete.
283 (c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule.
284 (srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c,
285 and gengtype-yacc.h back to source directory.
286 (maintainer-clean): Delete all parse files in source directory.
287 (distclean): Delete generated files.
289 * objc/Make-lang.in (objc-parse.o): Use implicit build rule.
290 (objc-parse.c, objc-parse.y): Don't use parsedir.
291 (objc.srcextra): Copy objc-parse.y and objc-parse.c back to source
292 directory if requested.
293 (po-generated): Don't use parsedir.
294 (objc.maintainer-clean): Delete above files from source directory.
296 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
298 * doc/tm.texi (FUNCTION_VALUE): Fix a typo.
300 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
302 * doc/tm.texi: Replace RETURN_IN_MEMORY with
303 TARGET_RETURN_IN_MEMORY.
305 2004-01-15 Jan Hubicka <jh@suse.cz>
307 * builtins.c (std_expand_builtin_va_arg): Align operand when needed.
308 * i386.c (init_cumulative_args): Set warn_sse; fix handling of variadic
309 functions accepting SSE arguments
310 (function_arg): Warn only when asked to warn.
311 * i386.h (ix86_args): Add warn_sse/warn_mmx fiels.
313 2004-01-14 Joseph S. Myers <jsm@polyomino.org.uk>
315 * c-parse.in (stmts_and_decls): Make label at end of compound
316 statement a hard error.
318 2004-01-14 Jan Hubicka <jh@suse.cz>
320 * cgraph.c (create_edge): Use local.redefined_extern_inline.
321 * cgraph.h (cgraph_local_info): Sort fields by size; add
322 redefined_extern_inline
323 (cgraph_global_info): Sort fields by size.
324 (cgraph_node): Likewise.
325 * cgraphunit.c (cgraph_finalize_function): Se
326 local.redefined_extern_inline on redefinition.
327 (cgraph_analyze_function): Use it; fix formating.
329 2004-01-14 Jan Hubicka <jh@suse.cz>
332 * sched-deps.c (trye_dependency_cache, anti_dependency_cache,
333 outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of
335 (cache_size): New variable
336 (add_dependence): Update use; canonize early memory locations
337 (sched_analyze_1): Likewise.
338 (sched_analyze_2): Likewise.
339 (init_dependency_caches): Initialize bitmaps.
340 (free_dependency_caches): Free bitmaps
342 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
344 * calls.c: Replace STRICT_ARGUMENT_NAMING in comments with
345 targetm.calls.strict_argument_naming().
346 * target.h: Likewise.
348 2004-01-14 Richard Henderson <rth@redhat.com>
351 * dwarf2out.c (dwarf2out_stack_adjust): Skip prologue and epilogue
354 2004-01-14 Richard Henderson <rth@redhat.com>
357 * except.c (struct eh_region): Add u.fixup.resolved.
358 (resolve_one_fixup_region): Split out from ...
359 (resolve_fixup_regions): ... here.
361 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
363 * config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0.
365 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
367 * config/alpha/alpha.h (STRUCT_VALUE): Remove.
368 * config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef.
369 (STRUCT_VALUE): Remove.
371 2003-01-14 Steven Bosscher <stevenb@suse.de>
373 * system.h: Poison PROMOTED_MODE
374 * integrate.c (expand_inline_function): Don't mention the
376 * loop.c (update_giv_derive): Same.
377 * tree.h (DECL_RTL): Same.
379 2004-01-14 J"orn Rennecke <joern.rennecke@superh.com>
382 * sh.c (gen_block_redirect): Add special handling of RETURN.
383 (gen_far_branch) Don't call gen_stuff_delay_slot if there is no
384 far branch target (i.e. it's a return).
386 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
388 * regrename.c (find_oldest_value_reg): Fix a warning.
390 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
393 * config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file.
394 Move linux-gas.h and linux-elf.h before aout.h.
395 * arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already.
396 * arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define.
398 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
400 * config/m32r/m32r.md: Use GEN_INT instead of gen_rtx
401 (CONST_INT, VOIDmode, ...).
403 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
405 * regrename.c (find_oldest_value_reg): If the replacement uses
406 multiple hard registers, check that all of them are in CLASS.
408 2004-01-14 Jan Hubicka <jh@suse.cz>
410 * alias.c (get_alias_set): Initialize alias set to 0 when subset is
413 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
415 * Makefile.in: Define MAINT from --enable-maintainer-mode.
417 2004-01-14 Hartmut Penner <hpenner@de.ibm.com>
419 * gcc/config/rs6000/rs6000.c (rs6000_stack_info)
420 Calculate always vrsave_mask if TARGET_ALTIVEC.
421 (rs6000_emit_prologue): Emit code for vrsave
422 only if TARGET_ALTIVEC_VRSAVE.
423 (rs6000_emit_epilogue): Likewise.
425 2004-01-14 Eric Botcazou <ebotcazou@libertysurf.fr>
427 * config/sparc/sparc.md (tie_add32): Fix pasto.
428 (tie_add64): Likewise.
430 2004-01-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
432 * config/i386/i386.md (*addqi_1_slp): Do not access operands[2].
434 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
436 * config/iq2000/iq2000-protos.h: Fix comment formatting.
437 * config/iq2000/iq2000.c: Likewise.
438 * config/iq2000/iq2000.md: Likewise.
440 2004-01-14 J. Brobecker <brobecker@gnat.com>
442 * dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
443 (subrange_type_die): Add handle for nameless subrange types.
445 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
447 * config/h8300/h8300-protos.h: Replace do_movsi with
449 * config/h8300/h8300.c (do_movsi): Change to
451 * config/h8300/h8300.md (movsi): Replace do_movsi with
455 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
457 * config/h8300/h8300.c (dosize): Change to
458 h8300_emit_stack_adjustment. Update callers.
460 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
462 * config/h8300/h8300.md (movstrictqi): Add an alternative with
463 the source being post_inc. Tighten the predicate for the
464 destination to register_operand.
465 (movstricthi): Likewise.
467 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
469 * system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
470 * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP.
471 * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove.
473 2004-01-14 Jan Hubicka <jh@suse.cz>
475 Partial fix PR c++/12850
476 * cgraphunit.c (cgraph_finalize_function): Always ggc_collect when
479 2004-01-13 Bernardo Innocenti <bernie@develer.com>
481 * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
484 2004-01-13 Devang Patel <dpatel@apple.com
487 * dbxout.c (dbxout_symbol_name): Emit mangled names for
488 NAMESPACE_DECL memebers.
490 2004-01-13 Andrew Pinski <pinskia@physics.uc.edu>
493 * c-common.c (finish_fname_decls): Use the chain only if the
494 tree is an expr_stmt.
496 2004-01-13 Vladimir Makarov <vmakarov@redhat.com>
498 * rtl.def: Add comment about new option in automata_option.
500 * genautomata.c (PROGRESS_OPTION): New macro.
501 (progress_flag): New global variable.
502 (gen_automata_option): Process `progress'.
503 (transform_insn_regexps, check_unit_distributions_to_automata,
504 make_automaton, NDFA_to_DFA, build_automaton, create_automata,
505 expand_automata, write_automata): Print about the progress only if
506 progress_flag. Remove fflush.
507 (initiate_automaton_gen): Process command line flag `-progress'.
509 * doc/md.texi: Describe the new option.
511 2004-01-13 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
513 * cfg.c (dump_bb): Dump entry edges.
515 2004-01-13 Richard Earnshaw <rearnsha@arm.com>
517 * arm.c (thumb_legitimate_address_p): Only allow constant pool
518 references from SImode.
519 * arm.md (thumb_movhi_insn): Don't allow minipool references.
521 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
523 * system.h (TEXT_SECTION): Poison.
524 * varasm.c (text_section): Don't use TEXT_SECTION.
525 * config/sh/sh.c (sh_file_start): Fix a comment typo.
526 * doc/tm.texi (TEXT_SECTION): Remove.
528 2004-01-13 Ben Elliston <bje@wasabisystems.com>
530 * doc/rtl.texi (Vector Operations): Remove defunct vec_const item.
532 2004-01-12 James E Wilson <wilson@specifixinc.com>
534 * unwind-libunwind.c: Delete.
536 2004-01-12 Zack Weinberg <zack@codesourcery.com>
539 * c-decl.c (diagnose_mismatched_decls): Whenever newtype or
540 oldtype is set, set *newtypep or *oldtypep too. Do not set
541 them at the very end.
542 (validate_proto_after_old_defn): Restructure for comprehensibility;
543 make error messages clearer.
545 2004-01-12 Zack Weinberg <zack@codesourcery.com>
547 * varray.h (VARRAY_POP): Add checking variant, aborts on underflow.
548 (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked.
549 * varray.c: No need to prototype error.
550 (varray_check_failed): Wrap long string onto two lines.
551 (varray_underflow): New function.
553 2004-01-13 Steven Bosscher <stevenb@suse.de>
556 * function.h (struct function): Kill `name' field.
557 (current_function_name): Make it an extern function.
558 * function.c (current_function_name): New function.
559 * graph.c: Update all uses of current_function_name.
561 * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
562 config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
563 * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
564 instead of a strcmp with "main".
566 2004-01-13 Jan Hubicka <jh@suse.cz>
568 * c-decl.c (diagnose_mismatched_decls): Fix warning calls.
570 * cgraphunit.c (cgraph_optimize_function): Always do
571 optimize_inline_calls when there is always_inline callee.
572 (cgraph_decide_inlining): Fix formating.
573 * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
575 (expand_call_inline): Likewise.
576 * toplev.h (sorry): Fix prototype.
578 2004-01-12 Roger Sayle <roger@eyesopen.com>
580 * builtins.c (expand_builtin_expect_jump): Simplify logic. Handle
581 conditional jumps that drop through to unconditional jumps or the
584 2004-01-13 Jan Hubicka <jh@suse.cz>
586 * alias.c (new_alias_set): Construct the alias_set varray.
587 (init_alias_once): Don't do it here.
589 2004-01-12 Marc Espie <espie@openbsd.org>
591 * system.h: handle YYBYACC like YYBISON.
593 2004-01-12 Jonathan Merriman <jonm@dualitymedia.com>
596 * config.gcc: No longer includes conflicting header sparc/sol2.h when
597 building on sparc64-*-openbsd*.
599 2004-01-12 Andrew Pinski <pinskia@physics.uc.edu>
602 * dbxout.c (dbxout_type): Protected inheritance is not
603 private but protected.
605 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
607 * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.
609 2004-01-12 Kazu Hirata <kazu@cs.umass.edu>
611 PR optimization/12508.
612 * combine.c (try_combine): Remove a dead set in a parallel
613 even if its destination is a subreg.
616 2003-06-03 Kazu Hirata <kazu@cs.umass.edu>
617 * combine.c (simplify_set): Don't move a subreg in SET_SRC to
618 SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
620 2004-01-12 Geoffrey Keating <geoffk@apple.com>
622 * real.c: Update copyright date.
623 * emit-rtl.c: Likewise.
625 * dwarf2out.c: Likewise.
626 * config/rs6000/darwin-ldouble.c: Likewise.
627 * config/rs6000/rs6000.md: Likewise.
629 2004-01-12 David Edelsohn <edelsohn@gnu.org>
631 * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
632 TFmode to SImode libfuncs.
634 2004-01-12 Roger Sayle <roger@eyesopen.com>
637 * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
639 2004-01-12 Jan Hubicka <jh@suse.cz>
642 * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
646 * cfgcleanup.c (label_is_jump_target_p): Move to...
647 * rtlanal.c (label_is_jump_target_p): ... here.
648 * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Fix redirecting of fallthru
649 edges unified with branch edges.
651 2004-01-12 Richard Earnshaw <rearnsha@arm.com>
653 * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
654 high word of an integral CONST_DOUBLE.
656 2004-01-12 Paul Brook <paul@codesourcery.com>
658 * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
660 2004-01-12 J"orn Rennecke <joern.rennecke@superh.com>
663 * sh-protos.h (check_use_sfunc_addr): Declare.
664 * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
665 * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
667 2004-01-12 Jan Hubicka <jh@suse.cz>
669 * alias.c: Invlude varray.h
670 (alias_sets): Turn into varray.
671 (get_alias_set_entry): Use VARRAY; mark inline.
672 (mems_in_disjoint_alias_sets_p): Mark inline.
673 (record_alias_subset): Use varray.
674 (init_alias_once): Initialize varray.
675 (new_alias_set): Grow array.
676 * varray.c: Make VARRAY_GENERIC_PTR non GTYized.
678 2004-01-12 Jan Hubicka <jh@suse.cz>
680 Partial fix for PR opt/10776 II
681 * cselib.c: Include params.h
682 (cselib_invalidate_mem): Limit amount of nonconflicting memory
684 * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
685 * Makefile.in (cselib.o): Depend on params.h
687 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
689 * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
690 simplify_unary_operation if the operand has a known mode.
692 2004-01-12 Hartmut Penner <hpenner@de.ibm.com>
695 * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
696 predicate to handle 'ld' conform addresses.
697 * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
699 (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
700 are memory contraints.
701 * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
703 * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
704 Change 'o' to 'Y' constraint.
705 (*movdf_softfloat64): Ditto.
707 2004-01-12 Bernardo Innocenti <bernie@develer.com>
709 * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
710 brace-enclosed syntax in all C output statements.
712 2004-01-12 David Edelsohn <edelsohn@gnu.org>
715 * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
716 Objective-C language type value is 14.
718 2004-01-12 Markus F.X.J. Oberhumer <markus@oberhumer.com>
721 * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
722 `int' in a number of places to make sure we always have a SImode
723 and not a HImode. Add a 'L' suffix to a number of constants.
725 2004-01-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
727 * pa.c: Don't include obstack.h.
729 * pa.md: Correct constraint in pattern for loading PIC label address.
731 2004-01-11 Kaz Kojima <kkojima@gcc.gnu.org>
733 * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
736 2004-01-11 Steven Bosscher <stevenb@suse.de>
739 * toplev.c (rest_of_handle_inline): Also consider functions
740 for deferral if the language is GNU F77.
742 2004-01-11 Zack Weinberg <zack@codesourcery.com>
744 * c-decl.c (diagnose_arglist_conflict): Add missing space to
747 2004-01-11 Jakub Jelinek <jakub@redhat.com>
750 * builtins.c (expand_builtin_expect_jump): Handle conditional jumps
751 to drop through label. Don't fall back to SCC even when conditional
752 jump has not been found.
754 2004-01-11 Jan Hubicka <jh@suse.cz>
756 * invoke.texi: Fix syntax error in previous patch.
758 Partial fix for PR opt/10776
759 * Makefile.in (reload.o): Include param.h
760 * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter.
761 * reload.c: Include params.h.
762 (find_equiv_reg): Work limiting check.
763 * invoke.texi: Document.
765 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
767 * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
768 out-of-bounds accesses to string constants. Simplify mips16
771 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
773 PR optimization/13469
774 * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
775 reload_cse_regs (-fnon-call-exceptions only).
777 2004-01-11 Kazu Hirata <kazu@cs.umass.edu>
779 * config/mcore/lib1.asm: Fix comment formatting.
780 * config/mcore/mcore-elf.h: Likewise.
781 * config/mcore/mcore.c: Likewise.
782 * config/mcore/mcore.h: Likewise.
783 * config/mcore/mcore.md: Likewise.
785 2004-01-10 Zack Weinberg <zack@codesourcery.com>
787 * c-decl.c (duplicate_decls): Break apart into...
788 (diagnose_arglist_conflict, validate_proto_after_old_defn)
789 (locate_old_defn, diagnose_mismatched_decls, merge_decls):
790 ... these new functions. Restructure for comprehensibility.
791 Remove various archaic special cases. Always report the
792 location of the previous declaration when a diagnostic is issued.
793 (redeclaration_error_message): Fold into diagnose_mismatched_decls.
794 (match_builtin_function_types): Delete unnecessary forward declaration.
796 2004-01-10 Zack Weinberg <zack@codesourcery.com>
798 * genautomata.c (make_automaton, NDFA_to_DFA):
799 Print progress bars with '.' characters instead of '*'.
800 (build_automaton): Change notes to match.
802 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
804 * config/m32r/m32r.md: Use define_constants for unspec and
807 2004-01-10 Jan Hubicka <jh@suse.cz>
810 * expr.c (expand_expr_real): More curefully expand union casts.
812 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
814 * config/m32r/m32r.md (flush_icache): Use 1 for
817 2004-01-10 David Edelsohn <edelsohn@gnu.org>
818 James E Wilson <wilson@specifixinc.com>
821 * dbxout.c (dbxout_symbol): Remove initialization of
822 current_sym_code, current_sym_value, and current_sym_addr.
823 (dbxout_symbol_location): Same.
824 (dbxout_prepare_symbol): Zero current_sym_code,
825 current_sym_value, and current_sym_addr.
827 2004-01-10 Richard Sandiford <rsandifo@redhat.com>
829 * tree.c (get_unwidened): Reorder conditions so that the null pointer
832 2004-01-09 Eric Christopher <echristo@redhat.com>
834 * toplev.c (rest_of_handle_cfg): Add reg_scan pass
835 if we're running mark_constant_function.
837 2004-01-09 Jeff Bailey <jbailey@nisa.net>
840 * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
842 2004-01-09 Andrew Pinski <pinskia@physics.uc.edu>
845 * dbxout.c (dbxout_type_fields): Return if any item is
846 error_mark_node or the type is error_mark_node.
848 2004-01-09 Geoffrey Keating <geoffk@apple.com>
850 * config/rs6000/darwin-ldouble.c: Add big comment explaining
851 exactly what is expected as a 'long double'.
852 (_xlqadd): When a value to be returned is representable as a
853 'double', just return it directly, do not construct it using a union.
854 Also, correct final fixup.
857 * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.
859 * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
861 2004-01-09 Richard Henderson <rth@redhat.com>
863 * recog.c (constrain_operands): Validate mem operands.
865 2004-01-09 James E Wilson <wilson@specifixinc.com>
867 * gcc.c (init_spec): Remove -lunwind from shared case.
868 * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
870 2004-01-09 Steve Ellcey <sje@cup.hp.com>
872 * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
873 * configure: Regenerate
875 2004-01-09 Joseph S. Myers <jsm@polyomino.org.uk>
878 * c-typeck.c (build_c_cast): If pedantic, warn for conversions
879 between function and object pointers.
880 (digest_init): When comparing a pointer to function type to the
881 target type, only apply TREE_TYPE once to the pointer to function
883 * except.c (for_each_eh_label_1): Treat data as a pointer to a
884 function pointer rather than casting it to a function pointer.
885 (for_each_eh_label): Update caller.
886 * recog.h (struct insn_data): Use a struct or union for output.
887 * genoutput.c (output_insn_data): Update.
888 * final.c (get_insn_template): Update.
890 2004-01-09 Mark Mitchell <mark@codesourcery.com>
892 * expr.h (expand_expr): Make it a macro, not a function.
893 (expand_expr_real): New function.
894 * expr.c (store_expr): Adjust logic for deciding whether or not to
895 copy the value returned by expand_expr.
896 (expand_expr): Rename to ...
897 (expand_expr_real): ... this. Add alt_rtl parameter. Adjust
898 calls to language hooks.
899 * c-common.h (c_expand_expr): Adjust prototype.
900 * c-common.c (c_expand_expr): Add alt_rtl parameter.
901 * langhooks-def.h (lhd_expand_expr): Change prototype.
902 * langhooks.c (lhd_expand_expr): Add all_rtl parameter.
903 * langhooks.h (lang_hooks): Change type of expand_expr.
904 * stmt.c (stmt_status): Add x_last_expr_alt_rtl.
905 (last_expr_alt_rtl): Likewise.
906 (expand_expr_stmt_value): Set last_expr_alt_rtl.
907 (clear_last_expr): Clear it.
908 (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
909 (expand_end_bindings): Save and restor last_expr_alt_rtl.
910 * tree.def (RTL_EXPR): Give it an additional operand.
911 * tree.h (RTL_EXPR_ALT_RTL): New macro.
913 2004-01-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
915 * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
916 * config/m32r/m32r.c (call26_operand): Allow in PIC mode.
918 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
921 * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
922 or (ne:SI (reg:CC 17) (const_int 0)).
923 Be specific about modes wherever possible.
925 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
927 * config/m32r/m32r.c (m32r_expand_block_move): Call
928 gen_movestrsi_internal with two more arguments.
929 (m32r_output_block_move): Adjust operand numbers.
930 Properly update the source and destination pointers.
931 * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
932 'r+'. Change the set detinations to match_operand.
934 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
936 * final.c (FIRST_INSN_ADDRESS): Remove.
937 (shorten_branches): Don't use FIRST_INSN_ADDRESS.
938 * system.h (FIRST_INSN_ADDRESS): Poison.
939 * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
940 * config/m32r/m32r-protos.h: Remove the prototype for
941 m32r_first_insn_address.
942 * config/m32r/m32r.c (m32r_first_insn_address): Remove.
943 * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
944 * doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
946 2004-01-09 J. Brobecker <brobecker@gnat.com>
948 * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
950 (is_ada_subrange_type): DIEs for enumeration subtypes should be
951 emitted as subrange types too.
952 (subrange_type_die): Add handling of enumeration subtypes.
954 2004-01-08 Richard Henderson <rth@redhat.com>
957 Revert: Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
958 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
959 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
960 (ix86_address_cost): Be prepared for SUBREGed registers.
961 (legitimate_address_p): Accept SUBREGed registers.
963 2004-01-08 Kelley Cook <kcook@gcc.gnu.org>
965 * Makefile.in: Rename configure.in to configure.ac
966 * doc/sourcebuild.texi: Likewise.
967 * configure: Regenerate.
968 * config.in: Regenerate.
970 2004-01-08 Stuart Hastings <stuart@apple.com>
972 * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
974 2004-01-08 Jan Hubicka <jh@suse.cz>
976 * cgraphunit.c (cgraph_decide_inlining): Fix typo.
978 2004-01-08 Geoffrey Keating <geoffk@apple.com>
980 * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
981 (UNSPEC_FIX_TRUNC_TF): New constant.
982 (movtf_internal): Make splitter active only when insn is active.
983 (extenddftf2): Rewrite to properly load zero into low part.
984 (extenddftf2_internal): New.
985 (extendsftf2): Rewrite.
986 (truncdftf2): Correct length.
987 (floatditf2): Delete.
988 (fix_trunc_helper): New.
989 (fix_trunctfdi2): Use fix_trunc_helper.
990 (fix_trunctfsi2): Likewise.fix_trunc
991 (fix_trunctfsi2_internal): New.
993 * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
994 addresses are legitimate on Darwin even when flag_pic.
995 (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
996 non-offsettable addresses for loads of TFmode constants.
998 2004-01-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1000 * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
1001 variables in the appropriate bss section.
1003 2004-01-09 Alan Modra <amodra@bigpond.net.au>
1005 * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
1006 target_flags has MASK_POWERPC64 when -m64.
1007 * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
1008 to 620, 630, power3, power4 and rs64a entries.
1009 * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
1011 2004-01-08 Richard Sandiford <rsandifo@redhat.com>
1013 * simplify-rtx.c (simplify_immed_subreg): Fix construction of
1014 floating-point constants.
1016 2004-01-08 J. Brobecker <brobecker@gnat.com>
1018 * dwarf2out.c (subrange_type_die): Add context_die parameter.
1019 Create the subrange_type DIE using the given context DIE.
1020 (modified_type_die): Update call to subrange_type_die.
1022 2004-01-08 Zack Weinberg <zack@codesourcery.com>
1024 * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
1025 Add multiple-include guard.
1027 2004-01-08 Hartmut Penner <hpenner@de.ibm.com>
1029 * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
1030 all vector constant loadable by vsplt*.
1031 (output_vec_const_move): Likewise.
1033 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
1036 * c-typeck.c (comptypes): Only treat enumerated types in the same
1037 translation unit as compatible with each other when they are the
1039 * doc/extend.texi: Update.
1041 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
1044 * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
1045 array type from the array element type.
1047 2004-01-07 Alan Modra <amodra@bigpond.net.au>
1049 * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
1050 * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
1051 * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
1052 (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
1053 * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
1055 2004-01-06 Eric Christopher <echristo@redhat.com>
1057 * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
1058 (DWARF2_DEBUGGING_INFO): Define.
1059 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
1060 * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
1061 * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
1063 (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
1064 * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
1065 * config/mips/iris5gas.h: Ditto.
1066 (DBX_DEBUGGING_INFO): Remove.
1067 (DWARF2_DEBUGGING_INFO): Ditto.
1068 (MIPS_DEBUGGING_INFO): Ditto.
1069 (PREFERRED_DEBUGGING_TYPE): Ditto.
1070 * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
1071 (PREFERRED_DEBUGGING_TYPE): Ditto.
1072 (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
1073 * config/mips/elf64.h: Ditto.
1075 2004-01-06 Jan Hubicka <jh@suse.cz>
1077 * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
1078 (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
1080 2004-01-06 Geoffrey Keating <geoffk@apple.com>
1082 * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
1083 (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
1084 * config/rs6000/darwin-ldouble.c: New.
1086 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
1088 (constant_subword): Delete.
1089 * rtl.h (constant_subword): Delete prototype.
1090 (immed_double_const): Is not in varasm.c.
1091 * simplify-rtx.c (simplify_immed_subreg): New.
1092 (simplify_subreg): Use simplify_immed_subreg.
1094 * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
1095 than trying to generate RTL directly.
1096 (fix_trunctfsi2): Use expand_fix rather than trying to generate
1099 * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
1101 2004-01-06 David Edelsohn <edelsohn@gnu.org>
1103 * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
1104 function into a separate macro.
1105 (read_only_data_section): Add void argument.
1106 (private_data_section): Same.
1107 (read_only_private_data_section): Same.
1108 (toc_section): Same.
1110 2004-01-06 Jan Hubicka <jh@suse.cz>
1112 * invoke.texi: Remove typo in last change.
1115 * config.gcc: Accept opteron and athlon-64 as variants
1117 * i386.c (override_options): Likewise.
1118 * invoke.texi (i386 -mtune): Expand documentation.
1120 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
1122 * alias.c: Fix comment typos.
1123 * builtins.c: Likewise.
1126 * dominance.c: Likewise.
1127 * dwarf2out.c: Likewise.
1128 * emit-rtl.c: Likewise.
1130 * final.c: Likewise.
1131 * fold-const.c: Likewise.
1133 * genattrtab.c: Likewise.
1134 * genrecog.c: Likewise.
1135 * gensupport.c: Likewise.
1136 * ggc-zone.c: Likewise.
1137 * integrate.c: Likewise.
1138 * local-alloc.c: Likewise.
1140 * recog.c: Likewise.
1141 * regmove.c: Likewise.
1142 * reg-stack.c: Likewise.
1143 * reorg.c: Likewise.
1144 * rtlanal.c: Likewise.
1146 * sched-ebb.c: Likewise.
1147 * simplify-rtx.c: Likewise.
1148 * toplev.c: Likewise.
1149 * varasm.c: Likewise.
1151 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
1153 * doc/install.texi: Fix typos.
1154 * doc/invoke.texi: Likewise.
1155 * doc/md.texi: Likewise.
1157 2004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1159 * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
1161 2004-01-06 Jan Hubicka <jh@suse.cz>
1163 * i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
1164 (function_arg_advance): Do not pass aggregates in SSE; deal handling
1166 (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
1168 * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
1169 (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
1170 (MMX_REGPARM_MAX): Similarly for -mmmx.
1172 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1174 * config/sh/linux.h: Fix comment formatting.
1175 * config/sh/netbsd-elf.h: Likewise.
1176 * config/sh/sh.c: Likewise.
1177 * config/sh/sh.h: Likewise.
1178 * config/sh/vxworks.h: Likewise.
1180 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1182 * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
1183 * toplev.c (output_file_directive): Don't use
1184 ASM_OUTPUT_MAIN_SOURCE_FILENAME.
1186 2004-01-05 Daniel Berlin <dberlin@dberlin.org>
1188 * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
1189 (USING_MMAP): We don't support non-mmap.
1190 (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
1192 (struct page_entry): Remove bytes_free.
1193 (struct page_table_chain): Remove.
1194 (struct globals): Remove page_table member.
1195 (loookup_page_table_entry): Function deleted.
1196 (set_page_table_entry): Ditto.
1197 (ggc_allocated_p): No longer need page table lookups.
1198 (ggc_marked_p): Ditto.
1199 (alloc_small_page): Don't care about bytes_free anymore.
1200 (alloc_large_page): Round up size.
1201 (ggc_alloc_zone_1): Mark large objects as such, and calculate
1202 their size the new way.
1203 Remove page table lookups and setting.
1204 (ggc_get_size): Calculate large object size the new way.
1205 (sweep_pages): Redo to account for fact that we no longer have
1207 (ggc_collect): No longer need to reincrement bytes_free.
1208 (ggc_pch_alloc_object): Handle new large objects properly.
1209 (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
1211 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1213 * doc/invoke.texi: Remove a page break.
1215 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1217 * config/avr/avr.c (avr_output_function_prologue): Remove an
1218 extra pair of curly braces.
1220 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1222 * config/mn10300/mn10300.c: Fix comment formatting.
1223 * config/mn10300/mn10300.h: Likewise.
1225 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1227 * tree.h: Update documentation on nothrow_flag.
1228 * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
1231 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1233 * doc/invoke.texi: Remove traces of dead ports.
1235 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1237 * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
1240 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1243 * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
1245 * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
1246 (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
1247 string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check
1248 the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
1249 (mips_symbol_insns): Don't trust the local/global classification.
1250 (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
1251 (override_options): Make -mabicalls -fno-unit-at-a-time imply
1252 -mno-explicit-relocs.
1253 (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
1254 between local and global symbols.
1256 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1258 * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
1259 (mips_preferred_reload_class): Declare.
1260 * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
1261 (EXTRA_CONSTRAINT): Update accordingly.
1262 (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
1263 * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
1264 (mips_preferred_reload_class): New function. Prefer LEA_REGS if
1265 mips_dangerous_for_la25_p.
1266 (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
1267 if mips_dangerous_for_la25_p.
1269 2004-01-05 Bernardo Innocenti <bernie@develer.com>
1271 * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
1274 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org>
1276 * configure.ac: Use AC_PROG_CPP_WERROR.
1277 * configure: Regenerate.
1279 2004-01-04 Zack Weinberg <zack@codesourcery.com>
1281 * .cvsignore: Add autom4te.cache.
1283 2004-01-04 Richard Sandiford <rsandifo@redhat.com>
1285 * doc/invoke.texi: Revamp documentation of MIPS options. Remove
1286 -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
1287 -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first,
1288 then architecture options, then ABI options. General rewording.
1290 2004-01-04 Joseph S. Myers <jsm@polyomino.org.uk>
1293 * doc/extend.texi: Clarify definition of malloc attribute.
1295 2004-01-04 Jan Hubicka <jh@suse.cz>
1297 * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
1298 * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
1299 * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
1300 (cgraph_inline_p): Add extra argument reason.
1301 * cgraphunit.c: Minor formating fixes.
1302 cgraph_first_inlined_callee): New functions.
1303 (record_call_1): Record builtins too.
1304 (cgraph_analyze_function): Update inline_failed messages.
1305 (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
1306 cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
1307 (cgraph_check_inline_limits): Likewise; Add argument reason.
1308 (cgraph_set_inline_failed): New static function.
1309 (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
1311 (cgraph_inline_p): Add new argument reason.
1312 * tree-inline.c (expand_call_inline): Update warning.
1314 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
1316 * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
1317 with modern equivalents.
1318 * configure: Regenerate.
1320 * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
1321 * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
1322 * configure: Regenerate.
1324 * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
1326 * configure.in: Rename to configure.ac.
1327 * configure.ac: Renamed from configure.in; make minimum necessary
1328 changes for autoconf 2.5x.
1329 * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
1330 * configure: Regenerate with autoconf 2.57.
1332 2004-01-03 Kazu Hirata <kazu@cs.umass.edu>
1334 * config/mips/linux.h: Fix comment formatting.
1335 * config/mips/mips.c: Likewise.
1336 * config/mips/mips.h: Likewise.
1337 * config/mips/mips.md: Likewise.
1338 * config/mips/netbsd.h: Likewise.
1339 * config/mips/windiss.h: Likewise.
1341 2004-01-02 Richard Henderson <rth@redhat.com>
1343 * config/i386/i386.md (fp constant pool splitter): Reorg suppression
1344 for sse and 387; add suppression for mmx.
1346 2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
1348 * loop.c (loop_optimize): Free all loops_info's mems.
1350 * c-typeck.c (finish_init): Free spelling_base before
1353 * cfgloop.c (flow_loops_find): Always free the sbitmap
1356 * predict.c (estimate_probability): Free bbs after being
1359 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
1361 * config/mn10300/mn10300.h (PREDICATE_CODES): Add
1362 const_8bit_operand and call_address_operand.
1364 2004-01-02 Jan Hubicka <jh@suse.cz>
1366 * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls
1367 when there is nothing to inline but warnings are requested.
1368 (cgraph_decide_inlining): Fix memory leak.
1370 2004-01-02 Jan Hubicka <jh@suse.cz>
1372 * expr.c (store_constructor): Fix pasto in previous patch.
1374 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
1376 * config/i386/cygming.h: Fix comment formatting.
1377 * config/i386/djgpp.h: Likewise.
1378 * config/i386/gthr-win32.c: Likewise.
1379 * config/i386/i386-interix.h: Likewise.
1380 * config/i386/i386.c: Likewise.
1381 * config/i386/i386.h: Likewise.
1382 * config/i386/openbsd.h: Likewise.
1383 * config/i386/winnt.c: Likewise.
1384 * config/i386/xm-mingw32.h: Likewise.
1386 2004-01-02 Joseph S. Myers <jsm@polyomino.org.uk>
1388 * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
1389 copyright and last modification dates.
1391 2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de>
1393 * doc/install.texi (Specific): Mention x86_64.
1395 2004-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1397 * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
1398 Call force_operand on plus_constant result.
1400 2004-01-01 Jan Hubicka <jh@suse.cz>
1402 * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
1403 * expr.c (store_constructor): Use vec_init pattern.
1404 * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
1405 * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
1406 (vec_set_optab, vec_extract_optab, vec_init_optab): New.
1407 * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
1409 (sse2_unpc?pd): Fix pattern.
1410 (sse2_movlpd): Kill.
1411 (sse2_movsd): Deal with movlpd too.
1412 * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
1413 (ix86_expand_vector_init): New.
1414 * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
1415 * md.texi (vec_set, vec_extract): Document
1417 2003-12-31 Jan Hubicka <jh@suse.cz>
1420 * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside
1424 * toplev.c (dump_file_index): Reorder ce3 and bbro.
1425 (dump_file): Likewise.
1426 (rest_of_compilation): Likewise.
1429 * cgraph.c (cgraph_function_possibly_inlined): Even with
1430 flag_really_no_inline we inline always_inline functions.
1431 * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
1432 for non-always_inline functions when there is flag_really_no_inline.
1433 (cgraph_decide_inlining): Limit work done when not inlining.
1434 (cgraph_decide_inlining_incrementally): Likewise.
1435 (cgraph_optimize_function): Check whether something got inlined.
1436 * c-objc-common.c (c_disregard_inline_limits): Do not always inline
1437 extern inline functions when not inlining.
1439 * opts.c (decode_options): Disable crossjumping at -O1
1440 * invoke.texi (-O1): Document change.
1442 See ChangeLog.10 for earlier changes.