1 2004-01-20 Jan Hubicka <jh@suse.cz>
3 * emit-rtl.c (verify_rtx_sharing, copy_insn_1,
4 emit_copy_of_insn_after, emit_copy_of_insn_after): Clobbers
5 containing hard regs are shared.
6 (gen_hard_reg_clobber): New function.
7 (hard_reg_clobbers): New array.
8 * genemit.c (gen_exp): Use gen_hard_reg_clobber.
9 (copy_rtx): Do not copy clobbers containing hard regs.
10 * rtl.h (gen_hard_reg_clobber): Declare.
12 2004-01-20 Jan Hubicka <jh@suse.cz>
14 * varray.c: Include hashtab.h
15 (varray_descriptor): New structure.
16 (hash_descriptor, eq_descriptor, varray_descriptor,
17 print_statistics): New static functions
18 (varray_init, varray_grow): Update statistics
19 (dump_varray_statistics): New function.
20 * varray.h (dump_varray_statistics): Declare.
21 * toplev.c (finalize): Call it.
22 * Makefile.in (varray.o): Add dependency.
24 2004-01-20 Jan Hubicka <jh@suse.cz>
26 * cselib.c: Include alloc-pool.h
27 (empty_vals, empty_elt_lists, empty_elt_loc_lists): Kill.
28 (elt_loc_list_pool, elt_list_pool, cselib_val_pool): Declare.
29 (new_elt_list, new_elt_loc_list, unchain_one_elt_list,
30 unchain_one_elt_loc_list_pool, unchain_one_value,
31 new_cselib_val): Simplify using allocpool.
32 (cselib_init): Initialize allocpools.
33 (cselib_finish): Finish allocpools.
34 * Makefile.in (cselib.o): Depend on alloc-pool.h
36 2004-01-20 Richard Sandiford <rsandifo@redhat.com>
38 * config/mips/mips.c (mips_load_call_address): Make the call insn
39 use $gp if it could be calling a lazy binding stub.
41 2004-01-20 Kazu Hirata <kazu@cs.umass.edu>
43 * config/s390/s390.c (TARGET_PROMOTE_FUNCTION_ARGS): Define.
44 (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
45 (TARGET_STRUCT_VALUE_RTX): Likewise.
46 * config/s390/s390.h (PROMOTE_FUNCTION_ARGS): Remove.
47 (PROMOTE_FUNCTION_RETURN): Remove.
48 (STRUCT_VALUE): Remove.
50 2004-01-20 Denis Chertykov <denisc@overta.ru>
52 * config/avr/avr.h (BASE_REG_CLASS): Don't permit to use X
53 register as pointer after reload.
55 2004-01-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
58 * loop.c: Include ggc.h.
59 (loop_optimize): Run garbage collector between optimization of loops.
60 * Makefile.in (loop.o): Add GGC_H dependency.
62 2004-01-20 Hartmut Penner <hpenner@de.ibm.com>
64 * gcc/config/rs6000/rs6000.c (function_arg) Handle
65 vector register special in function without prototype.
66 (function_arg_advance): Vector parameters get always
67 GPRs allocated for the linux64 target.
69 2004-01-20 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
71 * config/m32r/m32r.h (TARGET_M32R2). Test for TARGET_M32R2_MASK
72 not TARGET_M32RX_MASK.
74 2004-01-20 Eric Botcazou <ebotcazou@libertysurf.fr>
77 * config/sparc/sparc.c (function_arg): Reorder the cases.
79 2004-01-19 Per Bothner <per@bothner.com>
81 Move cpp_reader's line_maps field to a shared global.
82 * cpphash.h (cpp_reader): Rename line_maps field to line_table
83 and change the type to a pointer rather than a struct.
84 * cppinit.c (cpp_push_main_field): Adjust accordingly.
85 * cpplib.c (do_include_common, _cpp_do_file_change, cpp_get_callbacks):
87 * cppfiles.c (validate_pch): Likewise.
88 * cppmacro.c (_cpp_warn_if_unused_macro, _cpp_builtin_macro_text):
90 * cpperror.c (print_location): Likewise.
91 * cpplib.h (cpp_create_reader): New line_maps pointer parameter.
92 * cppinit.c (cpp_create_reader): Handle new parameter.
93 (cpp_destroy): Don't free line_maps - that's no longer our job.
94 * input.h (line_table): New variable.
95 * toplev.c (line_table): Declare variable.
96 (general_init): Initialize line_table.
97 * c-opts.c (c_common_init_options): Pass line_table to
99 * fix-header.c (read_scan_file): New local variable line_table.
100 Initialize, and pass it to cpp_create_reader.
101 * Makefile.in (LIBS, LIBDEPS): Add libcpp.a.
102 (C_AND_OBJC_OBJS, fix-header): Remove redundant libcpp.a.
104 2004-01-19 Per Bothner <per@bothner.com>
106 Implement a cache for linemap_lookup.
107 * line-map.h (struct_line_maps): Add cache field.
108 * line-map.c (linemap_init): Zero cache field.
109 (linemap_add): Set cache field to offset of newly allocated map.
110 (linemap_lookup): Use and set cache field.
112 2004-01-20 Kaz Kojima <kkojima@gcc.gnu.org>
114 PR optimization/13567
115 * cse.c (cse_basic_block): Call cse_insn with a non-null
116 libcall_insn for the last SET insn of a no-confilict block.
118 2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
120 * Makefile.in (target_noncanonical, program_transform_name): Use
121 immediate define instead of deferred.
122 (GCC_INSTALL_NAME, GCC_TARGET_INSTALL_NAME, CPP_INSTALL_NAME,
123 PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
124 GCCBUG_INSTALL_NAME): Define via a immediate $(shell) instead of
127 2004-01-20 Joseph S. Myers <jsm@polyomino.org.uk>
129 * c-decl.c (c_init_decl_processing): Set pedantic_lvalues to
130 true unconditionally.
131 * c-typeck.c (unary_complex_lvalue, pedantic_lvalue_warning):
133 (build_unary_op, build_modify_expr): Don't handle extended
135 (build_component_ref, build_conditional_expr): Call non_lvalue
136 instead of pedantic_non_lvalue.
137 (build_c_cast): Don't condition use of non_lvalue on pedantic.
138 * fold-const.c (fold): Don't check pedantic directly for
139 COMPOUND_EXPR. Ensure that results for COMPOUND_EXPR are
140 passed to pedantic_non_lvalue.
141 * doc/extend.texi: Remove documentation of extended lvalues.
143 2004-01-19 Roger Sayle <roger@eyesopen.com>
146 * simplify-rtx.c (associative_constant_p): Delete.
147 (simplify_associative_operation): Rewrite to linearize terms, and
148 attempt to simplify new term against both left and right subterms.
149 (simplify_binary_operation): Call swap_commutative_operands_p on
150 op0 and op1, not trueop0 and trueop1. Move the initialization of
151 trueop0 and trueop1 down to where first needed.
152 (simplify_relational_operation): Likewise.
153 * rtlanal.c (commutative_operand_precedence): Also order constant
154 operands using avoid_constant_pool_reference.
156 2004-01-19 Richard Henderson <rth@redhat.com>
158 * config/alpha/alpha.c (aligned_memory_operand): Check MEM_ALIGN,
159 don't check memory mode.
160 (unaligned_memory_operand): Likewise.
161 (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Don't
162 abort for op0 not MEM.
164 * config/alpha/alpha.c (alpha_expand_mov_nobwx): If the destination
165 is not a reg, copy to a scratch first.
166 (aligned_loadqi, aligned_loadhi, unaligned_loadqi, unaligned_loadhi,
167 unaligned_loadqi_le, unaligned_loadqi_be, unaligned_loadhi_le,
168 unaligned_loadhi_be): Expect op0 in DImode; don't SUBREG.
169 (reload_inqi, reload_inhi): Fix mode of op0.
170 (reload_inqi_help, reload_inhi_help, reload_outqi_help,
171 reload_outhi_help): Likewise. Use define_insn_and_split.
173 * config/alpha/alpha.md (call peepholes): Check for REG_NORETURN
176 2004-01-19 Eric Botcazou <ebotcazou@libertysurf.fr>
178 * config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): New. Emit
179 "tls_object" for thread-local objects.
180 * config/sparc/sparc.c (sparc_elf_asm_named_section): Emit
181 "#tls" for thread-local sections.
182 * configure.ac (thread-local checks): Specify --fatal-warnings in
183 every binutils-specific checks. For sparc*-*-*, test whether the
184 OS is Solaris and the tools are native and act accordingly.
185 * configure: Rebuild.
187 2004-01-19 Jeff Law <law@redhat.com>
189 * contrib.texi: Update Paolo Carlini's entry. New entries for
190 Jerry Quinn and Petur Runolfsson.
192 2004-01-19 Roger Sayle <roger@eyesopen.com>
194 * config/i386/i386.md (*movhi_1, *movqi_1): When optimizing for
195 size, don't use the larger zero-extending loads.
197 2004-01-19 Richard Henderson <rth@redhat.com>
199 * alpha.h (HARD_REGNO_MODE_OK): Disallow SImode in FP regs.
200 * alpha.md (UNSPEC_NT_LDA): Remove.
201 (UNSPEC_CVTLQ, cvtlq): New.
202 (extendsidi2_1): Rename from extendsidi2_nofix; remove f/f.
203 (extendsidi2_fix): Remove.
204 (extendsidi2 splitter): Use cvtlq.
205 (extendsidi2 fp peepholes): Remove.
206 (cvtql): Use SFmode instead of SImode.
207 (fix_trunc?fsi): Update to match.
208 (floatsisf2_ieee, floatsisf2, floatsidf2_ieee, floatsidf2): New.
209 (movsi): Rename from movsi_nofix, remove f alternatives.
210 (movsi_nt_vms): Similarly.
211 (movsi_fix, movsi_nt_vms_fix): Remove.
213 * alpha.c (alpha_expand_prologue): Use adddi3, not nt_lda.
215 2004-01-19 Jan Hubicka <jh@suse.cz>
217 * cgraph.c (cgraph_remove_node): Fix removal from linked list.
218 * cgraphunit.c (cgraph_finalize_compilation_unit): Clear next_needed
220 (cgraph_remove_unreachable_nodes): New function
221 (cgraph_decide_inlining_of_small_function): Fix pasto.
222 (cgraph_decide_inlining_incrementally): Fix pasto.
223 (cgrpah_decide_inlining): Likewise; remove unreachable nodes.
225 2004-01-19 Steven Bosscher <stevenb@suse.de>
227 * gengtype.c (header_file): Make it static.
228 (write_types_process_field, write_enum_defn): Minor whitespace fixes.
229 * gengtype.h (header_file): No longer extern.
231 2004-01-18 Kazu Hirata <kazu@cs.umass.edu>
233 * defaults.h (CASE_VECTOR_PC_RELATIVE): Provide the default.
234 * expr.c (CASE_VECTOR_PC_RELATIVE): Remove.
235 * stmt.c (CASE_VECTOR_PC_RELATIVE): Likewise.
237 2004-01-18 Kazu Hirata <kazu@cs.umass.edu>
239 * stmt.c (HAVE_casesi): Define it not already defined.
240 (HAVE_tablejump): Likewise.
241 (expand_end_case_type): Resort to the binary tree method if
242 neither casesi or tablejump is available.
244 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
246 * final.c (final_scan_insn): Make non-static again.
247 * output.h (final_scan_insn): Re-add prototype.
248 * config/arc/arc.c (arc_output_function_epilogue): Add NULL
249 to final_scan_insn call.
250 * config/cris/cris.c (cris_target_asm_function_epilogue): Likewise.
251 * config/mips/mips.c (mips_output_conditional_branch): Likewise.
252 * config/pa/pa.c (output_lbranch, output_call): Likewise.
253 * config/sh/sh.c (print_slot): Likewise.
254 * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Likewise.
255 (output_sibcall, sparc_flat_function_epilogue): Likewise.
257 2004-01-18 Jan Hubicka <jh@suse.cz>
259 * basic-block.h (try_redirect_by_replacing_jump): Declare.
260 * cfgcleanup.c (try_optimize_cfg): Use it.
261 * cfgrtl.c (try_redirect_by_replacing_jump): Export.
262 (rtl_redirect_edge_and_branch, cfg_layout_redirect_edge_and_branch):
264 (cfg_layout_merge_blocks): Use try_redirect_by_replacing_jump.
267 2004-01-16 Geoffrey Keating <geoffk@apple.com>
269 * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
270 even after reload, just don't remove the actual jump tables.
272 2004-01-18 Kazu Hirata <kazu@cs.umass.edu>
274 * config/rs6000/rs6000.h (STRICT_ARGUMENT_NAMING): Remove.
276 2004-01-18 Kazu Hirata <kazu@cs.umass.edu>
278 * defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of
279 the size of a pointer in bytes.
281 2004-01-18 Roger Sayle <roger@eyesopen.com>
283 * builtins.c (expand_builtin_expect_jump): Fix thinko of reusing
284 live "next" variable, which could lead to an infinite loop.
286 2004-01-18 Andrew Pinski <pinskia@physics.uc.edu>
288 * config/rs6000/altivec.h: Wrap C++ functions in extern "C++"
291 * config/rs6000/rs6000.c (rs6000_special_round_type_align):
292 Check for NULL in the chain and remove repeated code.
294 2004-01-18 Jan Hubicka <jh@suse.cz>
296 * coverage.c (checksum_string): Rename to ...
297 (coverage_checksum_string): ... this one, Use crc32_string; recognize
298 names containing random number and zero the number out in order to get
301 2004-01-18 Richard Sandiford <rsandifo@redhat.com>
303 * config/mips/mips.c (mips_got_alias_set): Mark for PCH.
305 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk>
307 * doc/c-tree.texi, doc/cpp.texi, doc/extend.texi,
308 doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi,
309 doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi,
310 doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi,
311 doc/trouble.texi: Remove trailing whitespace.
313 2004-01-18 Richard Sandiford <rsandifo@redhat.com>
316 * config/mips/mips.c: Include cfglayout.h.
317 (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define.
318 (mips_unspec_offset_high): Add temporary register argument.
319 (mips_load_call_address): New function, split out from...
320 (mips_expand_call): ...here.
321 (mips_output_cplocal): New function.
322 (mips_output_function_prologue, mips_output_function_epilogue): Use it.
323 (mips_emit_loadgp): New function, split out from...
324 (mips_expand_prologue): ...here.
325 (mips_output_mi_thunk): New function.
327 2004-01-17 Bernardo Innocenti <bernie@develer.com>
329 * longlong.h (mc68020, __mc68030__, mc68030, __mc68040__, mc68040,
330 mcpu32): Remove redundant checks for implied target predefines.
332 2004-1-17 Andrew Pinski <pinskia@physics.uc.edu>
334 * config/rs6000/rs6000.c (rs6000_special_round_type_align):
335 Return type is unsigned int not int.
336 * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
339 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk>
341 * doc/contrib.texi, doc/cppenv.texi, doc/extend.texi,
342 doc/install.texi, doc/invoke.texi, doc/tm.texi: Consistently use
343 "GNU/Linux" and "Microsoft Windows" terminology.
345 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk>
347 * doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
348 doc/cppopts.texi, doc/extend.texi, doc/install.texi,
349 doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
350 doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
351 @smallexample instead of @example.
353 2004-01-17 Ziemowit Laski <zlaski@apple.com>
355 * objc/objc-act.c (build_objc_method_call): Use target
356 hooks instead of macros to determine if ..._stret
357 dispatchers should be used (NeXT runtime only).
359 2004-01-17 Roger Sayle <roger@eyesopen.com>
361 * builtins.c (expand_builtin_expect_jump): Fix mistake in my
362 last patch. Use XEXP (x, 0) to get a LABEL_REF's CODE_LABEL.
364 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
366 * rtl.h (emit_insn_before_sameloc, emit_jump_insn_before_sameloc)
367 (emit_call_insn_before_sameloc, emit_insn_after_sameloc)
368 (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): New
370 * reload1.c (emit_reload_insns): Use them.
371 * emit-rtl.c (emit_insn_before_sameloc, emit_insn_after_sameloc)
372 (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): Check
375 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
377 * final.c (SEEN_BB, SEEN_NOTE, SEEN_EMITTED): Define.
378 (final_scan_insn): Update to take an additional SEEN argument. Emit
379 a line note after the prologue. Make static.
380 (line_note_exists): Remove.
381 (final): Don't initialize line_note_exists. Update call to
383 * output.h (final_scan_insn): Remove prologue.
384 * function.c (set_insn_locators): Update comment.
385 (thread_prologue_and_epilogue_insns): Add a comment.
387 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
390 * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
392 * config/rs6000/rs6000.c (rs6000_special_round_type_align):
394 * config/rs6000/linux64.h (ROUND_TYPE_ALIGN): Use it.
395 * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Likewise.
396 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Likewise.
398 2004-01-17 Jan Hubicka <jh@suse.cz>
400 * toplev.c (rest_of_handle_reorder_blocks): Fix pasto in previous
403 * toplev.c (HAVE_conditional_execution): Provide default.
404 (rest_of_handle_reorder_blocks): For conditional_execution target
405 update liveness once after all transformations
406 (rest_of_compilation): Do crossjumping before ce3.
408 2004-01-17 Geoffrey Keating <geoffk@apple.com>
410 * alias.c (new_alias_set): Mark last_alias_set for PCH.
411 (get_varargs_alias_set): Rename 'set' to 'varargs_set' and mark it
413 (get_frame_alias_set): Likewise, except rename it to 'frame_set'.
414 * config/rs6000/rs6000.c (rs6000_sr_alias_set): Mark for PCH.
415 (get_TOC_alias_set): Mark 'set' for PCH.
417 2004-01-16 Geoffrey Keating <geoffk@apple.com>
419 * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
420 even after reload, just don't remove the actual jump tables.
422 2004-01-17 J. Brobecker <brobecker@gnat.com>
424 * dwarf2out.c (is_subrange_type): Renamed from is_ada_subrange_type().
425 Remove checks for is_ada() and TREE_UNSIGNED.
426 (subrange_type_die): Emit a byte_size attribute if the subrange
427 type size is different from the base type size.
428 (modified_type_die): Replace call to is_ada_subrange_type() by
429 call to is_subrange_type().
431 2004-01-16 Andrew Pinski <pinskia@physics.uc.edu>
433 * config/sh/sh.c: Include ggc.h.
435 2004-01-16 Geoffrey Keating <geoffk@apple.com>
437 * Makefile.in (MD5_H): New.
438 (fold-const.o): Depend on md5.h.
439 (dwarf2out.o): Likewise.
440 (cppfiles.o): Likewise.
441 * cppfiles.c: Include md5.h.
442 (should_stack_file): Check against list read from PCH file.
443 (struct pchf_data): New.
444 (pchf): New variable.
445 (struct pchf_adder_info): New.
447 (pchf_save_compare): New.
448 (_cpp_save_file_entries): New.
449 (_cpp_read_file_entries): New.
450 (struct pchf_compare_data): New.
452 (check_file_against_entries): New.
453 * cpphash.h (_cpp_save_file_entries): Prototype.
454 (_cpp_read_file_entries): Prototype.
455 * cpppch.c (cpp_write_pch_state): Write the list of headers.
456 (cpp_read_state): Read the list of headers.
458 2004-01-17 Jan Hubicka <jh@suse.cz>
460 * c-common.c (c_estimate_num_insns_1): Handle builtin_constant_p and
461 builtin_expect specially.
462 * params.def (PARAM_MAX_INLINE_INSNS_AUTO): Set to 100.
463 (PARAM_LARGE_FUNCTION_INSNS): Set to 3000.
464 * invoke.texi (max-inline-insns-single): Set to 100.
465 (large-function-insns): Set to 3000.
467 2004-01-16 Eric Christopher <echristo@redhat.com>
468 Chandrakala Chavva <cchavva@redhat.com>
470 * cppcharset.c (one_iso88591_to_utf8): New function.
471 (convert_iso88591_utf8): Ditto. Use.
472 (conversion_tab): Use.
473 (_cpp_input_to_utf8): New function.
474 (_cpp_init_iconv_buffer): Ditto.
475 (_cpp_close_iconv_buffer): Ditto.
476 * cpphash.h: Prototype new functions.
477 (cpp_buffer): Add input_cset_desc.
478 * cppinit.c: Add input_charset default.
479 * cpplib.c (cpp_push_buffer): Support init and
481 * cpplib.h (cpp_options): Add input_charset.
483 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
485 * system.h (ASM_OUTPUT_SECTION_NAME): Poison.
486 * config/alpha/unicosmk.h: Remove a commented-out definition
487 of ASM_OUTPUT_SECTION_NAME.
488 * config/stormy16/stormy16.h: Likewise.
490 2004-01-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
492 * fixinc/inclhack.def (alpha___extern_prefix): Renamed to ...
493 (alpha___extern_prefix_sys_stat): ... this.
494 Apply to <sys/mount.h>, too.
495 Tweak to match more variations.
496 * fixinc/tests/base/sys/stat.h: Adapt for new hackname.
498 * fixinc/inclhack.def (alpha___extern_prefix,
499 alpha___extern_prefix_standards): New hacks to obey
500 __PRAGMA_EXTERN_PREFIX.
501 * fixinc/tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: New
503 * fixinc/tests/base/standards.h: Likewise.
505 * fixincl/inclhack.def (alpha_pthread): Tweak to match more
508 * fixinc/tests/base/pthread.h: Handle it.
510 * fixincl/inclhack.def (bad_lval): Sort file list.
511 Add many missing files up to Tru64 UNIX V5.1B.
512 * gcc/fixinc/tests/base/libgen.h: Renamed to ...
513 * gcc/fixinc/tests/base/dirent.h: ... this to match new file list
516 * fixinc/fixincl.x: Regenerate.
518 2004-01-16 Mark Mitchell <mark@codesourcery.com>
520 * version.c (version_string): Change to 3.5.0.
521 * doc/include/gcc-common.texi (version-GCC): Likewise.
523 2004-01-16 Jan Hubicka <jh@suse.cz>
525 * i386.md (load_tp_di): Fix pasto.
528 * i386.c (ix86_compute_frame_layout): Fix for alloca on leaf function.
530 * c-pretty-print.c (pp_c_type_cast, pp_c_abstract_declarator,
531 pp_c_character_constant, pp_c_floating_constant,
532 pp_c_additive_expression, pp_c_shift_expression,
533 pp_c_equality_expression, pp_c_and_expression,
534 pp_c_exclusive_or_expression, pp_c_inclusive_or_expression,
535 pp_c_logical_and_expression): Remove inline modifier.
536 * dwarf2out.c (get_AT): Likewise.
537 * et-forest.c (et_splay): Likewise.
538 * ra.h (ra_alloc, ra_calloc): Likewise
540 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
542 * config/frv/frv-protos.h: Fix comment formatting.
543 * config/frv/frv.c: Likewise.
544 * config/frv/frv.h: Likewise.
545 * config/frv/frv.md: Likewise.
546 * config/frv/frvbegin.c: Likewise.
547 * config/frv/frvend.c: Likewise.
549 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
551 * system.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Poison.
552 * doc/tm.texi (PREFERRED_DEBUGGING_TYPE): Don't mention
553 LINKER_DOES_NOT_WORK_WITH_DWARF2.
554 (LINKER_DOES_NOT_WORK_WITH_DWARF2): Remove.
556 2004-01-16 J"orn Rennecke <joern.rennecke@superh.com>
559 * postreload.c (reload_cse_simplify_operands): Don't remove
560 implicit extension from LOAD_EXTEND_OP.
562 2004-01-16 Jan Hubicka <jh@suse.cz>
565 * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal
567 * cfgrtl.c (rtl_can_merge_blocks, cfglayout_can_merge_blocks,
568 rtl_try_redirect_by_replacing_branch): Likewise.
570 2004-01-15 Geoffrey Keating <geoffk@apple.com>
573 * alias.c (struct alias_set_entry): Mark for GC.
574 (alias_sets): Make static, mark for GC.
575 (record_alias_subset): Use GC to allocate alias structures.
576 * varray.c (element): Make generic varrays GCed.
579 * c-typeck.c (constructor_asmspec): Delete.
580 (struct initializer_stack): Delete field 'asmspec'.
581 (start_init): Delete saving of asmspec.
582 (finish_init): Don't update constructor_asmspec.
583 * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
584 * stmt.c (expand_asm): Duplicate strings from tree.
585 (expand_asm_operands): Likewise.
586 * tree.c (tree_size): Update computation of size of STRING_CST.
587 (make_node): Don't make STRING_CST nodes.
588 (build_string): Allocate string with tree node.
589 * tree.def (STRING_CST): Update comment.
590 * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
591 (tree_string): Place contents of string in tree node.
592 * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
595 * config/rs6000/rs6000.c (rs6000_va_arg): No need to special-case
598 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
600 * c-common.h: Fix comment formatting.
601 * c-cppbuiltin.c: Likewise.
602 * c-pragma.c: Likewise.
604 * collect2.c: Likewise.
605 * cppcharset.c: Likewise.
606 * cpptrad.c: Likewise.
607 * dbxout.c: Likewise.
608 * defaults.h: Likewise.
609 * dwarf2out.c: Likewise.
610 * fold-const.c: Likewise.
611 * genautomata.c: Likewise.
612 * genconditions.c: Likewise.
613 * genflags.c: Likewise.
614 * gengtype.c: Likewise.
615 * integrate.c: Likewise.
617 * predict.c: Likewise.
618 * sdbout.c: Likewise.
620 2004-01-15 Zack Weinberg <zack@codesourcery.com>
622 * config/ia64/ia64.md (*movti_internal): C output template
624 (*movti_internal_reg): Delete.
625 (reload_inti, reload_outti): Use the correct mode on operand 2
626 in the first place, don't fix it up in the output template.
627 (movtf, reload_ointf, reload_outtf): New expanders.
628 (*movtf_internal): New define_insn_and_split.
629 * config/ia64/ia64.c (ia64_split_timode): Rename to ia64_split_tmode;
630 make static; do not hand TFmode CONST_DOUBLEs to split_double.
631 (ia64_split_tmode_move): New function, body mostly pulled
632 from ia64.md:*movti_internal.
633 (ia64_function_arg_words): New function, extracted common
634 logic from ia64_function_arg et seq.
635 (ia64_function_arg_offset): Likewise. Handle correctly the
636 case of a scalar quantity 16 bytes wide with only 8-byte alignment.
637 (ia64_function_arg, ia64_function_arg_partial_nregs)
638 (ia64_function_arg_advance): Use ia64_function_arg_words and
639 ia64_function_arg_offset.
640 (ia64_function_value): TCmode does not go in float regs.
641 (ia64_secondary_reload_class): Also handle TFmode.
642 * config/ia64/ia64-protos.h: Remove prototype for
643 ia64_split_timode; add prototype for ia64_split_tmode_move.
645 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
647 * Makefile.in (MAINT): Make it an immediate assignment.
649 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
651 * config/m32r/m32r.md: Remove useless calls to gen_lowpart.
653 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
655 * config/h8300/coff.h: Replace Hitachi with Renesas.
656 * config/h8300/elf.h: Likewise.
657 * config/h8300/h8300-protos.h: Likewise.
658 * config/h8300/h8300.c: Likewise.
659 * config/h8300/h8300.h: Likewise.
660 * config/h8300/h8300.md: Likewise.
661 * config/h8300/lib1funcs.asm: Likewise.
663 2004-01-15 Andrew Pinski <apinski@apple.com>
665 * config/rs6000/rs6000.c (uses_TOC): Wrap #if TARGET_ELF
668 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
670 * config/h8300/h8300.c (h8300_return_in_memory): New.
671 (TARGET_STRUCT_VALUE_RTX): Likewise.
672 (TARGET_RETURN_IN_MEMORY): Likewise.
673 * config/h8300/h8300.h (STRUCT_VALUE): Remove.
674 (RETURN_IN_MEMORY): Likewise.
676 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
678 PR optimization/13375
679 * gcse.c (handle_avail_expr): Just return if the source is not a
682 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
683 Daniel Jacobowitz <drow@mvista.com>
685 * arm/lib1funcs.asm (ARM_FUNC_START): Correct interworking case.
687 (ARM_FUNC_ALIAS): New macro.
688 * arm/ieee754-df.S (gedf2, ledf2, nedf2, eqdf2): Use it.
689 * arm/ieee754-sf.S (gesf2, lesf2, nesf2, eqsf2): Use it.
691 2004-01-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
693 PR optimization/12372
694 * calls.c (expand_call): Add call_fusage data for stack arguments in
697 2004-01-15 Alan Modra <amodra@bigpond.net.au>
699 * config/rs6000/rs6000.c (uses_TOC): Correct comment. Make static.
700 (rs6000_elf_declare_function_name): Formatting.
701 * config/rs6000/rs6000-protos.h (uses_TOC): Remove declaration.
703 2004-01-15 Jan Hubicka <jh@suse.cz>
706 * sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in
709 2004-01-15 Richard Henderson <rth@redhat.com>
711 * config/alpha/alpha.h (REG_ALLOC_ORDER): Reorder fp regs after
712 integer regs of the same call-savedness.
714 2004-01-15 Andreas Schwab <schwab@suse.de>
717 * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
718 status for NOTB/NOTW/NEGW methods.
720 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
722 * doc/invoke.texi: Update dump file names. Fix a typo.
724 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
726 * builtins.c (expand_builtin_va_end): Don't use
727 EXPAND_BUILTIN_VA_END.
728 * system.h (EXPAND_BUILTIN_VA_END): Poison.
729 * config/d30v/d30v.h: Remove a commented-out definition of
730 EXPAND_BUILTIN_VA_END.
731 * config/stormy16/stormy16.h: Likewise.
733 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
735 * system.h (STRUCT_VALUE_INCOMING_REGNUM): Poison.
736 * targhooks.c (default_struct_value_rtx): Don't use
737 STRUCT_VALUE_INCOMING_REGNUM.
739 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
742 * configure.in: Revamp enable-generated-files-in-srcdir rule to define
743 GENINSRC and not parsedir. Define srcextra as a langhook.
744 * configure: Regenerate.
745 * Makefile.in: Suppress default .l.c rule. Don't substitute
746 parsedir and delete all references throughout. Conditionally define
747 rule for srcextra dependent on GENINSRC.
748 (stmp-docobjdir): Delete.
749 (c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule.
750 (srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c,
751 and gengtype-yacc.h back to source directory.
752 (maintainer-clean): Delete all parse files in source directory.
753 (distclean): Delete generated files.
755 * objc/Make-lang.in (objc-parse.o): Use implicit build rule.
756 (objc-parse.c, objc-parse.y): Don't use parsedir.
757 (objc.srcextra): Copy objc-parse.y and objc-parse.c back to source
758 directory if requested.
759 (po-generated): Don't use parsedir.
760 (objc.maintainer-clean): Delete above files from source directory.
762 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
764 * doc/tm.texi (FUNCTION_VALUE): Fix a typo.
766 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
768 * doc/tm.texi: Replace RETURN_IN_MEMORY with
769 TARGET_RETURN_IN_MEMORY.
771 2004-01-15 Jan Hubicka <jh@suse.cz>
773 * builtins.c (std_expand_builtin_va_arg): Align operand when needed.
774 * i386.c (init_cumulative_args): Set warn_sse; fix handling of variadic
775 functions accepting SSE arguments
776 (function_arg): Warn only when asked to warn.
777 * i386.h (ix86_args): Add warn_sse/warn_mmx fiels.
779 2004-01-14 Joseph S. Myers <jsm@polyomino.org.uk>
781 * c-parse.in (stmts_and_decls): Make label at end of compound
782 statement a hard error.
784 2004-01-14 Jan Hubicka <jh@suse.cz>
786 * cgraph.c (create_edge): Use local.redefined_extern_inline.
787 * cgraph.h (cgraph_local_info): Sort fields by size; add
788 redefined_extern_inline
789 (cgraph_global_info): Sort fields by size.
790 (cgraph_node): Likewise.
791 * cgraphunit.c (cgraph_finalize_function): Se
792 local.redefined_extern_inline on redefinition.
793 (cgraph_analyze_function): Use it; fix formating.
795 2004-01-14 Jan Hubicka <jh@suse.cz>
798 * sched-deps.c (trye_dependency_cache, anti_dependency_cache,
799 outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of
801 (cache_size): New variable
802 (add_dependence): Update use; canonize early memory locations
803 (sched_analyze_1): Likewise.
804 (sched_analyze_2): Likewise.
805 (init_dependency_caches): Initialize bitmaps.
806 (free_dependency_caches): Free bitmaps
808 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
810 * calls.c: Replace STRICT_ARGUMENT_NAMING in comments with
811 targetm.calls.strict_argument_naming().
812 * target.h: Likewise.
814 2004-01-14 Richard Henderson <rth@redhat.com>
817 * dwarf2out.c (dwarf2out_stack_adjust): Skip prologue and epilogue
820 2004-01-14 Richard Henderson <rth@redhat.com>
823 * except.c (struct eh_region): Add u.fixup.resolved.
824 (resolve_one_fixup_region): Split out from ...
825 (resolve_fixup_regions): ... here.
827 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
829 * config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0.
831 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
833 * config/alpha/alpha.h (STRUCT_VALUE): Remove.
834 * config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef.
835 (STRUCT_VALUE): Remove.
837 2004-01-14 Steven Bosscher <stevenb@suse.de>
839 * system.h: Poison PROMOTED_MODE
840 * integrate.c (expand_inline_function): Don't mention the
842 * loop.c (update_giv_derive): Same.
843 * tree.h (DECL_RTL): Same.
845 2004-01-14 J"orn Rennecke <joern.rennecke@superh.com>
848 * sh.c (gen_block_redirect): Add special handling of RETURN.
849 (gen_far_branch) Don't call gen_stuff_delay_slot if there is no
850 far branch target (i.e. it's a return).
852 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
854 * regrename.c (find_oldest_value_reg): Fix a warning.
856 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
859 * config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file.
860 Move linux-gas.h and linux-elf.h before aout.h.
861 * arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already.
862 * arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define.
864 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
866 * config/m32r/m32r.md: Use GEN_INT instead of gen_rtx
867 (CONST_INT, VOIDmode, ...).
869 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
871 * regrename.c (find_oldest_value_reg): If the replacement uses
872 multiple hard registers, check that all of them are in CLASS.
874 2004-01-14 Jan Hubicka <jh@suse.cz>
876 * alias.c (get_alias_set): Initialize alias set to 0 when subset is
879 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
881 * Makefile.in: Define MAINT from --enable-maintainer-mode.
883 2004-01-14 Hartmut Penner <hpenner@de.ibm.com>
885 * gcc/config/rs6000/rs6000.c (rs6000_stack_info)
886 Calculate always vrsave_mask if TARGET_ALTIVEC.
887 (rs6000_emit_prologue): Emit code for vrsave
888 only if TARGET_ALTIVEC_VRSAVE.
889 (rs6000_emit_epilogue): Likewise.
891 2004-01-14 Eric Botcazou <ebotcazou@libertysurf.fr>
893 * config/sparc/sparc.md (tie_add32): Fix pasto.
894 (tie_add64): Likewise.
896 2004-01-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
898 * config/i386/i386.md (*addqi_1_slp): Do not access operands[2].
900 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
902 * config/iq2000/iq2000-protos.h: Fix comment formatting.
903 * config/iq2000/iq2000.c: Likewise.
904 * config/iq2000/iq2000.md: Likewise.
906 2004-01-14 J. Brobecker <brobecker@gnat.com>
908 * dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
909 (subrange_type_die): Add handle for nameless subrange types.
911 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
913 * config/h8300/h8300-protos.h: Replace do_movsi with
915 * config/h8300/h8300.c (do_movsi): Change to
917 * config/h8300/h8300.md (movsi): Replace do_movsi with
921 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
923 * config/h8300/h8300.c (dosize): Change to
924 h8300_emit_stack_adjustment. Update callers.
926 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
928 * config/h8300/h8300.md (movstrictqi): Add an alternative with
929 the source being post_inc. Tighten the predicate for the
930 destination to register_operand.
931 (movstricthi): Likewise.
933 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
935 * system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
936 * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP.
937 * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove.
939 2004-01-14 Jan Hubicka <jh@suse.cz>
941 Partial fix PR c++/12850
942 * cgraphunit.c (cgraph_finalize_function): Always ggc_collect when
945 2004-01-13 Bernardo Innocenti <bernie@develer.com>
947 * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
950 2004-01-13 Devang Patel <dpatel@apple.com
953 * dbxout.c (dbxout_symbol_name): Emit mangled names for
954 NAMESPACE_DECL memebers.
956 2004-01-13 Andrew Pinski <pinskia@physics.uc.edu>
959 * c-common.c (finish_fname_decls): Use the chain only if the
960 tree is an expr_stmt.
962 2004-01-13 Vladimir Makarov <vmakarov@redhat.com>
964 * rtl.def: Add comment about new option in automata_option.
966 * genautomata.c (PROGRESS_OPTION): New macro.
967 (progress_flag): New global variable.
968 (gen_automata_option): Process `progress'.
969 (transform_insn_regexps, check_unit_distributions_to_automata,
970 make_automaton, NDFA_to_DFA, build_automaton, create_automata,
971 expand_automata, write_automata): Print about the progress only if
972 progress_flag. Remove fflush.
973 (initiate_automaton_gen): Process command line flag `-progress'.
975 * doc/md.texi: Describe the new option.
977 2004-01-13 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
979 * cfg.c (dump_bb): Dump entry edges.
981 2004-01-13 Richard Earnshaw <rearnsha@arm.com>
983 * arm.c (thumb_legitimate_address_p): Only allow constant pool
984 references from SImode.
985 * arm.md (thumb_movhi_insn): Don't allow minipool references.
987 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
989 * system.h (TEXT_SECTION): Poison.
990 * varasm.c (text_section): Don't use TEXT_SECTION.
991 * config/sh/sh.c (sh_file_start): Fix a comment typo.
992 * doc/tm.texi (TEXT_SECTION): Remove.
994 2004-01-13 Ben Elliston <bje@wasabisystems.com>
996 * doc/rtl.texi (Vector Operations): Remove defunct vec_const item.
998 2004-01-12 James E Wilson <wilson@specifixinc.com>
1000 * unwind-libunwind.c: Delete.
1002 2004-01-12 Zack Weinberg <zack@codesourcery.com>
1005 * c-decl.c (diagnose_mismatched_decls): Whenever newtype or
1006 oldtype is set, set *newtypep or *oldtypep too. Do not set
1007 them at the very end.
1008 (validate_proto_after_old_defn): Restructure for comprehensibility;
1009 make error messages clearer.
1011 2004-01-12 Zack Weinberg <zack@codesourcery.com>
1013 * varray.h (VARRAY_POP): Add checking variant, aborts on underflow.
1014 (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked.
1015 * varray.c: No need to prototype error.
1016 (varray_check_failed): Wrap long string onto two lines.
1017 (varray_underflow): New function.
1019 2004-01-13 Steven Bosscher <stevenb@suse.de>
1022 * function.h (struct function): Kill `name' field.
1023 (current_function_name): Make it an extern function.
1024 * function.c (current_function_name): New function.
1025 * graph.c: Update all uses of current_function_name.
1027 * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
1028 config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
1029 * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
1030 instead of a strcmp with "main".
1032 2004-01-13 Jan Hubicka <jh@suse.cz>
1034 * c-decl.c (diagnose_mismatched_decls): Fix warning calls.
1036 * cgraphunit.c (cgraph_optimize_function): Always do
1037 optimize_inline_calls when there is always_inline callee.
1038 (cgraph_decide_inlining): Fix formating.
1039 * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
1041 (expand_call_inline): Likewise.
1042 * toplev.h (sorry): Fix prototype.
1044 2004-01-12 Roger Sayle <roger@eyesopen.com>
1046 * builtins.c (expand_builtin_expect_jump): Simplify logic. Handle
1047 conditional jumps that drop through to unconditional jumps or the
1048 end of the sequence.
1050 2004-01-13 Jan Hubicka <jh@suse.cz>
1052 * alias.c (new_alias_set): Construct the alias_set varray.
1053 (init_alias_once): Don't do it here.
1055 2004-01-12 Marc Espie <espie@openbsd.org>
1057 * system.h: handle YYBYACC like YYBISON.
1059 2004-01-12 Jonathan Merriman <jonm@dualitymedia.com>
1062 * config.gcc: No longer includes conflicting header sparc/sol2.h when
1063 building on sparc64-*-openbsd*.
1065 2004-01-12 Andrew Pinski <pinskia@physics.uc.edu>
1068 * dbxout.c (dbxout_type): Protected inheritance is not
1069 private but protected.
1071 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
1073 * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.
1075 2004-01-12 Kazu Hirata <kazu@cs.umass.edu>
1077 PR optimization/12508.
1078 * combine.c (try_combine): Remove a dead set in a parallel
1079 even if its destination is a subreg.
1082 2003-06-03 Kazu Hirata <kazu@cs.umass.edu>
1083 * combine.c (simplify_set): Don't move a subreg in SET_SRC to
1084 SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
1086 2004-01-12 Geoffrey Keating <geoffk@apple.com>
1088 * real.c: Update copyright date.
1089 * emit-rtl.c: Likewise.
1091 * dwarf2out.c: Likewise.
1092 * config/rs6000/darwin-ldouble.c: Likewise.
1093 * config/rs6000/rs6000.md: Likewise.
1095 2004-01-12 David Edelsohn <edelsohn@gnu.org>
1097 * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
1098 TFmode to SImode libfuncs.
1100 2004-01-12 Roger Sayle <roger@eyesopen.com>
1103 * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
1105 2004-01-12 Jan Hubicka <jh@suse.cz>
1108 * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
1112 * cfgcleanup.c (label_is_jump_target_p): Move to...
1113 * rtlanal.c (label_is_jump_target_p): ... here.
1114 * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Fix redirecting of fallthru
1115 edges unified with branch edges.
1117 2004-01-12 Richard Earnshaw <rearnsha@arm.com>
1119 * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
1120 high word of an integral CONST_DOUBLE.
1122 2004-01-12 Paul Brook <paul@codesourcery.com>
1124 * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
1126 2004-01-12 J"orn Rennecke <joern.rennecke@superh.com>
1129 * sh-protos.h (check_use_sfunc_addr): Declare.
1130 * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
1131 * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
1133 2004-01-12 Jan Hubicka <jh@suse.cz>
1135 * alias.c: Invlude varray.h
1136 (alias_sets): Turn into varray.
1137 (get_alias_set_entry): Use VARRAY; mark inline.
1138 (mems_in_disjoint_alias_sets_p): Mark inline.
1139 (record_alias_subset): Use varray.
1140 (init_alias_once): Initialize varray.
1141 (new_alias_set): Grow array.
1142 * varray.c: Make VARRAY_GENERIC_PTR non GTYized.
1144 2004-01-12 Jan Hubicka <jh@suse.cz>
1146 Partial fix for PR opt/10776 II
1147 * cselib.c: Include params.h
1148 (cselib_invalidate_mem): Limit amount of nonconflicting memory
1150 * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
1151 * Makefile.in (cselib.o): Depend on params.h
1153 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
1155 * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
1156 simplify_unary_operation if the operand has a known mode.
1158 2004-01-12 Hartmut Penner <hpenner@de.ibm.com>
1161 * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
1162 predicate to handle 'ld' conform addresses.
1163 * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
1165 (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
1166 are memory contraints.
1167 * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
1169 * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
1170 Change 'o' to 'Y' constraint.
1171 (*movdf_softfloat64): Ditto.
1173 2004-01-12 Bernardo Innocenti <bernie@develer.com>
1175 * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
1176 brace-enclosed syntax in all C output statements.
1178 2004-01-12 David Edelsohn <edelsohn@gnu.org>
1181 * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
1182 Objective-C language type value is 14.
1184 2004-01-12 Markus F.X.J. Oberhumer <markus@oberhumer.com>
1187 * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
1188 `int' in a number of places to make sure we always have a SImode
1189 and not a HImode. Add a 'L' suffix to a number of constants.
1191 2004-01-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1193 * pa.c: Don't include obstack.h.
1195 * pa.md: Correct constraint in pattern for loading PIC label address.
1197 2004-01-11 Kaz Kojima <kkojima@gcc.gnu.org>
1199 * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
1202 2004-01-11 Steven Bosscher <stevenb@suse.de>
1205 * toplev.c (rest_of_handle_inline): Also consider functions
1206 for deferral if the language is GNU F77.
1208 2004-01-11 Zack Weinberg <zack@codesourcery.com>
1210 * c-decl.c (diagnose_arglist_conflict): Add missing space to
1211 diagnostic messages.
1213 2004-01-11 Jakub Jelinek <jakub@redhat.com>
1216 * builtins.c (expand_builtin_expect_jump): Handle conditional jumps
1217 to drop through label. Don't fall back to SCC even when conditional
1218 jump has not been found.
1220 2004-01-11 Jan Hubicka <jh@suse.cz>
1222 * invoke.texi: Fix syntax error in previous patch.
1224 Partial fix for PR opt/10776
1225 * Makefile.in (reload.o): Include param.h
1226 * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter.
1227 * reload.c: Include params.h.
1228 (find_equiv_reg): Work limiting check.
1229 * invoke.texi: Document.
1231 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
1233 * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
1234 out-of-bounds accesses to string constants. Simplify mips16
1237 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
1239 PR optimization/13469
1240 * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
1241 reload_cse_regs (-fnon-call-exceptions only).
1243 2004-01-11 Kazu Hirata <kazu@cs.umass.edu>
1245 * config/mcore/lib1.asm: Fix comment formatting.
1246 * config/mcore/mcore-elf.h: Likewise.
1247 * config/mcore/mcore.c: Likewise.
1248 * config/mcore/mcore.h: Likewise.
1249 * config/mcore/mcore.md: Likewise.
1251 2004-01-10 Zack Weinberg <zack@codesourcery.com>
1253 * c-decl.c (duplicate_decls): Break apart into...
1254 (diagnose_arglist_conflict, validate_proto_after_old_defn)
1255 (locate_old_defn, diagnose_mismatched_decls, merge_decls):
1256 ... these new functions. Restructure for comprehensibility.
1257 Remove various archaic special cases. Always report the
1258 location of the previous declaration when a diagnostic is issued.
1259 (redeclaration_error_message): Fold into diagnose_mismatched_decls.
1260 (match_builtin_function_types): Delete unnecessary forward declaration.
1262 2004-01-10 Zack Weinberg <zack@codesourcery.com>
1264 * genautomata.c (make_automaton, NDFA_to_DFA):
1265 Print progress bars with '.' characters instead of '*'.
1266 (build_automaton): Change notes to match.
1268 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
1270 * config/m32r/m32r.md: Use define_constants for unspec and
1273 2004-01-10 Jan Hubicka <jh@suse.cz>
1276 * expr.c (expand_expr_real): More curefully expand union casts.
1278 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
1280 * config/m32r/m32r.md (flush_icache): Use 1 for
1283 2004-01-10 David Edelsohn <edelsohn@gnu.org>
1284 James E Wilson <wilson@specifixinc.com>
1287 * dbxout.c (dbxout_symbol): Remove initialization of
1288 current_sym_code, current_sym_value, and current_sym_addr.
1289 (dbxout_symbol_location): Same.
1290 (dbxout_prepare_symbol): Zero current_sym_code,
1291 current_sym_value, and current_sym_addr.
1293 2004-01-10 Richard Sandiford <rsandifo@redhat.com>
1295 * tree.c (get_unwidened): Reorder conditions so that the null pointer
1296 check is done first.
1298 2004-01-09 Eric Christopher <echristo@redhat.com>
1300 * toplev.c (rest_of_handle_cfg): Add reg_scan pass
1301 if we're running mark_constant_function.
1303 2004-01-09 Jeff Bailey <jbailey@nisa.net>
1306 * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
1308 2004-01-09 Andrew Pinski <pinskia@physics.uc.edu>
1311 * dbxout.c (dbxout_type_fields): Return if any item is
1312 error_mark_node or the type is error_mark_node.
1314 2004-01-09 Geoffrey Keating <geoffk@apple.com>
1316 * config/rs6000/darwin-ldouble.c: Add big comment explaining
1317 exactly what is expected as a 'long double'.
1318 (_xlqadd): When a value to be returned is representable as a
1319 'double', just return it directly, do not construct it using a union.
1320 Also, correct final fixup.
1321 (_xlqmul): Likewise.
1322 (_xlqdiv): Likewise.
1323 * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.
1325 * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
1327 2004-01-09 Richard Henderson <rth@redhat.com>
1329 * recog.c (constrain_operands): Validate mem operands.
1331 2004-01-09 James E Wilson <wilson@specifixinc.com>
1333 * gcc.c (init_spec): Remove -lunwind from shared case.
1334 * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
1336 2004-01-09 Steve Ellcey <sje@cup.hp.com>
1338 * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
1339 * configure: Regenerate
1341 2004-01-09 Joseph S. Myers <jsm@polyomino.org.uk>
1344 * c-typeck.c (build_c_cast): If pedantic, warn for conversions
1345 between function and object pointers.
1346 (digest_init): When comparing a pointer to function type to the
1347 target type, only apply TREE_TYPE once to the pointer to function
1349 * except.c (for_each_eh_label_1): Treat data as a pointer to a
1350 function pointer rather than casting it to a function pointer.
1351 (for_each_eh_label): Update caller.
1352 * recog.h (struct insn_data): Use a struct or union for output.
1353 * genoutput.c (output_insn_data): Update.
1354 * final.c (get_insn_template): Update.
1356 2004-01-09 Mark Mitchell <mark@codesourcery.com>
1358 * expr.h (expand_expr): Make it a macro, not a function.
1359 (expand_expr_real): New function.
1360 * expr.c (store_expr): Adjust logic for deciding whether or not to
1361 copy the value returned by expand_expr.
1362 (expand_expr): Rename to ...
1363 (expand_expr_real): ... this. Add alt_rtl parameter. Adjust
1364 calls to language hooks.
1365 * c-common.h (c_expand_expr): Adjust prototype.
1366 * c-common.c (c_expand_expr): Add alt_rtl parameter.
1367 * langhooks-def.h (lhd_expand_expr): Change prototype.
1368 * langhooks.c (lhd_expand_expr): Add all_rtl parameter.
1369 * langhooks.h (lang_hooks): Change type of expand_expr.
1370 * stmt.c (stmt_status): Add x_last_expr_alt_rtl.
1371 (last_expr_alt_rtl): Likewise.
1372 (expand_expr_stmt_value): Set last_expr_alt_rtl.
1373 (clear_last_expr): Clear it.
1374 (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
1375 (expand_end_bindings): Save and restor last_expr_alt_rtl.
1376 * tree.def (RTL_EXPR): Give it an additional operand.
1377 * tree.h (RTL_EXPR_ALT_RTL): New macro.
1379 2004-01-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1381 * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
1382 * config/m32r/m32r.c (call26_operand): Allow in PIC mode.
1384 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
1387 * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
1388 or (ne:SI (reg:CC 17) (const_int 0)).
1389 Be specific about modes wherever possible.
1391 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
1393 * config/m32r/m32r.c (m32r_expand_block_move): Call
1394 gen_movestrsi_internal with two more arguments.
1395 (m32r_output_block_move): Adjust operand numbers.
1396 Properly update the source and destination pointers.
1397 * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
1398 'r+'. Change the set detinations to match_operand.
1400 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
1402 * final.c (FIRST_INSN_ADDRESS): Remove.
1403 (shorten_branches): Don't use FIRST_INSN_ADDRESS.
1404 * system.h (FIRST_INSN_ADDRESS): Poison.
1405 * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
1406 * config/m32r/m32r-protos.h: Remove the prototype for
1407 m32r_first_insn_address.
1408 * config/m32r/m32r.c (m32r_first_insn_address): Remove.
1409 * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
1410 * doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
1412 2004-01-09 J. Brobecker <brobecker@gnat.com>
1414 * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
1416 (is_ada_subrange_type): DIEs for enumeration subtypes should be
1417 emitted as subrange types too.
1418 (subrange_type_die): Add handling of enumeration subtypes.
1420 2004-01-08 Richard Henderson <rth@redhat.com>
1423 Revert: Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
1424 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
1425 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
1426 (ix86_address_cost): Be prepared for SUBREGed registers.
1427 (legitimate_address_p): Accept SUBREGed registers.
1429 2004-01-08 Kelley Cook <kcook@gcc.gnu.org>
1431 * Makefile.in: Rename configure.in to configure.ac
1432 * doc/sourcebuild.texi: Likewise.
1433 * configure: Regenerate.
1434 * config.in: Regenerate.
1436 2004-01-08 Stuart Hastings <stuart@apple.com>
1438 * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
1440 2004-01-08 Jan Hubicka <jh@suse.cz>
1442 * cgraphunit.c (cgraph_decide_inlining): Fix typo.
1444 2004-01-08 Geoffrey Keating <geoffk@apple.com>
1446 * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
1447 (UNSPEC_FIX_TRUNC_TF): New constant.
1448 (movtf_internal): Make splitter active only when insn is active.
1449 (extenddftf2): Rewrite to properly load zero into low part.
1450 (extenddftf2_internal): New.
1451 (extendsftf2): Rewrite.
1452 (truncdftf2): Correct length.
1453 (floatditf2): Delete.
1454 (fix_trunc_helper): New.
1455 (fix_trunctfdi2): Use fix_trunc_helper.
1456 (fix_trunctfsi2): Likewise.fix_trunc
1457 (fix_trunctfsi2_internal): New.
1459 * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
1460 addresses are legitimate on Darwin even when flag_pic.
1461 (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
1462 non-offsettable addresses for loads of TFmode constants.
1464 2004-01-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1466 * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
1467 variables in the appropriate bss section.
1469 2004-01-09 Alan Modra <amodra@bigpond.net.au>
1471 * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
1472 target_flags has MASK_POWERPC64 when -m64.
1473 * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
1474 to 620, 630, power3, power4 and rs64a entries.
1475 * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
1477 2004-01-08 Richard Sandiford <rsandifo@redhat.com>
1479 * simplify-rtx.c (simplify_immed_subreg): Fix construction of
1480 floating-point constants.
1482 2004-01-08 J. Brobecker <brobecker@gnat.com>
1484 * dwarf2out.c (subrange_type_die): Add context_die parameter.
1485 Create the subrange_type DIE using the given context DIE.
1486 (modified_type_die): Update call to subrange_type_die.
1488 2004-01-08 Zack Weinberg <zack@codesourcery.com>
1490 * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
1491 Add multiple-include guard.
1493 2004-01-08 Hartmut Penner <hpenner@de.ibm.com>
1495 * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
1496 all vector constant loadable by vsplt*.
1497 (output_vec_const_move): Likewise.
1499 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
1502 * c-typeck.c (comptypes): Only treat enumerated types in the same
1503 translation unit as compatible with each other when they are the
1505 * doc/extend.texi: Update.
1507 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
1510 * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
1511 array type from the array element type.
1513 2004-01-07 Alan Modra <amodra@bigpond.net.au>
1515 * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
1516 * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
1517 * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
1518 (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
1519 * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
1521 2004-01-06 Eric Christopher <echristo@redhat.com>
1523 * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
1524 (DWARF2_DEBUGGING_INFO): Define.
1525 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
1526 * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
1527 * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
1529 (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
1530 * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
1531 * config/mips/iris5gas.h: Ditto.
1532 (DBX_DEBUGGING_INFO): Remove.
1533 (DWARF2_DEBUGGING_INFO): Ditto.
1534 (MIPS_DEBUGGING_INFO): Ditto.
1535 (PREFERRED_DEBUGGING_TYPE): Ditto.
1536 * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
1537 (PREFERRED_DEBUGGING_TYPE): Ditto.
1538 (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
1539 * config/mips/elf64.h: Ditto.
1541 2004-01-06 Jan Hubicka <jh@suse.cz>
1543 * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
1544 (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
1546 2004-01-06 Geoffrey Keating <geoffk@apple.com>
1548 * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
1549 (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
1550 * config/rs6000/darwin-ldouble.c: New.
1552 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
1554 (constant_subword): Delete.
1555 * rtl.h (constant_subword): Delete prototype.
1556 (immed_double_const): Is not in varasm.c.
1557 * simplify-rtx.c (simplify_immed_subreg): New.
1558 (simplify_subreg): Use simplify_immed_subreg.
1560 * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
1561 than trying to generate RTL directly.
1562 (fix_trunctfsi2): Use expand_fix rather than trying to generate
1565 * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
1567 2004-01-06 David Edelsohn <edelsohn@gnu.org>
1569 * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
1570 function into a separate macro.
1571 (read_only_data_section): Add void argument.
1572 (private_data_section): Same.
1573 (read_only_private_data_section): Same.
1574 (toc_section): Same.
1576 2004-01-06 Jan Hubicka <jh@suse.cz>
1578 * invoke.texi: Remove typo in last change.
1581 * config.gcc: Accept opteron and athlon-64 as variants
1583 * i386.c (override_options): Likewise.
1584 * invoke.texi (i386 -mtune): Expand documentation.
1586 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
1588 * alias.c: Fix comment typos.
1589 * builtins.c: Likewise.
1592 * dominance.c: Likewise.
1593 * dwarf2out.c: Likewise.
1594 * emit-rtl.c: Likewise.
1596 * final.c: Likewise.
1597 * fold-const.c: Likewise.
1599 * genattrtab.c: Likewise.
1600 * genrecog.c: Likewise.
1601 * gensupport.c: Likewise.
1602 * ggc-zone.c: Likewise.
1603 * integrate.c: Likewise.
1604 * local-alloc.c: Likewise.
1606 * recog.c: Likewise.
1607 * regmove.c: Likewise.
1608 * reg-stack.c: Likewise.
1609 * reorg.c: Likewise.
1610 * rtlanal.c: Likewise.
1612 * sched-ebb.c: Likewise.
1613 * simplify-rtx.c: Likewise.
1614 * toplev.c: Likewise.
1615 * varasm.c: Likewise.
1617 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
1619 * doc/install.texi: Fix typos.
1620 * doc/invoke.texi: Likewise.
1621 * doc/md.texi: Likewise.
1623 2004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1625 * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
1627 2004-01-06 Jan Hubicka <jh@suse.cz>
1629 * i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
1630 (function_arg_advance): Do not pass aggregates in SSE; deal handling
1632 (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
1634 * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
1635 (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
1636 (MMX_REGPARM_MAX): Similarly for -mmmx.
1638 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1640 * config/sh/linux.h: Fix comment formatting.
1641 * config/sh/netbsd-elf.h: Likewise.
1642 * config/sh/sh.c: Likewise.
1643 * config/sh/sh.h: Likewise.
1644 * config/sh/vxworks.h: Likewise.
1646 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1648 * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
1649 * toplev.c (output_file_directive): Don't use
1650 ASM_OUTPUT_MAIN_SOURCE_FILENAME.
1652 2004-01-05 Daniel Berlin <dberlin@dberlin.org>
1654 * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
1655 (USING_MMAP): We don't support non-mmap.
1656 (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
1658 (struct page_entry): Remove bytes_free.
1659 (struct page_table_chain): Remove.
1660 (struct globals): Remove page_table member.
1661 (loookup_page_table_entry): Function deleted.
1662 (set_page_table_entry): Ditto.
1663 (ggc_allocated_p): No longer need page table lookups.
1664 (ggc_marked_p): Ditto.
1665 (alloc_small_page): Don't care about bytes_free anymore.
1666 (alloc_large_page): Round up size.
1667 (ggc_alloc_zone_1): Mark large objects as such, and calculate
1668 their size the new way.
1669 Remove page table lookups and setting.
1670 (ggc_get_size): Calculate large object size the new way.
1671 (sweep_pages): Redo to account for fact that we no longer have
1673 (ggc_collect): No longer need to reincrement bytes_free.
1674 (ggc_pch_alloc_object): Handle new large objects properly.
1675 (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
1677 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1679 * doc/invoke.texi: Remove a page break.
1681 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1683 * config/avr/avr.c (avr_output_function_prologue): Remove an
1684 extra pair of curly braces.
1686 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1688 * config/mn10300/mn10300.c: Fix comment formatting.
1689 * config/mn10300/mn10300.h: Likewise.
1691 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1693 * tree.h: Update documentation on nothrow_flag.
1694 * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
1697 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1699 * doc/invoke.texi: Remove traces of dead ports.
1701 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1703 * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
1706 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1709 * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
1711 * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
1712 (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
1713 string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check
1714 the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
1715 (mips_symbol_insns): Don't trust the local/global classification.
1716 (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
1717 (override_options): Make -mabicalls -fno-unit-at-a-time imply
1718 -mno-explicit-relocs.
1719 (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
1720 between local and global symbols.
1722 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1724 * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
1725 (mips_preferred_reload_class): Declare.
1726 * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
1727 (EXTRA_CONSTRAINT): Update accordingly.
1728 (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
1729 * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
1730 (mips_preferred_reload_class): New function. Prefer LEA_REGS if
1731 mips_dangerous_for_la25_p.
1732 (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
1733 if mips_dangerous_for_la25_p.
1735 2004-01-05 Bernardo Innocenti <bernie@develer.com>
1737 * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
1740 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org>
1742 * configure.ac: Use AC_PROG_CPP_WERROR.
1743 * configure: Regenerate.
1745 2004-01-04 Zack Weinberg <zack@codesourcery.com>
1747 * .cvsignore: Add autom4te.cache.
1749 2004-01-04 Richard Sandiford <rsandifo@redhat.com>
1751 * doc/invoke.texi: Revamp documentation of MIPS options. Remove
1752 -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
1753 -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first,
1754 then architecture options, then ABI options. General rewording.
1756 2004-01-04 Joseph S. Myers <jsm@polyomino.org.uk>
1759 * doc/extend.texi: Clarify definition of malloc attribute.
1761 2004-01-04 Jan Hubicka <jh@suse.cz>
1763 * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
1764 * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
1765 * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
1766 (cgraph_inline_p): Add extra argument reason.
1767 * cgraphunit.c: Minor formating fixes.
1768 cgraph_first_inlined_callee): New functions.
1769 (record_call_1): Record builtins too.
1770 (cgraph_analyze_function): Update inline_failed messages.
1771 (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
1772 cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
1773 (cgraph_check_inline_limits): Likewise; Add argument reason.
1774 (cgraph_set_inline_failed): New static function.
1775 (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
1777 (cgraph_inline_p): Add new argument reason.
1778 * tree-inline.c (expand_call_inline): Update warning.
1780 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
1782 * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
1783 with modern equivalents.
1784 * configure: Regenerate.
1786 * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
1787 * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
1788 * configure: Regenerate.
1790 * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
1792 * configure.in: Rename to configure.ac.
1793 * configure.ac: Renamed from configure.in; make minimum necessary
1794 changes for autoconf 2.5x.
1795 * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
1796 * configure: Regenerate with autoconf 2.57.
1798 2004-01-03 Kazu Hirata <kazu@cs.umass.edu>
1800 * config/mips/linux.h: Fix comment formatting.
1801 * config/mips/mips.c: Likewise.
1802 * config/mips/mips.h: Likewise.
1803 * config/mips/mips.md: Likewise.
1804 * config/mips/netbsd.h: Likewise.
1805 * config/mips/windiss.h: Likewise.
1807 2004-01-02 Richard Henderson <rth@redhat.com>
1809 * config/i386/i386.md (fp constant pool splitter): Reorg suppression
1810 for sse and 387; add suppression for mmx.
1812 2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
1814 * loop.c (loop_optimize): Free all loops_info's mems.
1816 * c-typeck.c (finish_init): Free spelling_base before
1819 * cfgloop.c (flow_loops_find): Always free the sbitmap
1822 * predict.c (estimate_probability): Free bbs after being
1825 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
1827 * config/mn10300/mn10300.h (PREDICATE_CODES): Add
1828 const_8bit_operand and call_address_operand.
1830 2004-01-02 Jan Hubicka <jh@suse.cz>
1832 * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls
1833 when there is nothing to inline but warnings are requested.
1834 (cgraph_decide_inlining): Fix memory leak.
1836 2004-01-02 Jan Hubicka <jh@suse.cz>
1838 * expr.c (store_constructor): Fix pasto in previous patch.
1840 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
1842 * config/i386/cygming.h: Fix comment formatting.
1843 * config/i386/djgpp.h: Likewise.
1844 * config/i386/gthr-win32.c: Likewise.
1845 * config/i386/i386-interix.h: Likewise.
1846 * config/i386/i386.c: Likewise.
1847 * config/i386/i386.h: Likewise.
1848 * config/i386/openbsd.h: Likewise.
1849 * config/i386/winnt.c: Likewise.
1850 * config/i386/xm-mingw32.h: Likewise.
1852 2004-01-02 Joseph S. Myers <jsm@polyomino.org.uk>
1854 * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
1855 copyright and last modification dates.
1857 2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de>
1859 * doc/install.texi (Specific): Mention x86_64.
1861 2004-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1863 * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
1864 Call force_operand on plus_constant result.
1866 2004-01-01 Jan Hubicka <jh@suse.cz>
1868 * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
1869 * expr.c (store_constructor): Use vec_init pattern.
1870 * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
1871 * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
1872 (vec_set_optab, vec_extract_optab, vec_init_optab): New.
1873 * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
1875 (sse2_unpc?pd): Fix pattern.
1876 (sse2_movlpd): Kill.
1877 (sse2_movsd): Deal with movlpd too.
1878 * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
1879 (ix86_expand_vector_init): New.
1880 * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
1881 * md.texi (vec_set, vec_extract): Document
1883 2003-12-31 Jan Hubicka <jh@suse.cz>
1886 * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside
1890 * toplev.c (dump_file_index): Reorder ce3 and bbro.
1891 (dump_file): Likewise.
1892 (rest_of_compilation): Likewise.
1895 * cgraph.c (cgraph_function_possibly_inlined): Even with
1896 flag_really_no_inline we inline always_inline functions.
1897 * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
1898 for non-always_inline functions when there is flag_really_no_inline.
1899 (cgraph_decide_inlining): Limit work done when not inlining.
1900 (cgraph_decide_inlining_incrementally): Likewise.
1901 (cgraph_optimize_function): Check whether something got inlined.
1902 * c-objc-common.c (c_disregard_inline_limits): Do not always inline
1903 extern inline functions when not inlining.
1905 * opts.c (decode_options): Disable crossjumping at -O1
1906 * invoke.texi (-O1): Document change.
1908 See ChangeLog.10 for earlier changes.