(TARGET_M32R2). Test for TARGET_M32R2_MASK not TARGET_M32RX_MASK.
[official-gcc.git] / gcc / ChangeLog
blob819ad308d2b152fba19f3fa193832555ec31676d
1 2004-01-20  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
3         * config/m32r/m32r.h (TARGET_M32R2). Test for TARGET_M32R2_MASK
4         not TARGET_M32RX_MASK.
6 2004-01-20  Eric Botcazou  <ebotcazou@libertysurf.fr>
8         PR target/13557
9         * config/sparc/sparc.c (function_arg): Reorder the cases.
11 2004-01-19  Per Bothner  <per@bothner.com>
13         Move cpp_reader's line_maps field to a shared global.
14         * cpphash.h (cpp_reader):  Rename line_maps field to line_table
15         and change the type to a pointer rather than a struct.
16         * cppinit.c (cpp_push_main_field):  Adjust accordingly.
17         * cpplib.c (do_include_common, _cpp_do_file_change, cpp_get_callbacks):
18         Likewise.
19         * cppfiles.c (validate_pch):  Likewise.
20         * cppmacro.c (_cpp_warn_if_unused_macro, _cpp_builtin_macro_text):
21         Likewise.
22         * cpperror.c (print_location):  Likewise.
23         * cpplib.h (cpp_create_reader):  New line_maps pointer parameter.
24         * cppinit.c (cpp_create_reader):  Handle new parameter.
25         (cpp_destroy):  Don't free line_maps - that's no longer our job.
26         * input.h (line_table):  New variable.
27         * toplev.c (line_table):  Declare variable.
28         (general_init):  Initialize line_table.
29         * c-opts.c (c_common_init_options):  Pass line_table to
30         cpp_create_reader.
31         * fix-header.c (read_scan_file):  New local variable line_table.
32         Initialize, and pass it to cpp_create_reader.
33         * Makefile.in (LIBS, LIBDEPS):  Add libcpp.a.
34         (C_AND_OBJC_OBJS, fix-header):  Remove redundant libcpp.a.
36 2004-01-19  Per Bothner  <per@bothner.com>
38         Implement a cache for linemap_lookup.
39         * line-map.h (struct_line_maps):  Add cache field.
40         * line-map.c (linemap_init):  Zero cache field.
41         (linemap_add):  Set cache field to offset of newly allocated map.
42         (linemap_lookup):  Use and set cache field.
44 2004-01-20  Kaz Kojima  <kkojima@gcc.gnu.org>
46         PR optimization/13567
47         * cse.c (cse_basic_block): Call cse_insn with a non-null
48         libcall_insn for the last SET insn of a no-confilict block.
50 2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>
52         * Makefile.in (target_noncanonical, program_transform_name): Use 
53         immediate define instead of deferred.
54         (GCC_INSTALL_NAME, GCC_TARGET_INSTALL_NAME, CPP_INSTALL_NAME, 
55         PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
56         GCCBUG_INSTALL_NAME): Define via a immediate $(shell) instead of
57         deferred backquote.
59 2004-01-20  Joseph S. Myers  <jsm@polyomino.org.uk>
61         * c-decl.c (c_init_decl_processing): Set pedantic_lvalues to
62         true unconditionally.
63         * c-typeck.c (unary_complex_lvalue, pedantic_lvalue_warning):
64         Remove.
65         (build_unary_op, build_modify_expr): Don't handle extended
66         lvalues.
67         (build_component_ref, build_conditional_expr): Call non_lvalue
68         instead of pedantic_non_lvalue.
69         (build_c_cast): Don't condition use of non_lvalue on pedantic.
70         * fold-const.c (fold): Don't check pedantic directly for
71         COMPOUND_EXPR.  Ensure that results for COMPOUND_EXPR are
72         passed to pedantic_non_lvalue.
73         * doc/extend.texi: Remove documentation of extended lvalues.
75 2004-01-19  Roger Sayle  <roger@eyesopen.com>
77         PR optimization/5263
78         * simplify-rtx.c (associative_constant_p): Delete.
79         (simplify_associative_operation): Rewrite to linearize terms, and
80         attempt to simplify new term against both left and right subterms.
81         (simplify_binary_operation): Call swap_commutative_operands_p on
82         op0 and op1, not trueop0 and trueop1.  Move the initialization of
83         trueop0 and trueop1 down to where first needed.
84         (simplify_relational_operation): Likewise.
85         * rtlanal.c (commutative_operand_precedence): Also order constant
86         operands using avoid_constant_pool_reference.
88 2004-01-19  Richard Henderson  <rth@redhat.com>
90         * config/alpha/alpha.c (aligned_memory_operand): Check MEM_ALIGN,
91         don't check memory mode.
92         (unaligned_memory_operand): Likewise.
93         (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Don't
94         abort for op0 not MEM.
96         * config/alpha/alpha.c (alpha_expand_mov_nobwx): If the destination
97         is not a reg, copy to a scratch first.
98         (aligned_loadqi, aligned_loadhi, unaligned_loadqi, unaligned_loadhi,
99         unaligned_loadqi_le, unaligned_loadqi_be, unaligned_loadhi_le,
100         unaligned_loadhi_be): Expect op0 in DImode; don't SUBREG.
101         (reload_inqi, reload_inhi): Fix mode of op0.
102         (reload_inqi_help, reload_inhi_help, reload_outqi_help,
103         reload_outhi_help): Likewise.  Use define_insn_and_split.
105         * config/alpha/alpha.md (call peepholes): Check for REG_NORETURN
106         as well as $29 dead.
108 2004-01-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
110         * config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): New.  Emit
111         "tls_object" for thread-local objects.
112         * config/sparc/sparc.c (sparc_elf_asm_named_section): Emit
113         "#tls" for thread-local sections.
114         * configure.ac (thread-local checks): Specify --fatal-warnings in
115         every binutils-specific checks.  For sparc*-*-*, test whether the
116         OS is Solaris and the tools are native and act accordingly.
117         * configure: Rebuild.
119 2004-01-19  Jeff Law  <law@redhat.com>
121         * contrib.texi: Update Paolo Carlini's entry.  New entries for
122         Jerry Quinn and Petur Runolfsson.
124 2004-01-19  Roger Sayle  <roger@eyesopen.com>
126         * config/i386/i386.md (*movhi_1, *movqi_1): When optimizing for
127         size, don't use the larger zero-extending loads.
129 2004-01-19  Richard Henderson  <rth@redhat.com>
131         * alpha.h (HARD_REGNO_MODE_OK): Disallow SImode in FP regs.
132         * alpha.md (UNSPEC_NT_LDA): Remove.
133         (UNSPEC_CVTLQ, cvtlq): New.
134         (extendsidi2_1): Rename from extendsidi2_nofix; remove f/f.
135         (extendsidi2_fix): Remove.
136         (extendsidi2 splitter): Use cvtlq.
137         (extendsidi2 fp peepholes): Remove.
138         (cvtql): Use SFmode instead of SImode.
139         (fix_trunc?fsi): Update to match.
140         (floatsisf2_ieee, floatsisf2, floatsidf2_ieee, floatsidf2): New.
141         (movsi): Rename from movsi_nofix, remove f alternatives.
142         (movsi_nt_vms): Similarly.
143         (movsi_fix, movsi_nt_vms_fix): Remove.
144         (nt_lda): Remove.
145         * alpha.c (alpha_expand_prologue): Use adddi3, not nt_lda.
147 2004-01-19  Jan Hubicka  <jh@suse.cz>
149         * cgraph.c (cgraph_remove_node): Fix removal from linked list.
150         * cgraphunit.c (cgraph_finalize_compilation_unit): Clear next_needed
151         list.
152         (cgraph_remove_unreachable_nodes): New function
153         (cgraph_decide_inlining_of_small_function): Fix pasto.
154         (cgraph_decide_inlining_incrementally): Fix pasto.
155         (cgrpah_decide_inlining): Likewise; remove unreachable nodes.
157 2004-01-19  Steven Bosscher  <stevenb@suse.de>
159         * gengtype.c (header_file): Make it static.
160         (write_types_process_field, write_enum_defn): Minor whitespace fixes.
161         * gengtype.h (header_file): No longer extern.
163 2004-01-18  Kazu Hirata  <kazu@cs.umass.edu>
165         * defaults.h (CASE_VECTOR_PC_RELATIVE): Provide the default.
166         * expr.c (CASE_VECTOR_PC_RELATIVE): Remove.
167         * stmt.c (CASE_VECTOR_PC_RELATIVE): Likewise.
169 2004-01-18  Kazu Hirata  <kazu@cs.umass.edu>
171         * stmt.c (HAVE_casesi): Define it not already defined.
172         (HAVE_tablejump): Likewise.
173         (expand_end_case_type): Resort to the binary tree method if
174         neither casesi or tablejump is available.
176 2004-01-18  Daniel Jacobowitz  <drow@mvista.com>
178         * final.c (final_scan_insn): Make non-static again.
179         * output.h (final_scan_insn): Re-add prototype.
180         * config/arc/arc.c (arc_output_function_epilogue): Add NULL
181         to final_scan_insn call.
182         * config/cris/cris.c (cris_target_asm_function_epilogue): Likewise.
183         * config/mips/mips.c (mips_output_conditional_branch): Likewise.
184         * config/pa/pa.c (output_lbranch, output_call): Likewise.
185         * config/sh/sh.c (print_slot): Likewise.
186         * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Likewise.
187         (output_sibcall, sparc_flat_function_epilogue): Likewise.
189 2004-01-18  Jan Hubicka  <jh@suse.cz>
191         * basic-block.h (try_redirect_by_replacing_jump): Declare.
192         * cfgcleanup.c (try_optimize_cfg): Use it.
193         * cfgrtl.c (try_redirect_by_replacing_jump): Export.
194         (rtl_redirect_edge_and_branch, cfg_layout_redirect_edge_and_branch):
195         Kill hack.
196         (cfg_layout_merge_blocks): Use try_redirect_by_replacing_jump.
198         Revert:
199         2004-01-16  Geoffrey Keating  <geoffk@apple.com>
201                 * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
202                 even after reload, just don't remove the actual jump tables.
204 2004-01-18  Kazu Hirata  <kazu@cs.umass.edu>
206         * config/rs6000/rs6000.h (STRICT_ARGUMENT_NAMING): Remove.
208 2004-01-18  Kazu Hirata  <kazu@cs.umass.edu>
210         * defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of
211         the size of a pointer in bytes.
213 2004-01-18  Roger Sayle  <roger@eyesopen.com>
215         * builtins.c (expand_builtin_expect_jump): Fix thinko of reusing
216         live "next" variable, which could lead to an infinite loop.
218 2004-01-18  Andrew Pinski  <pinskia@physics.uc.edu>
220         * config/rs6000/altivec.h: Wrap C++ functions in extern "C++"
221         block.
223         * config/rs6000/rs6000.c (rs6000_special_round_type_align):
224         Check for NULL in the chain and remove repeated code.
226 2004-01-18  Jan Hubicka  <jh@suse.cz>
228         * coverage.c (checksum_string): Rename to ...
229         (coverage_checksum_string): ... this one, Use crc32_string; recognize
230         names containing random number and zero the number out in order to get
231         match.
233 2004-01-18  Richard Sandiford  <rsandifo@redhat.com>
235         * config/mips/mips.c (mips_got_alias_set): Mark for PCH.
237 2004-01-18  Joseph S. Myers  <jsm@polyomino.org.uk>
239         * doc/c-tree.texi, doc/cpp.texi, doc/extend.texi,
240         doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi,
241         doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi,
242         doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi,
243         doc/trouble.texi: Remove trailing whitespace.
245 2004-01-18  Richard Sandiford  <rsandifo@redhat.com>
247         PR target/7618
248         * config/mips/mips.c: Include cfglayout.h.
249         (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define.
250         (mips_unspec_offset_high): Add temporary register argument.
251         (mips_load_call_address): New function, split out from...
252         (mips_expand_call): ...here.
253         (mips_output_cplocal): New function.
254         (mips_output_function_prologue, mips_output_function_epilogue): Use it.
255         (mips_emit_loadgp): New function, split out from...
256         (mips_expand_prologue): ...here.
257         (mips_output_mi_thunk): New function.
259 2004-01-17  Bernardo Innocenti  <bernie@develer.com>
261         * longlong.h (mc68020, __mc68030__, mc68030, __mc68040__, mc68040,
262         mcpu32): Remove redundant checks for implied target predefines.
264 2004-1-17  Andrew Pinski  <pinskia@physics.uc.edu>
266         * config/rs6000/rs6000.c (rs6000_special_round_type_align):
267         Return type is unsigned int not int.
268         * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
269         Likewise.
271 2004-01-18  Joseph S. Myers  <jsm@polyomino.org.uk>
273         * doc/contrib.texi, doc/cppenv.texi, doc/extend.texi,
274         doc/install.texi, doc/invoke.texi, doc/tm.texi: Consistently use
275         "GNU/Linux" and "Microsoft Windows" terminology.
277 2004-01-18  Joseph S. Myers  <jsm@polyomino.org.uk>
279         * doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
280         doc/cppopts.texi, doc/extend.texi, doc/install.texi,
281         doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
282         doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
283         @smallexample instead of @example.
285 2004-01-17  Ziemowit Laski  <zlaski@apple.com>
287         * objc/objc-act.c (build_objc_method_call): Use target
288         hooks instead of macros to determine if ..._stret 
289         dispatchers should be used (NeXT runtime only).
291 2004-01-17  Roger Sayle  <roger@eyesopen.com>
293         * builtins.c (expand_builtin_expect_jump): Fix mistake in my
294         last patch.  Use XEXP (x, 0) to get a LABEL_REF's CODE_LABEL.
296 2004-01-17  Daniel Jacobowitz  <drow@mvista.com>
298         * rtl.h (emit_insn_before_sameloc, emit_jump_insn_before_sameloc)
299         (emit_call_insn_before_sameloc, emit_insn_after_sameloc)
300         (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): New
301         macros.
302         * reload1.c (emit_reload_insns): Use them.
303         * emit-rtl.c (emit_insn_before_sameloc, emit_insn_after_sameloc)
304         (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): Check
305         for NULL PATTERN.
307 2004-01-17  Daniel Jacobowitz  <drow@mvista.com>
309         * final.c (SEEN_BB, SEEN_NOTE, SEEN_EMITTED): Define.
310         (final_scan_insn): Update to take an additional SEEN argument.  Emit
311         a line note after the prologue.  Make static.
312         (line_note_exists): Remove.
313         (final): Don't initialize line_note_exists.  Update call to
314         final_scan_insn.
315         * output.h (final_scan_insn): Remove prologue.
316         * function.c (set_insn_locators): Update comment.
317         (thread_prologue_and_epilogue_insns): Add a comment.
319 2004-01-17  Andrew Pinski  <pinskia@physics.uc.edu>
321         PR target/10781
322         * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
323         Prototype.
324         * config/rs6000/rs6000.c (rs6000_special_round_type_align):
325         New function.
326         * config/rs6000/linux64.h (ROUND_TYPE_ALIGN): Use it.
327         * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Likewise.
328         * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Likewise.
330 2004-01-17  Jan Hubicka  <jh@suse.cz>
332         * toplev.c (rest_of_handle_reorder_blocks): Fix pasto in previous
333         commit.
335         * toplev.c (HAVE_conditional_execution): Provide default.
336         (rest_of_handle_reorder_blocks): For conditional_execution target
337         update liveness once after all transformations
338         (rest_of_compilation): Do crossjumping before ce3.
340 2004-01-17  Geoffrey Keating  <geoffk@apple.com>
342         * alias.c (new_alias_set): Mark last_alias_set for PCH.
343         (get_varargs_alias_set): Rename 'set' to 'varargs_set' and mark it
344         for PCH.
345         (get_frame_alias_set): Likewise, except rename it to 'frame_set'.
346         * config/rs6000/rs6000.c (rs6000_sr_alias_set): Mark for PCH.
347         (get_TOC_alias_set): Mark 'set' for PCH.
349 2004-01-16  Geoffrey Keating  <geoffk@apple.com>
351         * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
352         even after reload, just don't remove the actual jump tables.
354 2004-01-17  J. Brobecker  <brobecker@gnat.com>
356         * dwarf2out.c (is_subrange_type): Renamed from is_ada_subrange_type().
357         Remove checks for is_ada() and TREE_UNSIGNED.
358         (subrange_type_die): Emit a byte_size attribute if the subrange
359         type size is different from the base type size.
360         (modified_type_die): Replace call to is_ada_subrange_type() by
361         call to is_subrange_type().
363 2004-01-16  Andrew Pinski  <pinskia@physics.uc.edu>
365         * config/sh/sh.c: Include ggc.h.
367 2004-01-16  Geoffrey Keating  <geoffk@apple.com>
369         * Makefile.in (MD5_H): New.
370         (fold-const.o): Depend on md5.h.
371         (dwarf2out.o): Likewise.
372         (cppfiles.o): Likewise.
373         * cppfiles.c: Include md5.h.
374         (should_stack_file): Check against list read from PCH file.
375         (struct pchf_data): New.
376         (pchf): New variable.
377         (struct pchf_adder_info): New.
378         (pchf_adder): New.
379         (pchf_save_compare): New.
380         (_cpp_save_file_entries): New.
381         (_cpp_read_file_entries): New.
382         (struct pchf_compare_data): New.
383         (pchf_compare): New.
384         (check_file_against_entries): New.
385         * cpphash.h (_cpp_save_file_entries): Prototype.
386         (_cpp_read_file_entries): Prototype.
387         * cpppch.c (cpp_write_pch_state): Write the list of headers.
388         (cpp_read_state): Read the list of headers.
390 2004-01-17  Jan Hubicka  <jh@suse.cz>
392         * c-common.c (c_estimate_num_insns_1): Handle builtin_constant_p and
393         builtin_expect specially.
394         * params.def (PARAM_MAX_INLINE_INSNS_AUTO): Set to 100.
395         (PARAM_LARGE_FUNCTION_INSNS): Set to 3000.
396         * invoke.texi (max-inline-insns-single): Set to 100.
397         (large-function-insns): Set to 3000.
399 2004-01-16  Eric Christopher  <echristo@redhat.com>
400             Chandrakala Chavva <cchavva@redhat.com>
402         * cppcharset.c (one_iso88591_to_utf8): New function.
403         (convert_iso88591_utf8): Ditto. Use.
404         (conversion_tab): Use.
405         (_cpp_input_to_utf8): New function.
406         (_cpp_init_iconv_buffer): Ditto.
407         (_cpp_close_iconv_buffer): Ditto.
408         * cpphash.h: Prototype new functions.
409         (cpp_buffer): Add input_cset_desc.
410         * cppinit.c: Add input_charset default.
411         * cpplib.c (cpp_push_buffer): Support init and
412         close of iconv.
413         * cpplib.h (cpp_options): Add input_charset.
415 2004-01-16  Kazu Hirata  <kazu@cs.umass.edu>
417         * system.h (ASM_OUTPUT_SECTION_NAME): Poison.
418         * config/alpha/unicosmk.h: Remove a commented-out definition
419         of ASM_OUTPUT_SECTION_NAME.
420         * config/stormy16/stormy16.h: Likewise.
422 2004-01-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
424         * fixinc/inclhack.def (alpha___extern_prefix): Renamed to ...
425         (alpha___extern_prefix_sys_stat): ... this.
426         Apply to <sys/mount.h>, too.
427         Tweak to match more variations.
428         * fixinc/tests/base/sys/stat.h: Adapt for new hackname.
430         * fixinc/inclhack.def (alpha___extern_prefix,
431         alpha___extern_prefix_standards): New hacks to obey
432         __PRAGMA_EXTERN_PREFIX.
433         * fixinc/tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: New
434         test.
435         * fixinc/tests/base/standards.h: Likewise.
437         * fixincl/inclhack.def (alpha_pthread): Tweak to match more
438         variations.
439         New testcase.
440         * fixinc/tests/base/pthread.h: Handle it.
442         * fixincl/inclhack.def (bad_lval): Sort file list.
443         Add many missing files up to Tru64 UNIX V5.1B.
444         * gcc/fixinc/tests/base/libgen.h: Renamed to ...
445         * gcc/fixinc/tests/base/dirent.h: ... this to match new file list
446         order.
448         * fixinc/fixincl.x: Regenerate.
450 2004-01-16  Mark Mitchell  <mark@codesourcery.com>
452         * version.c (version_string): Change to 3.5.0.
453         * doc/include/gcc-common.texi (version-GCC): Likewise.
455 2004-01-16  Jan Hubicka  <jh@suse.cz>
457         * i386.md (load_tp_di): Fix pasto.
459         PR opt/13608
460         * i386.c (ix86_compute_frame_layout): Fix for alloca on leaf function.
462         * c-pretty-print.c (pp_c_type_cast, pp_c_abstract_declarator,
463         pp_c_character_constant, pp_c_floating_constant,
464         pp_c_additive_expression, pp_c_shift_expression,
465         pp_c_equality_expression, pp_c_and_expression,
466         pp_c_exclusive_or_expression, pp_c_inclusive_or_expression,
467         pp_c_logical_and_expression): Remove inline modifier.
468         * dwarf2out.c (get_AT): Likewise.
469         * et-forest.c (et_splay): Likewise.
470         * ra.h (ra_alloc, ra_calloc): Likewise
472 2004-01-16  Kazu Hirata  <kazu@cs.umass.edu>
474         * config/frv/frv-protos.h: Fix comment formatting.
475         * config/frv/frv.c: Likewise.
476         * config/frv/frv.h: Likewise.
477         * config/frv/frv.md: Likewise.
478         * config/frv/frvbegin.c: Likewise.
479         * config/frv/frvend.c: Likewise.
481 2004-01-16  Kazu Hirata  <kazu@cs.umass.edu>
483         * system.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Poison.
484         * doc/tm.texi (PREFERRED_DEBUGGING_TYPE): Don't mention
485         LINKER_DOES_NOT_WORK_WITH_DWARF2.
486         (LINKER_DOES_NOT_WORK_WITH_DWARF2): Remove.
488 2004-01-16  J"orn Rennecke <joern.rennecke@superh.com>
490         PR 11864
491         * postreload.c (reload_cse_simplify_operands): Don't remove
492         implicit extension from LOAD_EXTEND_OP.
494 2004-01-16  Jan Hubicka  <jh@suse.cz>
496         PR opt/11350
497         * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal
498         after reload.
499         * cfgrtl.c (rtl_can_merge_blocks, cfglayout_can_merge_blocks,
500         rtl_try_redirect_by_replacing_branch): Likewise.
502 2004-01-15  Geoffrey Keating  <geoffk@apple.com>
504         PR pch/13689
505         * alias.c (struct alias_set_entry): Mark for GC.
506         (alias_sets): Make static, mark for GC.
507         (record_alias_subset): Use GC to allocate alias structures.
508         * varray.c (element): Make generic varrays GCed.
510         PR pch/13361
511         * c-typeck.c (constructor_asmspec): Delete.
512         (struct initializer_stack): Delete field 'asmspec'.
513         (start_init): Delete saving of asmspec.
514         (finish_init): Don't update constructor_asmspec.
515         * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
516         * stmt.c (expand_asm): Duplicate strings from tree.
517         (expand_asm_operands): Likewise.
518         * tree.c (tree_size): Update computation of size of STRING_CST.
519         (make_node): Don't make STRING_CST nodes.
520         (build_string): Allocate string with tree node.
521         * tree.def (STRING_CST): Update comment.
522         * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
523         (tree_string): Place contents of string in tree node.
524         * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
525         from tree.
527         * config/rs6000/rs6000.c (rs6000_va_arg): No need to special-case
528         altivec operands.
530 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
532         * c-common.h: Fix comment formatting.
533         * c-cppbuiltin.c: Likewise.
534         * c-pragma.c: Likewise.
535         * calls.c: Likewise.
536         * collect2.c: Likewise.
537         * cppcharset.c: Likewise.
538         * cpptrad.c: Likewise.
539         * dbxout.c: Likewise.
540         * defaults.h: Likewise.
541         * dwarf2out.c: Likewise.
542         * fold-const.c: Likewise.
543         * genautomata.c: Likewise.
544         * genconditions.c: Likewise.
545         * genflags.c: Likewise.
546         * gengtype.c: Likewise.
547         * integrate.c: Likewise.
548         * loop.c: Likewise.
549         * predict.c: Likewise.
550         * sdbout.c: Likewise.
552 2004-01-15  Zack Weinberg  <zack@codesourcery.com>
554         * config/ia64/ia64.md (*movti_internal): C output template
555         extracted to ia64.c.
556         (*movti_internal_reg): Delete.
557         (reload_inti, reload_outti): Use the correct mode on operand 2
558         in the first place, don't fix it up in the output template.
559         (movtf, reload_ointf, reload_outtf): New expanders.
560         (*movtf_internal): New define_insn_and_split.
561         * config/ia64/ia64.c (ia64_split_timode): Rename to ia64_split_tmode;
562         make static; do not hand TFmode CONST_DOUBLEs to split_double.
563         (ia64_split_tmode_move): New function, body mostly pulled
564         from ia64.md:*movti_internal.
565         (ia64_function_arg_words): New function, extracted common
566         logic from ia64_function_arg et seq.
567         (ia64_function_arg_offset): Likewise.  Handle correctly the
568         case of a scalar quantity 16 bytes wide with only 8-byte alignment.
569         (ia64_function_arg, ia64_function_arg_partial_nregs)
570         (ia64_function_arg_advance): Use ia64_function_arg_words and
571         ia64_function_arg_offset.
572         (ia64_function_value): TCmode does not go in float regs.
573         (ia64_secondary_reload_class): Also handle TFmode.
574         * config/ia64/ia64-protos.h: Remove prototype for
575         ia64_split_timode; add prototype for ia64_split_tmode_move.
577 2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>
579         * Makefile.in (MAINT): Make it an immediate assignment.
581 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
583         * config/m32r/m32r.md: Remove useless calls to gen_lowpart.
585 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
587         * config/h8300/coff.h: Replace Hitachi with Renesas.
588         * config/h8300/elf.h: Likewise.
589         * config/h8300/h8300-protos.h: Likewise.
590         * config/h8300/h8300.c: Likewise.
591         * config/h8300/h8300.h: Likewise.
592         * config/h8300/h8300.md: Likewise.
593         * config/h8300/lib1funcs.asm: Likewise.
595 2004-01-15  Andrew Pinski  <apinski@apple.com>
597         * config/rs6000/rs6000.c (uses_TOC): Wrap #if TARGET_ELF
598         around it.
600 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
602         * config/h8300/h8300.c (h8300_return_in_memory): New.
603         (TARGET_STRUCT_VALUE_RTX): Likewise.
604         (TARGET_RETURN_IN_MEMORY): Likewise.
605         * config/h8300/h8300.h (STRUCT_VALUE): Remove.
606         (RETURN_IN_MEMORY): Likewise.
608 2004-01-15  Richard Earnshaw  <rearnsha@arm.com>
610         PR optimization/13375
611         * gcse.c (handle_avail_expr): Just return if the source is not a
612         single set.
614 2004-01-15  Richard Earnshaw  <rearnsha@arm.com>
615             Daniel Jacobowitz  <drow@mvista.com>
617         * arm/lib1funcs.asm (ARM_FUNC_START): Correct interworking case.
618         (EQUIV): Define.
619         (ARM_FUNC_ALIAS): New macro.
620         * arm/ieee754-df.S (gedf2, ledf2, nedf2, eqdf2): Use it.
621         * arm/ieee754-sf.S (gesf2, lesf2, nesf2, eqsf2): Use it.
623 2004-01-15  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
625         PR optimization/12372
626         * calls.c (expand_call): Add call_fusage data for stack arguments in
627         constant calls.
629 2004-01-15  Alan Modra  <amodra@bigpond.net.au>
631         * config/rs6000/rs6000.c (uses_TOC): Correct comment.  Make static.
632         (rs6000_elf_declare_function_name): Formatting.
633         * config/rs6000/rs6000-protos.h (uses_TOC): Remove declaration.
635 2004-01-15  Jan Hubicka  <jh@suse.cz>
637         PR bootstrap/13692
638         * sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in
639         previous patch.
641 2004-01-15  Richard Henderson  <rth@redhat.com>
643         * config/alpha/alpha.h (REG_ALLOC_ORDER): Reorder fp regs after
644         integer regs of the same call-savedness.
646 2004-01-15  Andreas Schwab  <schwab@suse.de>
648         PR bootstrap/13562
649         * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
650         status for NOTB/NOTW/NEGW methods.
652 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
654         * doc/invoke.texi: Update dump file names.  Fix a typo.
656 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
658         * builtins.c (expand_builtin_va_end): Don't use
659         EXPAND_BUILTIN_VA_END.
660         * system.h (EXPAND_BUILTIN_VA_END): Poison.
661         * config/d30v/d30v.h: Remove a commented-out definition of
662         EXPAND_BUILTIN_VA_END.
663         * config/stormy16/stormy16.h: Likewise.
665 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
667         * system.h (STRUCT_VALUE_INCOMING_REGNUM): Poison.
668         * targhooks.c (default_struct_value_rtx): Don't use
669         STRUCT_VALUE_INCOMING_REGNUM.
671 2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>
673         PR bootstrap/12744
674         * configure.in: Revamp enable-generated-files-in-srcdir rule to define
675         GENINSRC and not parsedir.  Define srcextra as a langhook.
676         * configure: Regenerate.
677         * Makefile.in: Suppress default .l.c rule.  Don't substitute
678         parsedir and delete all references throughout.  Conditionally define
679         rule for srcextra dependent on GENINSRC.
680         (stmp-docobjdir): Delete.
681         (c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule.
682         (srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c,
683         and gengtype-yacc.h back to source directory.
684         (maintainer-clean): Delete all parse files in source directory.
685         (distclean): Delete generated files.
687         * objc/Make-lang.in (objc-parse.o): Use implicit build rule.
688         (objc-parse.c, objc-parse.y): Don't use parsedir.
689         (objc.srcextra): Copy objc-parse.y and objc-parse.c back to source
690         directory if requested.
691         (po-generated): Don't use parsedir.
692         (objc.maintainer-clean): Delete above files from source directory.
694 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
696         * doc/tm.texi (FUNCTION_VALUE): Fix a typo.
698 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
700         * doc/tm.texi: Replace RETURN_IN_MEMORY with
701         TARGET_RETURN_IN_MEMORY.
703 2004-01-15  Jan Hubicka  <jh@suse.cz>
705         * builtins.c (std_expand_builtin_va_arg): Align operand when needed.
706         * i386.c (init_cumulative_args): Set warn_sse; fix handling of variadic
707         functions accepting SSE arguments
708         (function_arg): Warn only when asked to warn.
709         * i386.h (ix86_args): Add warn_sse/warn_mmx fiels.
711 2004-01-14  Joseph S. Myers  <jsm@polyomino.org.uk>
713         * c-parse.in (stmts_and_decls): Make label at end of compound
714         statement a hard error.
716 2004-01-14  Jan Hubicka  <jh@suse.cz>
718         * cgraph.c (create_edge): Use local.redefined_extern_inline.
719         * cgraph.h (cgraph_local_info): Sort fields by size; add
720         redefined_extern_inline
721         (cgraph_global_info): Sort fields by size.
722         (cgraph_node): Likewise.
723         * cgraphunit.c (cgraph_finalize_function): Se
724         local.redefined_extern_inline on redefinition.
725         (cgraph_analyze_function): Use it; fix formating.
727 2004-01-14  Jan Hubicka  <jh@suse.cz>
729         PR c++/10776
730         * sched-deps.c (trye_dependency_cache, anti_dependency_cache,
731         outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of
732         bitmaps
733         (cache_size): New variable
734         (add_dependence): Update use; canonize early memory locations
735         (sched_analyze_1): Likewise.
736         (sched_analyze_2): Likewise.
737         (init_dependency_caches): Initialize bitmaps.
738         (free_dependency_caches): Free bitmaps
740 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
742         * calls.c: Replace STRICT_ARGUMENT_NAMING in comments with
743         targetm.calls.strict_argument_naming().
744         * target.h: Likewise.
746 2004-01-14  Richard Henderson  <rth@redhat.com>
748         PR debug/13231
749         * dwarf2out.c (dwarf2out_stack_adjust): Skip prologue and epilogue
750         instructions.
752 2004-01-14  Richard Henderson  <rth@redhat.com>
754         PR c++/12491
755         * except.c (struct eh_region): Add u.fixup.resolved.
756         (resolve_one_fixup_region): Split out from ...
757         (resolve_fixup_regions): ... here.
759 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
761         * config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0.
763 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
765         * config/alpha/alpha.h (STRUCT_VALUE): Remove.
766         * config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef.
767         (STRUCT_VALUE): Remove.
769 2003-01-14  Steven Bosscher  <stevenb@suse.de>
771         * system.h: Poison PROMOTED_MODE
772         * integrate.c (expand_inline_function): Don't mention the
773         PROMOTED_MODE.
774         * loop.c (update_giv_derive): Same.
775         * tree.h (DECL_RTL): Same.
777 2004-01-14  J"orn Rennecke <joern.rennecke@superh.com>
779         PR target/9365
780         * sh.c (gen_block_redirect): Add special handling of RETURN.
781         (gen_far_branch) Don't call gen_stuff_delay_slot if there is no
782         far branch target (i.e. it's a return).
784 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
786         * regrename.c (find_oldest_value_reg): Fix a warning.
788 2004-01-14  Richard Earnshaw  <rearnsha@arm.com>
790         PR bootstrap/12527
791         * config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file.
792         Move linux-gas.h and linux-elf.h before aout.h.
793         * arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already.
794         * arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define.
796 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
798         * config/m32r/m32r.md: Use GEN_INT instead of gen_rtx
799         (CONST_INT, VOIDmode, ...).
801 2004-01-14  Richard Earnshaw  <rearnsha@arm.com>
803         * regrename.c (find_oldest_value_reg): If the replacement uses
804         multiple hard registers, check that all of them are in CLASS.
806 2004-01-14  Jan Hubicka  <jh@suse.cz>
808         * alias.c (get_alias_set):  Initialize alias set to 0 when subset is
809         impossible.
811 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
813         * Makefile.in: Define MAINT from --enable-maintainer-mode.
815 2004-01-14  Hartmut Penner  <hpenner@de.ibm.com>
817         * gcc/config/rs6000/rs6000.c (rs6000_stack_info)
818         Calculate always vrsave_mask if TARGET_ALTIVEC.
819         (rs6000_emit_prologue): Emit code for vrsave
820         only if TARGET_ALTIVEC_VRSAVE.
821         (rs6000_emit_epilogue): Likewise.
823 2004-01-14  Eric Botcazou  <ebotcazou@libertysurf.fr>
825         * config/sparc/sparc.md (tie_add32): Fix pasto.
826         (tie_add64): Likewise.
828 2004-01-14  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
830         * config/i386/i386.md (*addqi_1_slp): Do not access operands[2].
832 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
834         * config/iq2000/iq2000-protos.h: Fix comment formatting.
835         * config/iq2000/iq2000.c: Likewise.
836         * config/iq2000/iq2000.md: Likewise.
838 2004-01-14  J. Brobecker  <brobecker@gnat.com>
840         * dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
841         (subrange_type_die): Add handle for nameless subrange types.
843 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
845         * config/h8300/h8300-protos.h: Replace do_movsi with
846         h8300_expand_movsi.
847         * config/h8300/h8300.c (do_movsi): Change to
848         h8300_expand_movsi.
849         * config/h8300/h8300.md (movsi): Replace do_movsi with
850         h8300_expand_movsi.
851         (movsf): Likewise.
853 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
855         * config/h8300/h8300.c (dosize): Change to
856         h8300_emit_stack_adjustment.  Update callers.
858 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
860         * config/h8300/h8300.md (movstrictqi): Add an alternative with
861         the source being post_inc.  Tighten the predicate for the
862         destination to register_operand.
863         (movstricthi): Likewise.
865 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
867         * system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
868         * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP.
869         * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove.
871 2004-01-14  Jan Hubicka  <jh@suse.cz>
873         Partial fix PR c++/12850
874         * cgraphunit.c (cgraph_finalize_function): Always ggc_collect when
875         at zero nest level.
877 2004-01-13  Bernardo Innocenti  <bernie@develer.com>
879         * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
880         pseudo-register.
882 2004-01-13  Devang Patel <dpatel@apple.com
884         PR debug/7078
885         * dbxout.c (dbxout_symbol_name): Emit mangled names for
886         NAMESPACE_DECL memebers.
888 2004-01-13  Andrew Pinski  <pinskia@physics.uc.edu>
890         PR c++/12709
891         * c-common.c (finish_fname_decls): Use the chain only if the
892         tree is an expr_stmt.
894 2004-01-13  Vladimir Makarov  <vmakarov@redhat.com>
896         * rtl.def: Add comment about new option in automata_option.
898         * genautomata.c (PROGRESS_OPTION): New macro.
899         (progress_flag): New global variable.
900         (gen_automata_option): Process `progress'.
901         (transform_insn_regexps, check_unit_distributions_to_automata,
902         make_automaton, NDFA_to_DFA, build_automaton, create_automata,
903         expand_automata, write_automata): Print about the progress only if
904         progress_flag.  Remove fflush.
905         (initiate_automaton_gen): Process command line flag `-progress'.
907         * doc/md.texi: Describe the new option.
909 2004-01-13  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
911         * cfg.c (dump_bb): Dump entry edges.
913 2004-01-13  Richard Earnshaw  <rearnsha@arm.com>
915         * arm.c (thumb_legitimate_address_p): Only allow constant pool
916         references from SImode.
917         * arm.md (thumb_movhi_insn): Don't allow minipool references.
919 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
921         * system.h (TEXT_SECTION): Poison.
922         * varasm.c (text_section): Don't use TEXT_SECTION.
923         * config/sh/sh.c (sh_file_start): Fix a comment typo.
924         * doc/tm.texi (TEXT_SECTION): Remove.
926 2004-01-13  Ben Elliston  <bje@wasabisystems.com>
928         * doc/rtl.texi (Vector Operations): Remove defunct vec_const item.
930 2004-01-12  James E Wilson  <wilson@specifixinc.com>
932         * unwind-libunwind.c: Delete.
934 2004-01-12  Zack Weinberg  <zack@codesourcery.com>
936         PR 13656
937         * c-decl.c (diagnose_mismatched_decls): Whenever newtype or
938         oldtype is set, set *newtypep or *oldtypep too.  Do not set
939         them at the very end.
940         (validate_proto_after_old_defn): Restructure for comprehensibility;
941         make error messages clearer.
943 2004-01-12  Zack Weinberg  <zack@codesourcery.com>
945         * varray.h (VARRAY_POP): Add checking variant, aborts on underflow.
946         (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked.
947         * varray.c: No need to prototype error.
948         (varray_check_failed): Wrap long string onto two lines.
949         (varray_underflow): New function.
951 2004-01-13  Steven Bosscher  <stevenb@suse.de>
953         PR c++/13376
954         * function.h (struct function): Kill `name' field.
955         (current_function_name): Make it an extern function.
956         * function.c (current_function_name): New function.
957         * graph.c: Update all uses of current_function_name.
958         * gcse.c: Likewise.
959         * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
960         config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
961         * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
962         instead of a strcmp with "main".
964 2004-01-13  Jan Hubicka  <jh@suse.cz>
966         * c-decl.c (diagnose_mismatched_decls):  Fix warning calls.
968         * cgraphunit.c (cgraph_optimize_function):  Always do
969         optimize_inline_calls when there is always_inline callee.
970         (cgraph_decide_inlining): Fix formating.
971         * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
972         functions.
973         (expand_call_inline): Likewise.
974         * toplev.h (sorry): Fix prototype.
976 2004-01-12  Roger Sayle  <roger@eyesopen.com>
978         * builtins.c (expand_builtin_expect_jump): Simplify logic. Handle
979         conditional jumps that drop through to unconditional jumps or the
980         end of the sequence.
982 2004-01-13  Jan Hubicka  <jh@suse.cz>
984         * alias.c (new_alias_set): Construct the alias_set varray.
985         (init_alias_once): Don't do it here.
987 2004-01-12  Marc Espie <espie@openbsd.org>
989         * system.h: handle YYBYACC like YYBISON.
991 2004-01-12  Jonathan Merriman <jonm@dualitymedia.com>
993         PR target/10847
994         * config.gcc: No longer includes conflicting header sparc/sol2.h when
995         building on sparc64-*-openbsd*.
997 2004-01-12  Andrew Pinski  <pinskia@physics.uc.edu>
999         PR debug/13539
1000         * dbxout.c (dbxout_type): Protected inheritance is not
1001         private but protected.
1003 2004-01-12  Richard Sandiford  <rsandifo@redhat.com>
1005         * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.
1007 2004-01-12  Kazu Hirata  <kazu@cs.umass.edu>
1009         PR optimization/12508.
1010         * combine.c (try_combine): Remove a dead set in a parallel
1011         even if its destination is a subreg.
1013         Revert:
1014         2003-06-03  Kazu Hirata  <kazu@cs.umass.edu>
1015         * combine.c (simplify_set): Don't move a subreg in SET_SRC to
1016         SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
1018 2004-01-12  Geoffrey Keating  <geoffk@apple.com>
1020         * real.c: Update copyright date.
1021         * emit-rtl.c: Likewise.
1022         * rtl.h: Likewise.
1023         * dwarf2out.c: Likewise.
1024         * config/rs6000/darwin-ldouble.c: Likewise.
1025         * config/rs6000/rs6000.md: Likewise.
1027 2004-01-12  David Edelsohn  <edelsohn@gnu.org>
1029         * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
1030         TFmode to SImode libfuncs.
1032 2004-01-12  Roger Sayle  <roger@eyesopen.com>
1034         PR middle-end/11397
1035         * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
1037 2004-01-12  Jan Hubicka  <jh@suse.cz>
1039         PR opt/12826
1040         * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
1041         stored.
1043         PR opt/12863
1044         * cfgcleanup.c (label_is_jump_target_p): Move to...
1045         * rtlanal.c (label_is_jump_target_p): ... here.
1046         * cfgrtl.c (cfg_layout_redirect_edge_and_branch):  Fix redirecting of fallthru
1047         edges unified with branch edges.
1049 2004-01-12  Richard Earnshaw  <rearnsha@arm.com>
1051         * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
1052         high word of an integral CONST_DOUBLE.
1054 2004-01-12  Paul Brook  <paul@codesourcery.com>
1056         * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
1058 2004-01-12  J"orn Rennecke <joern.rennecke@superh.com>
1060         PR target/13585
1061         * sh-protos.h (check_use_sfunc_addr): Declare.
1062         * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
1063         * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
1065 2004-01-12  Jan Hubicka  <jh@suse.cz>
1067         * alias.c:  Invlude varray.h
1068         (alias_sets): Turn into varray.
1069         (get_alias_set_entry): Use VARRAY; mark inline.
1070         (mems_in_disjoint_alias_sets_p): Mark inline.
1071         (record_alias_subset): Use varray.
1072         (init_alias_once): Initialize varray.
1073         (new_alias_set): Grow array.
1074         * varray.c: Make VARRAY_GENERIC_PTR non GTYized.
1076 2004-01-12  Jan Hubicka  <jh@suse.cz>
1078         Partial fix for PR opt/10776 II
1079         * cselib.c: Include params.h
1080         (cselib_invalidate_mem):  Limit amount of nonconflicting memory
1081         locations.
1082         * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
1083         * Makefile.in (cselib.o): Depend on params.h
1085 2004-01-12  Richard Sandiford  <rsandifo@redhat.com>
1087         * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
1088         simplify_unary_operation if the operand has a known mode.
1090 2004-01-12  Hartmut Penner  <hpenner@de.ibm.com>
1092         PR target/13534
1093         * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
1094         predicate to handle 'ld' conform addresses.
1095         * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
1096         contraint.
1097         (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
1098         are memory contraints.
1099         * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
1100         New prototype.
1101         * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
1102         Change 'o' to 'Y' constraint.
1103         (*movdf_softfloat64): Ditto.
1105 2004-01-12  Bernardo Innocenti  <bernie@develer.com>
1107         * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
1108         brace-enclosed syntax in all C output statements.
1110 2004-01-12  David Edelsohn  <edelsohn@gnu.org>
1112         PR target/13401
1113         * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
1114         Objective-C language type value is 14.
1116 2004-01-12  Markus F.X.J. Oberhumer  <markus@oberhumer.com>
1118         PR c/12148
1119         * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
1120         `int' in a number of places to make sure we always have a SImode
1121         and not a HImode.  Add a 'L' suffix to a number of constants.
1123 2004-01-11  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1125         * pa.c: Don't include obstack.h.
1127         * pa.md: Correct constraint in pattern for loading PIC label address.
1129 2004-01-11  Kaz Kojima  <kkojima@gcc.gnu.org>
1131         * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
1132          before defining.
1134 2004-01-11  Steven Bosscher  <stevenb@suse.de>
1136         PR fortran/9972
1137         * toplev.c (rest_of_handle_inline): Also consider functions
1138         for deferral if the language is GNU F77.
1140 2004-01-11  Zack Weinberg  <zack@codesourcery.com>
1142         * c-decl.c (diagnose_arglist_conflict): Add missing space to
1143         diagnostic messages.
1145 2004-01-11  Jakub Jelinek  <jakub@redhat.com>
1147         PR middle-end/13392
1148         * builtins.c (expand_builtin_expect_jump): Handle conditional jumps
1149         to drop through label.  Don't fall back to SCC even when conditional
1150         jump has not been found.
1152 2004-01-11  Jan Hubicka  <jh@suse.cz>
1154         * invoke.texi: Fix syntax error in previous patch.
1156         Partial fix for PR opt/10776
1157         * Makefile.in (reload.o): Include param.h
1158         * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter.
1159         * reload.c: Include params.h.
1160         (find_equiv_reg): Work limiting check.
1161         * invoke.texi: Document.
1163 2004-01-11  Richard Sandiford  <rsandifo@redhat.com>
1165         * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
1166         out-of-bounds accesses to string constants.  Simplify mips16
1167         case accordingly.
1169 2004-01-11  Richard Sandiford  <rsandifo@redhat.com>
1171         PR optimization/13469
1172         * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
1173         reload_cse_regs (-fnon-call-exceptions only).
1175 2004-01-11  Kazu Hirata  <kazu@cs.umass.edu>
1177         * config/mcore/lib1.asm: Fix comment formatting.
1178         * config/mcore/mcore-elf.h: Likewise.
1179         * config/mcore/mcore.c: Likewise.
1180         * config/mcore/mcore.h: Likewise.
1181         * config/mcore/mcore.md: Likewise.
1183 2004-01-10  Zack Weinberg  <zack@codesourcery.com>
1185         * c-decl.c (duplicate_decls): Break apart into...
1186         (diagnose_arglist_conflict, validate_proto_after_old_defn)
1187         (locate_old_defn, diagnose_mismatched_decls, merge_decls):
1188         ... these new functions.  Restructure for comprehensibility.
1189         Remove various archaic special cases.  Always report the
1190         location of the previous declaration when a diagnostic is issued.
1191         (redeclaration_error_message): Fold into diagnose_mismatched_decls.
1192         (match_builtin_function_types): Delete unnecessary forward declaration.
1194 2004-01-10  Zack Weinberg  <zack@codesourcery.com>
1196         * genautomata.c (make_automaton, NDFA_to_DFA):
1197         Print progress bars with '.' characters instead of '*'.
1198         (build_automaton): Change notes to match.
1200 2004-01-10  Kazu Hirata  <kazu@cs.umass.edu>
1202         * config/m32r/m32r.md: Use define_constants for unspec and
1203         unspec_volatile.
1205 2004-01-10  Jan Hubicka  <jh@suse.cz>
1207         PR opt/11635
1208         * expr.c (expand_expr_real):  More curefully expand union casts.
1210 2004-01-10  Kazu Hirata  <kazu@cs.umass.edu>
1212         * config/m32r/m32r.md (flush_icache): Use 1 for
1213         unspec_volatile.
1215 2004-01-10  David Edelsohn  <edelsohn@gnu.org>
1216             James E Wilson  <wilson@specifixinc.com>
1218         PR debug/12860
1219         * dbxout.c (dbxout_symbol): Remove initialization of
1220         current_sym_code, current_sym_value, and current_sym_addr.
1221         (dbxout_symbol_location): Same.
1222         (dbxout_prepare_symbol): Zero current_sym_code,
1223         current_sym_value, and current_sym_addr.
1225 2004-01-10  Richard Sandiford  <rsandifo@redhat.com>
1227         * tree.c (get_unwidened): Reorder conditions so that the null pointer
1228         check is done first.
1230 2004-01-09  Eric Christopher  <echristo@redhat.com>
1232         * toplev.c (rest_of_handle_cfg): Add reg_scan pass
1233         if we're running mark_constant_function.
1235 2004-01-09  Jeff Bailey  <jbailey@nisa.net>
1237         PR target/12561
1238         * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
1240 2004-01-09  Andrew Pinski <pinskia@physics.uc.edu>
1242         PR debug/11231
1243         * dbxout.c (dbxout_type_fields): Return if any item is
1244         error_mark_node or the type is error_mark_node.
1246 2004-01-09  Geoffrey Keating  <geoffk@apple.com>
1248         * config/rs6000/darwin-ldouble.c: Add big comment explaining
1249         exactly what is expected as a 'long double'.
1250         (_xlqadd): When a value to be returned is representable as a
1251         'double', just return it directly, do not construct it using a union.
1252         Also, correct final fixup.
1253         (_xlqmul): Likewise.
1254         (_xlqdiv): Likewise.
1255         * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.
1257         * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
1259 2004-01-09  Richard Henderson  <rth@redhat.com>
1261         * recog.c (constrain_operands): Validate mem operands.
1263 2004-01-09   James E Wilson  <wilson@specifixinc.com>
1265         * gcc.c (init_spec): Remove -lunwind from shared case.
1266         * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
1268 2004-01-09  Steve Ellcey  <sje@cup.hp.com>
1270         * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
1271         * configure: Regenerate
1273 2004-01-09  Joseph S. Myers  <jsm@polyomino.org.uk>
1275         PR c/11234
1276         * c-typeck.c (build_c_cast): If pedantic, warn for conversions
1277         between function and object pointers.
1278         (digest_init): When comparing a pointer to function type to the
1279         target type, only apply TREE_TYPE once to the pointer to function
1280         type.
1281         * except.c (for_each_eh_label_1): Treat data as a pointer to a
1282         function pointer rather than casting it to a function pointer.
1283         (for_each_eh_label): Update caller.
1284         * recog.h (struct insn_data): Use a struct or union for output.
1285         * genoutput.c (output_insn_data): Update.
1286         * final.c (get_insn_template): Update.
1288 2004-01-09  Mark Mitchell  <mark@codesourcery.com>
1290         * expr.h (expand_expr): Make it a macro, not a function.
1291         (expand_expr_real): New function.
1292         * expr.c (store_expr): Adjust logic for deciding whether or not to
1293         copy the value returned by expand_expr.
1294         (expand_expr): Rename to ...
1295         (expand_expr_real): ... this.  Add alt_rtl parameter.  Adjust
1296         calls to language hooks.
1297         * c-common.h (c_expand_expr): Adjust prototype.
1298         * c-common.c (c_expand_expr): Add alt_rtl parameter.
1299         * langhooks-def.h (lhd_expand_expr): Change prototype.
1300         * langhooks.c (lhd_expand_expr): Add all_rtl parameter.
1301         * langhooks.h (lang_hooks): Change type of expand_expr.
1302         * stmt.c (stmt_status): Add x_last_expr_alt_rtl.
1303         (last_expr_alt_rtl): Likewise.
1304         (expand_expr_stmt_value): Set last_expr_alt_rtl.
1305         (clear_last_expr): Clear it.
1306         (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
1307         (expand_end_bindings): Save and restor last_expr_alt_rtl.
1308         * tree.def (RTL_EXPR): Give it an additional operand.
1309         * tree.h (RTL_EXPR_ALT_RTL): New macro.
1311 2004-01-09  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
1313         * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
1314         * config/m32r/m32r.c (call26_operand): Allow in PIC mode.
1316 2004-01-09  Kazu Hirata  <kazu@cs.umass.edu>
1318         PR target/13380.
1319         * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
1320         or (ne:SI (reg:CC 17) (const_int 0)).
1321         Be specific about modes wherever possible.
1323 2004-01-09  Kazu Hirata  <kazu@cs.umass.edu>
1325         * config/m32r/m32r.c (m32r_expand_block_move): Call
1326         gen_movestrsi_internal with two more arguments.
1327         (m32r_output_block_move): Adjust operand numbers.
1328         Properly update the source and destination pointers.
1329         * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
1330         'r+'.  Change the set detinations to match_operand.
1332 2004-01-09  Kazu Hirata  <kazu@cs.umass.edu>
1334         * final.c (FIRST_INSN_ADDRESS): Remove.
1335         (shorten_branches): Don't use FIRST_INSN_ADDRESS.
1336         * system.h (FIRST_INSN_ADDRESS): Poison.
1337         * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
1338         * config/m32r/m32r-protos.h: Remove the prototype for
1339         m32r_first_insn_address.
1340         * config/m32r/m32r.c (m32r_first_insn_address): Remove.
1341         * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
1342         * doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
1344 2004-01-09  J. Brobecker  <brobecker@gnat.com>
1346         * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
1347         we just created.
1348         (is_ada_subrange_type): DIEs for enumeration subtypes should be
1349         emitted as subrange types too.
1350         (subrange_type_die): Add handling of enumeration subtypes.
1352 2004-01-08  Richard Henderson  <rth@redhat.com>
1354         PR opt/12441
1355         Revert: Sat Mar 30 14:08:55 CET 2002  Jan Hubicka  <jh@suse.cz>
1356         * i386.c (aligned_operand): Be prepared for SUBREGed registers.
1357         (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
1358         (ix86_address_cost): Be prepared for SUBREGed registers.
1359         (legitimate_address_p): Accept SUBREGed registers.
1361 2004-01-08  Kelley Cook  <kcook@gcc.gnu.org>
1363         * Makefile.in: Rename configure.in to configure.ac
1364         * doc/sourcebuild.texi: Likewise.
1365         * configure: Regenerate.
1366         * config.in: Regenerate.
1368 2004-01-08  Stuart Hastings  <stuart@apple.com>
1370         * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
1372 2004-01-08  Jan Hubicka  <jh@suse.cz>
1374         * cgraphunit.c (cgraph_decide_inlining):  Fix typo.
1376 2004-01-08  Geoffrey Keating  <geoffk@apple.com>
1378         * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
1379         (UNSPEC_FIX_TRUNC_TF): New constant.
1380         (movtf_internal): Make splitter active only when insn is active.
1381         (extenddftf2): Rewrite to properly load zero into low part.
1382         (extenddftf2_internal): New.
1383         (extendsftf2): Rewrite.
1384         (truncdftf2): Correct length.
1385         (floatditf2): Delete.
1386         (fix_trunc_helper): New.
1387         (fix_trunctfdi2): Use fix_trunc_helper.
1388         (fix_trunctfsi2): Likewise.fix_trunc
1389         (fix_trunctfsi2_internal): New.
1391         * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
1392         addresses are legitimate on Darwin even when flag_pic.
1393         (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
1394         non-offsettable addresses for loads of TFmode constants.
1396 2004-01-08  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
1398         * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
1399         variables in the appropriate bss section.
1401 2004-01-09  Alan Modra  <amodra@bigpond.net.au>
1403         * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
1404         target_flags has MASK_POWERPC64 when -m64.
1405         * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
1406         to 620, 630, power3, power4 and rs64a entries.
1407         * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
1409 2004-01-08  Richard Sandiford  <rsandifo@redhat.com>
1411         * simplify-rtx.c (simplify_immed_subreg): Fix construction of
1412         floating-point constants.
1414 2004-01-08  J. Brobecker  <brobecker@gnat.com>
1416         * dwarf2out.c (subrange_type_die): Add context_die parameter.
1417         Create the subrange_type DIE using the given context DIE.
1418         (modified_type_die): Update call to subrange_type_die.
1420 2004-01-08  Zack Weinberg  <zack@codesourcery.com>
1422         * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
1423         Add multiple-include guard.
1425 2004-01-08  Hartmut Penner  <hpenner@de.ibm.com>
1427         * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
1428         all vector constant loadable by vsplt*.
1429         (output_vec_const_move): Likewise.
1431 2004-01-07  Joseph S. Myers  <jsm@polyomino.org.uk>
1433         PR c/6024
1434         * c-typeck.c (comptypes): Only treat enumerated types in the same
1435         translation unit as compatible with each other when they are the
1436         same type.
1437         * doc/extend.texi: Update.
1439 2004-01-07  Joseph S. Myers  <jsm@polyomino.org.uk>
1441         PR c/12165
1442         * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
1443         array type from the array element type.
1445 2004-01-07  Alan Modra  <amodra@bigpond.net.au>
1447         * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
1448         * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
1449         * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
1450         (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
1451         * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
1453 2004-01-06  Eric Christopher  <echristo@redhat.com>
1455         * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
1456         (DWARF2_DEBUGGING_INFO): Define.
1457         (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
1458         * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
1459         * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
1460         for irix as.
1461         (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
1462         * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
1463         * config/mips/iris5gas.h: Ditto.
1464         (DBX_DEBUGGING_INFO): Remove.
1465         (DWARF2_DEBUGGING_INFO): Ditto.
1466         (MIPS_DEBUGGING_INFO): Ditto.
1467         (PREFERRED_DEBUGGING_TYPE): Ditto.
1468         * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
1469         (PREFERRED_DEBUGGING_TYPE): Ditto.
1470         (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
1471         * config/mips/elf64.h: Ditto.
1473 2004-01-06  Jan Hubicka  <jh@suse.cz>
1475         * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
1476         (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
1478 2004-01-06  Geoffrey Keating  <geoffk@apple.com>
1480         * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
1481         (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
1482         * config/rs6000/darwin-ldouble.c: New.
1484         * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
1485         for constants.
1486         (constant_subword): Delete.
1487         * rtl.h (constant_subword): Delete prototype.
1488         (immed_double_const): Is not in varasm.c.
1489         * simplify-rtx.c (simplify_immed_subreg): New.
1490         (simplify_subreg): Use simplify_immed_subreg.
1492         * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
1493         than trying to generate RTL directly.
1494         (fix_trunctfsi2): Use expand_fix rather than trying to generate
1495         RTL directly.
1497         * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
1499 2004-01-06  David Edelsohn  <edelsohn@gnu.org>
1501         * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
1502         function into a separate macro.
1503         (read_only_data_section): Add void argument.
1504         (private_data_section): Same.
1505         (read_only_private_data_section): Same.
1506         (toc_section): Same.
1508 2004-01-06  Jan Hubicka  <jh@suse.cz>
1510         * invoke.texi:  Remove typo in last change.
1512         PR target/10301
1513         * config.gcc: Accept opteron and athlon-64 as variants
1514         of k8.
1515         * i386.c (override_options): Likewise.
1516         * invoke.texi (i386 -mtune): Expand documentation.
1518 2004-01-06  Kazu Hirata  <kazu@cs.umass.edu>
1520         * alias.c: Fix comment typos.
1521         * builtins.c: Likewise.
1522         * cfg.c: Likewise.
1523         * df.c: Likewise.
1524         * dominance.c: Likewise.
1525         * dwarf2out.c: Likewise.
1526         * emit-rtl.c: Likewise.
1527         * expr.c: Likewise.
1528         * final.c: Likewise.
1529         * fold-const.c: Likewise.
1530         * gcse.c: Likewise.
1531         * genattrtab.c: Likewise.
1532         * genrecog.c: Likewise.
1533         * gensupport.c: Likewise.
1534         * ggc-zone.c: Likewise.
1535         * integrate.c: Likewise.
1536         * local-alloc.c: Likewise.
1537         * loop.c: Likewise.
1538         * recog.c: Likewise.
1539         * regmove.c: Likewise.
1540         * reg-stack.c: Likewise.
1541         * reorg.c: Likewise.
1542         * rtlanal.c: Likewise.
1543         * rtl.h: Likewise.
1544         * sched-ebb.c: Likewise.
1545         * simplify-rtx.c: Likewise.
1546         * toplev.c: Likewise.
1547         * varasm.c: Likewise.
1549 2004-01-06  Kazu Hirata  <kazu@cs.umass.edu>
1551         * doc/install.texi: Fix typos.
1552         * doc/invoke.texi: Likewise.
1553         * doc/md.texi: Likewise.
1555 2004-01-06  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
1557         * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
1559 2004-01-06  Jan Hubicka  <jh@suse.cz>
1561         * i386.c (init_cumulative_args):  Add handling of MMX_REGPARM.
1562         (function_arg_advance):  Do not pass aggregates in SSE; deal handling
1563         of MMX_REGPARM.
1564         (function_arg): Add new warnings about ABI changes;  fix SSE_REGPARM;
1565         add MMX_REGPARM.
1566         * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
1567         (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
1568         (MMX_REGPARM_MAX): Similarly for -mmmx.
1570 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
1572         * config/sh/linux.h: Fix comment formatting.
1573         * config/sh/netbsd-elf.h: Likewise.
1574         * config/sh/sh.c: Likewise.
1575         * config/sh/sh.h: Likewise.
1576         * config/sh/vxworks.h: Likewise.
1578 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
1580         * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
1581         * toplev.c (output_file_directive): Don't use
1582         ASM_OUTPUT_MAIN_SOURCE_FILENAME.
1584 2004-01-05  Daniel Berlin  <dberlin@dberlin.org>
1586         * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
1587         (USING_MMAP): We don't support non-mmap.
1588         (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
1589         large objects.
1590         (struct page_entry): Remove bytes_free.
1591         (struct page_table_chain): Remove.
1592         (struct globals): Remove page_table member.
1593         (loookup_page_table_entry): Function deleted.
1594         (set_page_table_entry): Ditto.
1595         (ggc_allocated_p): No longer need page table lookups.
1596         (ggc_marked_p): Ditto.
1597         (alloc_small_page): Don't care about bytes_free anymore.
1598         (alloc_large_page): Round up size.
1599         (ggc_alloc_zone_1): Mark large objects as such, and calculate
1600         their size the new way.
1601         Remove page table lookups and setting.
1602         (ggc_get_size): Calculate large object size the new way.
1603         (sweep_pages): Redo to account for fact that we no longer have
1604         bytes_free.
1605         (ggc_collect): No longer need to reincrement bytes_free.
1606         (ggc_pch_alloc_object): Handle new large objects properly.
1607         (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
1609 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
1611         * doc/invoke.texi: Remove a page break.
1613 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
1615         * config/avr/avr.c (avr_output_function_prologue): Remove an
1616         extra pair of curly braces.
1618 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
1620         * config/mn10300/mn10300.c: Fix comment formatting.
1621         * config/mn10300/mn10300.h: Likewise.
1623 2004-01-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1625         * tree.h: Update documentation on nothrow_flag.
1626         * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
1627         types.
1629 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
1631         * doc/invoke.texi: Remove traces of dead ports.
1633 2004-01-05  Richard Sandiford  <rsandifo@redhat.com>
1635         * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
1636         option.
1638 2004-01-05  Richard Sandiford  <rsandifo@redhat.com>
1640         PR target/12945
1641         * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
1642         counter labels.
1643         * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
1644         (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
1645         string constants if TARGET_MIPS16.  Use SYMBOL_REF_DECL to check
1646         the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
1647         (mips_symbol_insns): Don't trust the local/global classification.
1648         (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
1649         (override_options): Make -mabicalls -fno-unit-at-a-time imply
1650         -mno-explicit-relocs.
1651         (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
1652         between local and global symbols.
1654 2004-01-05  Richard Sandiford  <rsandifo@redhat.com>
1656         * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
1657         (mips_preferred_reload_class): Declare.
1658         * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
1659         (EXTRA_CONSTRAINT): Update accordingly.
1660         (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
1661         * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
1662         (mips_preferred_reload_class): New function.  Prefer LEA_REGS if
1663         mips_dangerous_for_la25_p.
1664         (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
1665         if mips_dangerous_for_la25_p.
1667 2004-01-05  Bernardo Innocenti  <bernie@develer.com>
1669         * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
1670         warning.
1672 2004-01-04  Nathanael Nerode  <neroden@gcc.gnu.org>
1674         * configure.ac: Use AC_PROG_CPP_WERROR.
1675         * configure: Regenerate.
1677 2004-01-04  Zack Weinberg  <zack@codesourcery.com>
1679         * .cvsignore: Add autom4te.cache.
1681 2004-01-04  Richard Sandiford  <rsandifo@redhat.com>
1683         * doc/invoke.texi: Revamp documentation of MIPS options.  Remove
1684         -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
1685         -m4650, -mfix7000 and -(m)no-crt0.  Put endianness options first,
1686         then architecture options, then ABI options.  General rewording.
1688 2004-01-04  Joseph S. Myers  <jsm@polyomino.org.uk>
1690         PR c/3414
1691         * doc/extend.texi: Clarify definition of malloc attribute.
1693 2004-01-04  Jan Hubicka  <jh@suse.cz>
1695         * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
1696         * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
1697         * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
1698         (cgraph_inline_p): Add extra argument reason.
1699         * cgraphunit.c: Minor formating fixes.
1700         cgraph_first_inlined_callee): New functions.
1701         (record_call_1): Record builtins too.
1702         (cgraph_analyze_function): Update inline_failed messages.
1703         (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
1704         cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
1705         (cgraph_check_inline_limits): Likewise; Add argument reason.
1706         (cgraph_set_inline_failed): New static function.
1707         (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
1708         reasons.
1709         (cgraph_inline_p): Add new argument reason.
1710         * tree-inline.c (expand_call_inline):  Update warning.
1712 2004-01-03  Nathanael Nerode  <neroden@gcc.gnu.org>
1714         * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
1715         with modern equivalents.
1716         * configure: Regenerate.
1718         * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
1719         * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
1720         * configure: Regenerate.
1722         * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
1724         * configure.in: Rename to configure.ac.
1725         * configure.ac: Renamed from configure.in; make minimum necessary
1726         changes for autoconf 2.5x.
1727         * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
1728         * configure: Regenerate with autoconf 2.57.
1730 2004-01-03  Kazu Hirata  <kazu@cs.umass.edu>
1732         * config/mips/linux.h: Fix comment formatting.
1733         * config/mips/mips.c: Likewise.
1734         * config/mips/mips.h: Likewise.
1735         * config/mips/mips.md: Likewise.
1736         * config/mips/netbsd.h: Likewise.
1737         * config/mips/windiss.h: Likewise.
1739 2004-01-02  Richard Henderson  <rth@redhat.com>
1741         * config/i386/i386.md (fp constant pool splitter): Reorg suppression
1742         for sse and 387; add suppression for mmx.
1744 2004-01-02  Andrew Pinski  <pinskia@physics.uc.edu>
1746         * loop.c (loop_optimize): Free all loops_info's mems.
1748         * c-typeck.c (finish_init): Free spelling_base before
1749         setting it again.
1751         * cfgloop.c (flow_loops_find): Always free the sbitmap
1752         headers.
1754         * predict.c (estimate_probability): Free bbs after being
1755         done with it.
1757 2004-01-02  Kazu Hirata  <kazu@cs.umass.edu>
1759         * config/mn10300/mn10300.h (PREDICATE_CODES): Add
1760         const_8bit_operand and call_address_operand.
1762 2004-01-02  Jan Hubicka  <jh@suse.cz>
1764         * cgraphunit.c (cgraph_optimize_function):  Call optimize_inline_calls
1765         when there is nothing to inline but warnings are requested.
1766         (cgraph_decide_inlining):  Fix memory leak.
1768 2004-01-02  Jan Hubicka  <jh@suse.cz>
1770         * expr.c (store_constructor):  Fix pasto in previous patch.
1772 2004-01-02  Kazu Hirata  <kazu@cs.umass.edu>
1774         * config/i386/cygming.h: Fix comment formatting.
1775         * config/i386/djgpp.h: Likewise.
1776         * config/i386/gthr-win32.c: Likewise.
1777         * config/i386/i386-interix.h: Likewise.
1778         * config/i386/i386.c: Likewise.
1779         * config/i386/i386.h: Likewise.
1780         * config/i386/openbsd.h: Likewise.
1781         * config/i386/winnt.c: Likewise.
1782         * config/i386/xm-mingw32.h: Likewise.
1784 2004-01-02  Joseph S. Myers  <jsm@polyomino.org.uk>
1786         * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
1787         copyright and last modification dates.
1789 2004-01-02  Andreas Jaeger  <aj@suse.de>, Gerald Pfeifer  <gp@suse.de>
1791         * doc/install.texi (Specific): Mention x86_64.
1793 2004-01-01  Hans-Peter Nilsson  <hp@bitrange.com>
1795         * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
1796         Call force_operand on plus_constant result.
1798 2004-01-01  Jan Hubicka  <jh@suse.cz>
1800         * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
1801         * expr.c (store_constructor): Use vec_init pattern.
1802         * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
1803         * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
1804         (vec_set_optab, vec_extract_optab, vec_init_optab): New.
1805         * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
1806         New patterns.
1807         (sse2_unpc?pd): Fix pattern.
1808         (sse2_movlpd): Kill.
1809         (sse2_movsd): Deal with movlpd too.
1810         * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
1811         (ix86_expand_vector_init): New.
1812         * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
1813         * md.texi (vec_set, vec_extract): Document
1815 2003-12-31  Jan Hubicka  <jh@suse.cz>
1817         PR opt/13473
1818         * recog.c (validate_replace_rtx_1):  Take care for RTL sharing inside
1819         ASM input operands
1821         PR opt/12617
1822         * toplev.c (dump_file_index): Reorder ce3 and bbro.
1823         (dump_file): Likewise.
1824         (rest_of_compilation): Likewise.
1826         PR debug/13367
1827         * cgraph.c (cgraph_function_possibly_inlined):  Even with
1828         flag_really_no_inline we inline always_inline functions.
1829         * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
1830         for non-always_inline functions when there is flag_really_no_inline.
1831         (cgraph_decide_inlining): Limit work done when not inlining.
1832         (cgraph_decide_inlining_incrementally): Likewise.
1833         (cgraph_optimize_function): Check whether something got inlined.
1834         * c-objc-common.c (c_disregard_inline_limits): Do not always inline
1835         extern inline functions when not inlining.
1837         * opts.c (decode_options):  Disable crossjumping at -O1
1838         * invoke.texi (-O1): Document change.
1840 See ChangeLog.10 for earlier changes.