1 2004-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3 * pa-protos.h (compute_frame_size): Use HOST_WIDE_INT for frame sizes.
4 * pa.c (store_reg, store_reg_modify, load_reg, set_reg_plus_d):
5 Likewise. Handle frames larger than 0x7fffffff on 64-bit ports.
6 (emit_move_sequence): Check scratch_reg first in various if statements.
7 Extend source simplification to handle all 64-bit CONST_INTs.
8 (pa_output_function_prologue): Use HOST_WIDE_INT_PRINT_DEC for printing
10 (hppa_expand_prologue, hppa_expand_epilogue): Use HOST_WIDE_INT for
11 frame offset calculations.
12 * pa.h (NEW_HP_ASSEMBLER): Add comment.
13 (MAX_LEGIT_64BIT_CONST_INT, MIN_LEGIT_64BIT_CONST_INT,
14 LEGITIMATE_64BIT_CONST_INT_P): Define.
15 (LEGITIMATE_CONSTANT_P): Use LEGITIMATE_64BIT_CONST_INT_P. Treat
16 any CONST_INT as legitimate during and after reload.
17 (VAL_32_BITS_P, INT_32_BITS): Define.
18 (LEGITIMIZE_RELOAD_ADDRESS): Handle large frame offsets.
20 2004-01-20 Jan Hubicka <jh@suse.cz>
22 * emit-rtl.c (verify_rtx_sharing, copy_insn_1,
23 emit_copy_of_insn_after, emit_copy_of_insn_after): Clobbers
24 containing hard regs are shared.
25 (gen_hard_reg_clobber): New function.
26 (hard_reg_clobbers): New array.
27 * genemit.c (gen_exp): Use gen_hard_reg_clobber.
28 (copy_rtx): Do not copy clobbers containing hard regs.
29 * rtl.h (gen_hard_reg_clobber): Declare.
31 2004-01-20 Jan Hubicka <jh@suse.cz>
33 * varray.c: Include hashtab.h
34 (varray_descriptor): New structure.
35 (hash_descriptor, eq_descriptor, varray_descriptor,
36 print_statistics): New static functions
37 (varray_init, varray_grow): Update statistics
38 (dump_varray_statistics): New function.
39 * varray.h (dump_varray_statistics): Declare.
40 * toplev.c (finalize): Call it.
41 * Makefile.in (varray.o): Add dependency.
43 2004-01-20 Jan Hubicka <jh@suse.cz>
45 * cselib.c: Include alloc-pool.h
46 (empty_vals, empty_elt_lists, empty_elt_loc_lists): Kill.
47 (elt_loc_list_pool, elt_list_pool, cselib_val_pool): Declare.
48 (new_elt_list, new_elt_loc_list, unchain_one_elt_list,
49 unchain_one_elt_loc_list_pool, unchain_one_value,
50 new_cselib_val): Simplify using allocpool.
51 (cselib_init): Initialize allocpools.
52 (cselib_finish): Finish allocpools.
53 * Makefile.in (cselib.o): Depend on alloc-pool.h
55 2004-01-20 Richard Sandiford <rsandifo@redhat.com>
57 * config/mips/mips.c (mips_load_call_address): Make the call insn
58 use $gp if it could be calling a lazy binding stub.
60 2004-01-20 Kazu Hirata <kazu@cs.umass.edu>
62 * config/s390/s390.c (TARGET_PROMOTE_FUNCTION_ARGS): Define.
63 (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
64 (TARGET_STRUCT_VALUE_RTX): Likewise.
65 * config/s390/s390.h (PROMOTE_FUNCTION_ARGS): Remove.
66 (PROMOTE_FUNCTION_RETURN): Remove.
67 (STRUCT_VALUE): Remove.
69 2004-01-20 Denis Chertykov <denisc@overta.ru>
71 * config/avr/avr.h (BASE_REG_CLASS): Don't permit to use X
72 register as pointer after reload.
74 2004-01-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
77 * loop.c: Include ggc.h.
78 (loop_optimize): Run garbage collector between optimization of loops.
79 * Makefile.in (loop.o): Add GGC_H dependency.
81 2004-01-20 Hartmut Penner <hpenner@de.ibm.com>
83 * gcc/config/rs6000/rs6000.c (function_arg) Handle
84 vector register special in function without prototype.
85 (function_arg_advance): Vector parameters get always
86 GPRs allocated for the linux64 target.
88 2004-01-20 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
90 * config/m32r/m32r.h (TARGET_M32R2). Test for TARGET_M32R2_MASK
91 not TARGET_M32RX_MASK.
93 2004-01-20 Eric Botcazou <ebotcazou@libertysurf.fr>
96 * config/sparc/sparc.c (function_arg): Reorder the cases.
98 2004-01-19 Per Bothner <per@bothner.com>
100 Move cpp_reader's line_maps field to a shared global.
101 * cpphash.h (cpp_reader): Rename line_maps field to line_table
102 and change the type to a pointer rather than a struct.
103 * cppinit.c (cpp_push_main_field): Adjust accordingly.
104 * cpplib.c (do_include_common, _cpp_do_file_change, cpp_get_callbacks):
106 * cppfiles.c (validate_pch): Likewise.
107 * cppmacro.c (_cpp_warn_if_unused_macro, _cpp_builtin_macro_text):
109 * cpperror.c (print_location): Likewise.
110 * cpplib.h (cpp_create_reader): New line_maps pointer parameter.
111 * cppinit.c (cpp_create_reader): Handle new parameter.
112 (cpp_destroy): Don't free line_maps - that's no longer our job.
113 * input.h (line_table): New variable.
114 * toplev.c (line_table): Declare variable.
115 (general_init): Initialize line_table.
116 * c-opts.c (c_common_init_options): Pass line_table to
118 * fix-header.c (read_scan_file): New local variable line_table.
119 Initialize, and pass it to cpp_create_reader.
120 * Makefile.in (LIBS, LIBDEPS): Add libcpp.a.
121 (C_AND_OBJC_OBJS, fix-header): Remove redundant libcpp.a.
123 2004-01-19 Per Bothner <per@bothner.com>
125 Implement a cache for linemap_lookup.
126 * line-map.h (struct_line_maps): Add cache field.
127 * line-map.c (linemap_init): Zero cache field.
128 (linemap_add): Set cache field to offset of newly allocated map.
129 (linemap_lookup): Use and set cache field.
131 2004-01-20 Kaz Kojima <kkojima@gcc.gnu.org>
133 PR optimization/13567
134 * cse.c (cse_basic_block): Call cse_insn with a non-null
135 libcall_insn for the last SET insn of a no-confilict block.
137 2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
139 * Makefile.in (target_noncanonical, program_transform_name): Use
140 immediate define instead of deferred.
141 (GCC_INSTALL_NAME, GCC_TARGET_INSTALL_NAME, CPP_INSTALL_NAME,
142 PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
143 GCCBUG_INSTALL_NAME): Define via a immediate $(shell) instead of
146 2004-01-20 Joseph S. Myers <jsm@polyomino.org.uk>
148 * c-decl.c (c_init_decl_processing): Set pedantic_lvalues to
149 true unconditionally.
150 * c-typeck.c (unary_complex_lvalue, pedantic_lvalue_warning):
152 (build_unary_op, build_modify_expr): Don't handle extended
154 (build_component_ref, build_conditional_expr): Call non_lvalue
155 instead of pedantic_non_lvalue.
156 (build_c_cast): Don't condition use of non_lvalue on pedantic.
157 * fold-const.c (fold): Don't check pedantic directly for
158 COMPOUND_EXPR. Ensure that results for COMPOUND_EXPR are
159 passed to pedantic_non_lvalue.
160 * doc/extend.texi: Remove documentation of extended lvalues.
162 2004-01-19 Roger Sayle <roger@eyesopen.com>
165 * simplify-rtx.c (associative_constant_p): Delete.
166 (simplify_associative_operation): Rewrite to linearize terms, and
167 attempt to simplify new term against both left and right subterms.
168 (simplify_binary_operation): Call swap_commutative_operands_p on
169 op0 and op1, not trueop0 and trueop1. Move the initialization of
170 trueop0 and trueop1 down to where first needed.
171 (simplify_relational_operation): Likewise.
172 * rtlanal.c (commutative_operand_precedence): Also order constant
173 operands using avoid_constant_pool_reference.
175 2004-01-19 Richard Henderson <rth@redhat.com>
177 * config/alpha/alpha.c (aligned_memory_operand): Check MEM_ALIGN,
178 don't check memory mode.
179 (unaligned_memory_operand): Likewise.
180 (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Don't
181 abort for op0 not MEM.
183 * config/alpha/alpha.c (alpha_expand_mov_nobwx): If the destination
184 is not a reg, copy to a scratch first.
185 (aligned_loadqi, aligned_loadhi, unaligned_loadqi, unaligned_loadhi,
186 unaligned_loadqi_le, unaligned_loadqi_be, unaligned_loadhi_le,
187 unaligned_loadhi_be): Expect op0 in DImode; don't SUBREG.
188 (reload_inqi, reload_inhi): Fix mode of op0.
189 (reload_inqi_help, reload_inhi_help, reload_outqi_help,
190 reload_outhi_help): Likewise. Use define_insn_and_split.
192 * config/alpha/alpha.md (call peepholes): Check for REG_NORETURN
195 2004-01-19 Eric Botcazou <ebotcazou@libertysurf.fr>
197 * config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): New. Emit
198 "tls_object" for thread-local objects.
199 * config/sparc/sparc.c (sparc_elf_asm_named_section): Emit
200 "#tls" for thread-local sections.
201 * configure.ac (thread-local checks): Specify --fatal-warnings in
202 every binutils-specific checks. For sparc*-*-*, test whether the
203 OS is Solaris and the tools are native and act accordingly.
204 * configure: Rebuild.
206 2004-01-19 Jeff Law <law@redhat.com>
208 * contrib.texi: Update Paolo Carlini's entry. New entries for
209 Jerry Quinn and Petur Runolfsson.
211 2004-01-19 Roger Sayle <roger@eyesopen.com>
213 * config/i386/i386.md (*movhi_1, *movqi_1): When optimizing for
214 size, don't use the larger zero-extending loads.
216 2004-01-19 Richard Henderson <rth@redhat.com>
218 * alpha.h (HARD_REGNO_MODE_OK): Disallow SImode in FP regs.
219 * alpha.md (UNSPEC_NT_LDA): Remove.
220 (UNSPEC_CVTLQ, cvtlq): New.
221 (extendsidi2_1): Rename from extendsidi2_nofix; remove f/f.
222 (extendsidi2_fix): Remove.
223 (extendsidi2 splitter): Use cvtlq.
224 (extendsidi2 fp peepholes): Remove.
225 (cvtql): Use SFmode instead of SImode.
226 (fix_trunc?fsi): Update to match.
227 (floatsisf2_ieee, floatsisf2, floatsidf2_ieee, floatsidf2): New.
228 (movsi): Rename from movsi_nofix, remove f alternatives.
229 (movsi_nt_vms): Similarly.
230 (movsi_fix, movsi_nt_vms_fix): Remove.
232 * alpha.c (alpha_expand_prologue): Use adddi3, not nt_lda.
234 2004-01-19 Jan Hubicka <jh@suse.cz>
236 * cgraph.c (cgraph_remove_node): Fix removal from linked list.
237 * cgraphunit.c (cgraph_finalize_compilation_unit): Clear next_needed
239 (cgraph_remove_unreachable_nodes): New function
240 (cgraph_decide_inlining_of_small_function): Fix pasto.
241 (cgraph_decide_inlining_incrementally): Fix pasto.
242 (cgrpah_decide_inlining): Likewise; remove unreachable nodes.
244 2004-01-19 Steven Bosscher <stevenb@suse.de>
246 * gengtype.c (header_file): Make it static.
247 (write_types_process_field, write_enum_defn): Minor whitespace fixes.
248 * gengtype.h (header_file): No longer extern.
250 2004-01-18 Kazu Hirata <kazu@cs.umass.edu>
252 * defaults.h (CASE_VECTOR_PC_RELATIVE): Provide the default.
253 * expr.c (CASE_VECTOR_PC_RELATIVE): Remove.
254 * stmt.c (CASE_VECTOR_PC_RELATIVE): Likewise.
256 2004-01-18 Kazu Hirata <kazu@cs.umass.edu>
258 * stmt.c (HAVE_casesi): Define it not already defined.
259 (HAVE_tablejump): Likewise.
260 (expand_end_case_type): Resort to the binary tree method if
261 neither casesi or tablejump is available.
263 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
265 * final.c (final_scan_insn): Make non-static again.
266 * output.h (final_scan_insn): Re-add prototype.
267 * config/arc/arc.c (arc_output_function_epilogue): Add NULL
268 to final_scan_insn call.
269 * config/cris/cris.c (cris_target_asm_function_epilogue): Likewise.
270 * config/mips/mips.c (mips_output_conditional_branch): Likewise.
271 * config/pa/pa.c (output_lbranch, output_call): Likewise.
272 * config/sh/sh.c (print_slot): Likewise.
273 * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Likewise.
274 (output_sibcall, sparc_flat_function_epilogue): Likewise.
276 2004-01-18 Jan Hubicka <jh@suse.cz>
278 * basic-block.h (try_redirect_by_replacing_jump): Declare.
279 * cfgcleanup.c (try_optimize_cfg): Use it.
280 * cfgrtl.c (try_redirect_by_replacing_jump): Export.
281 (rtl_redirect_edge_and_branch, cfg_layout_redirect_edge_and_branch):
283 (cfg_layout_merge_blocks): Use try_redirect_by_replacing_jump.
286 2004-01-16 Geoffrey Keating <geoffk@apple.com>
288 * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
289 even after reload, just don't remove the actual jump tables.
291 2004-01-18 Kazu Hirata <kazu@cs.umass.edu>
293 * config/rs6000/rs6000.h (STRICT_ARGUMENT_NAMING): Remove.
295 2004-01-18 Kazu Hirata <kazu@cs.umass.edu>
297 * defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of
298 the size of a pointer in bytes.
300 2004-01-18 Roger Sayle <roger@eyesopen.com>
302 * builtins.c (expand_builtin_expect_jump): Fix thinko of reusing
303 live "next" variable, which could lead to an infinite loop.
305 2004-01-18 Andrew Pinski <pinskia@physics.uc.edu>
307 * config/rs6000/altivec.h: Wrap C++ functions in extern "C++"
310 * config/rs6000/rs6000.c (rs6000_special_round_type_align):
311 Check for NULL in the chain and remove repeated code.
313 2004-01-18 Jan Hubicka <jh@suse.cz>
315 * coverage.c (checksum_string): Rename to ...
316 (coverage_checksum_string): ... this one, Use crc32_string; recognize
317 names containing random number and zero the number out in order to get
320 2004-01-18 Richard Sandiford <rsandifo@redhat.com>
322 * config/mips/mips.c (mips_got_alias_set): Mark for PCH.
324 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk>
326 * doc/c-tree.texi, doc/cpp.texi, doc/extend.texi,
327 doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi,
328 doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi,
329 doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi,
330 doc/trouble.texi: Remove trailing whitespace.
332 2004-01-18 Richard Sandiford <rsandifo@redhat.com>
335 * config/mips/mips.c: Include cfglayout.h.
336 (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define.
337 (mips_unspec_offset_high): Add temporary register argument.
338 (mips_load_call_address): New function, split out from...
339 (mips_expand_call): ...here.
340 (mips_output_cplocal): New function.
341 (mips_output_function_prologue, mips_output_function_epilogue): Use it.
342 (mips_emit_loadgp): New function, split out from...
343 (mips_expand_prologue): ...here.
344 (mips_output_mi_thunk): New function.
346 2004-01-17 Bernardo Innocenti <bernie@develer.com>
348 * longlong.h (mc68020, __mc68030__, mc68030, __mc68040__, mc68040,
349 mcpu32): Remove redundant checks for implied target predefines.
351 2004-1-17 Andrew Pinski <pinskia@physics.uc.edu>
353 * config/rs6000/rs6000.c (rs6000_special_round_type_align):
354 Return type is unsigned int not int.
355 * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
358 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk>
360 * doc/contrib.texi, doc/cppenv.texi, doc/extend.texi,
361 doc/install.texi, doc/invoke.texi, doc/tm.texi: Consistently use
362 "GNU/Linux" and "Microsoft Windows" terminology.
364 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk>
366 * doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
367 doc/cppopts.texi, doc/extend.texi, doc/install.texi,
368 doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
369 doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
370 @smallexample instead of @example.
372 2004-01-17 Ziemowit Laski <zlaski@apple.com>
374 * objc/objc-act.c (build_objc_method_call): Use target
375 hooks instead of macros to determine if ..._stret
376 dispatchers should be used (NeXT runtime only).
378 2004-01-17 Roger Sayle <roger@eyesopen.com>
380 * builtins.c (expand_builtin_expect_jump): Fix mistake in my
381 last patch. Use XEXP (x, 0) to get a LABEL_REF's CODE_LABEL.
383 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
385 * rtl.h (emit_insn_before_sameloc, emit_jump_insn_before_sameloc)
386 (emit_call_insn_before_sameloc, emit_insn_after_sameloc)
387 (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): New
389 * reload1.c (emit_reload_insns): Use them.
390 * emit-rtl.c (emit_insn_before_sameloc, emit_insn_after_sameloc)
391 (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): Check
394 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
396 * final.c (SEEN_BB, SEEN_NOTE, SEEN_EMITTED): Define.
397 (final_scan_insn): Update to take an additional SEEN argument. Emit
398 a line note after the prologue. Make static.
399 (line_note_exists): Remove.
400 (final): Don't initialize line_note_exists. Update call to
402 * output.h (final_scan_insn): Remove prologue.
403 * function.c (set_insn_locators): Update comment.
404 (thread_prologue_and_epilogue_insns): Add a comment.
406 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
409 * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
411 * config/rs6000/rs6000.c (rs6000_special_round_type_align):
413 * config/rs6000/linux64.h (ROUND_TYPE_ALIGN): Use it.
414 * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Likewise.
415 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Likewise.
417 2004-01-17 Jan Hubicka <jh@suse.cz>
419 * toplev.c (rest_of_handle_reorder_blocks): Fix pasto in previous
422 * toplev.c (HAVE_conditional_execution): Provide default.
423 (rest_of_handle_reorder_blocks): For conditional_execution target
424 update liveness once after all transformations
425 (rest_of_compilation): Do crossjumping before ce3.
427 2004-01-17 Geoffrey Keating <geoffk@apple.com>
429 * alias.c (new_alias_set): Mark last_alias_set for PCH.
430 (get_varargs_alias_set): Rename 'set' to 'varargs_set' and mark it
432 (get_frame_alias_set): Likewise, except rename it to 'frame_set'.
433 * config/rs6000/rs6000.c (rs6000_sr_alias_set): Mark for PCH.
434 (get_TOC_alias_set): Mark 'set' for PCH.
436 2004-01-16 Geoffrey Keating <geoffk@apple.com>
438 * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
439 even after reload, just don't remove the actual jump tables.
441 2004-01-17 J. Brobecker <brobecker@gnat.com>
443 * dwarf2out.c (is_subrange_type): Renamed from is_ada_subrange_type().
444 Remove checks for is_ada() and TREE_UNSIGNED.
445 (subrange_type_die): Emit a byte_size attribute if the subrange
446 type size is different from the base type size.
447 (modified_type_die): Replace call to is_ada_subrange_type() by
448 call to is_subrange_type().
450 2004-01-16 Andrew Pinski <pinskia@physics.uc.edu>
452 * config/sh/sh.c: Include ggc.h.
454 2004-01-16 Geoffrey Keating <geoffk@apple.com>
456 * Makefile.in (MD5_H): New.
457 (fold-const.o): Depend on md5.h.
458 (dwarf2out.o): Likewise.
459 (cppfiles.o): Likewise.
460 * cppfiles.c: Include md5.h.
461 (should_stack_file): Check against list read from PCH file.
462 (struct pchf_data): New.
463 (pchf): New variable.
464 (struct pchf_adder_info): New.
466 (pchf_save_compare): New.
467 (_cpp_save_file_entries): New.
468 (_cpp_read_file_entries): New.
469 (struct pchf_compare_data): New.
471 (check_file_against_entries): New.
472 * cpphash.h (_cpp_save_file_entries): Prototype.
473 (_cpp_read_file_entries): Prototype.
474 * cpppch.c (cpp_write_pch_state): Write the list of headers.
475 (cpp_read_state): Read the list of headers.
477 2004-01-17 Jan Hubicka <jh@suse.cz>
479 * c-common.c (c_estimate_num_insns_1): Handle builtin_constant_p and
480 builtin_expect specially.
481 * params.def (PARAM_MAX_INLINE_INSNS_AUTO): Set to 100.
482 (PARAM_LARGE_FUNCTION_INSNS): Set to 3000.
483 * invoke.texi (max-inline-insns-single): Set to 100.
484 (large-function-insns): Set to 3000.
486 2004-01-16 Eric Christopher <echristo@redhat.com>
487 Chandrakala Chavva <cchavva@redhat.com>
489 * cppcharset.c (one_iso88591_to_utf8): New function.
490 (convert_iso88591_utf8): Ditto. Use.
491 (conversion_tab): Use.
492 (_cpp_input_to_utf8): New function.
493 (_cpp_init_iconv_buffer): Ditto.
494 (_cpp_close_iconv_buffer): Ditto.
495 * cpphash.h: Prototype new functions.
496 (cpp_buffer): Add input_cset_desc.
497 * cppinit.c: Add input_charset default.
498 * cpplib.c (cpp_push_buffer): Support init and
500 * cpplib.h (cpp_options): Add input_charset.
502 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
504 * system.h (ASM_OUTPUT_SECTION_NAME): Poison.
505 * config/alpha/unicosmk.h: Remove a commented-out definition
506 of ASM_OUTPUT_SECTION_NAME.
507 * config/stormy16/stormy16.h: Likewise.
509 2004-01-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
511 * fixinc/inclhack.def (alpha___extern_prefix): Renamed to ...
512 (alpha___extern_prefix_sys_stat): ... this.
513 Apply to <sys/mount.h>, too.
514 Tweak to match more variations.
515 * fixinc/tests/base/sys/stat.h: Adapt for new hackname.
517 * fixinc/inclhack.def (alpha___extern_prefix,
518 alpha___extern_prefix_standards): New hacks to obey
519 __PRAGMA_EXTERN_PREFIX.
520 * fixinc/tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: New
522 * fixinc/tests/base/standards.h: Likewise.
524 * fixincl/inclhack.def (alpha_pthread): Tweak to match more
527 * fixinc/tests/base/pthread.h: Handle it.
529 * fixincl/inclhack.def (bad_lval): Sort file list.
530 Add many missing files up to Tru64 UNIX V5.1B.
531 * gcc/fixinc/tests/base/libgen.h: Renamed to ...
532 * gcc/fixinc/tests/base/dirent.h: ... this to match new file list
535 * fixinc/fixincl.x: Regenerate.
537 2004-01-16 Mark Mitchell <mark@codesourcery.com>
539 * version.c (version_string): Change to 3.5.0.
540 * doc/include/gcc-common.texi (version-GCC): Likewise.
542 2004-01-16 Jan Hubicka <jh@suse.cz>
544 * i386.md (load_tp_di): Fix pasto.
547 * i386.c (ix86_compute_frame_layout): Fix for alloca on leaf function.
549 * c-pretty-print.c (pp_c_type_cast, pp_c_abstract_declarator,
550 pp_c_character_constant, pp_c_floating_constant,
551 pp_c_additive_expression, pp_c_shift_expression,
552 pp_c_equality_expression, pp_c_and_expression,
553 pp_c_exclusive_or_expression, pp_c_inclusive_or_expression,
554 pp_c_logical_and_expression): Remove inline modifier.
555 * dwarf2out.c (get_AT): Likewise.
556 * et-forest.c (et_splay): Likewise.
557 * ra.h (ra_alloc, ra_calloc): Likewise
559 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
561 * config/frv/frv-protos.h: Fix comment formatting.
562 * config/frv/frv.c: Likewise.
563 * config/frv/frv.h: Likewise.
564 * config/frv/frv.md: Likewise.
565 * config/frv/frvbegin.c: Likewise.
566 * config/frv/frvend.c: Likewise.
568 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
570 * system.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Poison.
571 * doc/tm.texi (PREFERRED_DEBUGGING_TYPE): Don't mention
572 LINKER_DOES_NOT_WORK_WITH_DWARF2.
573 (LINKER_DOES_NOT_WORK_WITH_DWARF2): Remove.
575 2004-01-16 J"orn Rennecke <joern.rennecke@superh.com>
578 * postreload.c (reload_cse_simplify_operands): Don't remove
579 implicit extension from LOAD_EXTEND_OP.
581 2004-01-16 Jan Hubicka <jh@suse.cz>
584 * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal
586 * cfgrtl.c (rtl_can_merge_blocks, cfglayout_can_merge_blocks,
587 rtl_try_redirect_by_replacing_branch): Likewise.
589 2004-01-15 Geoffrey Keating <geoffk@apple.com>
592 * alias.c (struct alias_set_entry): Mark for GC.
593 (alias_sets): Make static, mark for GC.
594 (record_alias_subset): Use GC to allocate alias structures.
595 * varray.c (element): Make generic varrays GCed.
598 * c-typeck.c (constructor_asmspec): Delete.
599 (struct initializer_stack): Delete field 'asmspec'.
600 (start_init): Delete saving of asmspec.
601 (finish_init): Don't update constructor_asmspec.
602 * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
603 * stmt.c (expand_asm): Duplicate strings from tree.
604 (expand_asm_operands): Likewise.
605 * tree.c (tree_size): Update computation of size of STRING_CST.
606 (make_node): Don't make STRING_CST nodes.
607 (build_string): Allocate string with tree node.
608 * tree.def (STRING_CST): Update comment.
609 * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
610 (tree_string): Place contents of string in tree node.
611 * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
614 * config/rs6000/rs6000.c (rs6000_va_arg): No need to special-case
617 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
619 * c-common.h: Fix comment formatting.
620 * c-cppbuiltin.c: Likewise.
621 * c-pragma.c: Likewise.
623 * collect2.c: Likewise.
624 * cppcharset.c: Likewise.
625 * cpptrad.c: Likewise.
626 * dbxout.c: Likewise.
627 * defaults.h: Likewise.
628 * dwarf2out.c: Likewise.
629 * fold-const.c: Likewise.
630 * genautomata.c: Likewise.
631 * genconditions.c: Likewise.
632 * genflags.c: Likewise.
633 * gengtype.c: Likewise.
634 * integrate.c: Likewise.
636 * predict.c: Likewise.
637 * sdbout.c: Likewise.
639 2004-01-15 Zack Weinberg <zack@codesourcery.com>
641 * config/ia64/ia64.md (*movti_internal): C output template
643 (*movti_internal_reg): Delete.
644 (reload_inti, reload_outti): Use the correct mode on operand 2
645 in the first place, don't fix it up in the output template.
646 (movtf, reload_ointf, reload_outtf): New expanders.
647 (*movtf_internal): New define_insn_and_split.
648 * config/ia64/ia64.c (ia64_split_timode): Rename to ia64_split_tmode;
649 make static; do not hand TFmode CONST_DOUBLEs to split_double.
650 (ia64_split_tmode_move): New function, body mostly pulled
651 from ia64.md:*movti_internal.
652 (ia64_function_arg_words): New function, extracted common
653 logic from ia64_function_arg et seq.
654 (ia64_function_arg_offset): Likewise. Handle correctly the
655 case of a scalar quantity 16 bytes wide with only 8-byte alignment.
656 (ia64_function_arg, ia64_function_arg_partial_nregs)
657 (ia64_function_arg_advance): Use ia64_function_arg_words and
658 ia64_function_arg_offset.
659 (ia64_function_value): TCmode does not go in float regs.
660 (ia64_secondary_reload_class): Also handle TFmode.
661 * config/ia64/ia64-protos.h: Remove prototype for
662 ia64_split_timode; add prototype for ia64_split_tmode_move.
664 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
666 * Makefile.in (MAINT): Make it an immediate assignment.
668 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
670 * config/m32r/m32r.md: Remove useless calls to gen_lowpart.
672 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
674 * config/h8300/coff.h: Replace Hitachi with Renesas.
675 * config/h8300/elf.h: Likewise.
676 * config/h8300/h8300-protos.h: Likewise.
677 * config/h8300/h8300.c: Likewise.
678 * config/h8300/h8300.h: Likewise.
679 * config/h8300/h8300.md: Likewise.
680 * config/h8300/lib1funcs.asm: Likewise.
682 2004-01-15 Andrew Pinski <apinski@apple.com>
684 * config/rs6000/rs6000.c (uses_TOC): Wrap #if TARGET_ELF
687 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
689 * config/h8300/h8300.c (h8300_return_in_memory): New.
690 (TARGET_STRUCT_VALUE_RTX): Likewise.
691 (TARGET_RETURN_IN_MEMORY): Likewise.
692 * config/h8300/h8300.h (STRUCT_VALUE): Remove.
693 (RETURN_IN_MEMORY): Likewise.
695 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
697 PR optimization/13375
698 * gcse.c (handle_avail_expr): Just return if the source is not a
701 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
702 Daniel Jacobowitz <drow@mvista.com>
704 * arm/lib1funcs.asm (ARM_FUNC_START): Correct interworking case.
706 (ARM_FUNC_ALIAS): New macro.
707 * arm/ieee754-df.S (gedf2, ledf2, nedf2, eqdf2): Use it.
708 * arm/ieee754-sf.S (gesf2, lesf2, nesf2, eqsf2): Use it.
710 2004-01-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
712 PR optimization/12372
713 * calls.c (expand_call): Add call_fusage data for stack arguments in
716 2004-01-15 Alan Modra <amodra@bigpond.net.au>
718 * config/rs6000/rs6000.c (uses_TOC): Correct comment. Make static.
719 (rs6000_elf_declare_function_name): Formatting.
720 * config/rs6000/rs6000-protos.h (uses_TOC): Remove declaration.
722 2004-01-15 Jan Hubicka <jh@suse.cz>
725 * sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in
728 2004-01-15 Richard Henderson <rth@redhat.com>
730 * config/alpha/alpha.h (REG_ALLOC_ORDER): Reorder fp regs after
731 integer regs of the same call-savedness.
733 2004-01-15 Andreas Schwab <schwab@suse.de>
736 * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
737 status for NOTB/NOTW/NEGW methods.
739 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
741 * doc/invoke.texi: Update dump file names. Fix a typo.
743 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
745 * builtins.c (expand_builtin_va_end): Don't use
746 EXPAND_BUILTIN_VA_END.
747 * system.h (EXPAND_BUILTIN_VA_END): Poison.
748 * config/d30v/d30v.h: Remove a commented-out definition of
749 EXPAND_BUILTIN_VA_END.
750 * config/stormy16/stormy16.h: Likewise.
752 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
754 * system.h (STRUCT_VALUE_INCOMING_REGNUM): Poison.
755 * targhooks.c (default_struct_value_rtx): Don't use
756 STRUCT_VALUE_INCOMING_REGNUM.
758 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
761 * configure.in: Revamp enable-generated-files-in-srcdir rule to define
762 GENINSRC and not parsedir. Define srcextra as a langhook.
763 * configure: Regenerate.
764 * Makefile.in: Suppress default .l.c rule. Don't substitute
765 parsedir and delete all references throughout. Conditionally define
766 rule for srcextra dependent on GENINSRC.
767 (stmp-docobjdir): Delete.
768 (c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule.
769 (srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c,
770 and gengtype-yacc.h back to source directory.
771 (maintainer-clean): Delete all parse files in source directory.
772 (distclean): Delete generated files.
774 * objc/Make-lang.in (objc-parse.o): Use implicit build rule.
775 (objc-parse.c, objc-parse.y): Don't use parsedir.
776 (objc.srcextra): Copy objc-parse.y and objc-parse.c back to source
777 directory if requested.
778 (po-generated): Don't use parsedir.
779 (objc.maintainer-clean): Delete above files from source directory.
781 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
783 * doc/tm.texi (FUNCTION_VALUE): Fix a typo.
785 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
787 * doc/tm.texi: Replace RETURN_IN_MEMORY with
788 TARGET_RETURN_IN_MEMORY.
790 2004-01-15 Jan Hubicka <jh@suse.cz>
792 * builtins.c (std_expand_builtin_va_arg): Align operand when needed.
793 * i386.c (init_cumulative_args): Set warn_sse; fix handling of variadic
794 functions accepting SSE arguments
795 (function_arg): Warn only when asked to warn.
796 * i386.h (ix86_args): Add warn_sse/warn_mmx fiels.
798 2004-01-14 Joseph S. Myers <jsm@polyomino.org.uk>
800 * c-parse.in (stmts_and_decls): Make label at end of compound
801 statement a hard error.
803 2004-01-14 Jan Hubicka <jh@suse.cz>
805 * cgraph.c (create_edge): Use local.redefined_extern_inline.
806 * cgraph.h (cgraph_local_info): Sort fields by size; add
807 redefined_extern_inline
808 (cgraph_global_info): Sort fields by size.
809 (cgraph_node): Likewise.
810 * cgraphunit.c (cgraph_finalize_function): Se
811 local.redefined_extern_inline on redefinition.
812 (cgraph_analyze_function): Use it; fix formating.
814 2004-01-14 Jan Hubicka <jh@suse.cz>
817 * sched-deps.c (trye_dependency_cache, anti_dependency_cache,
818 outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of
820 (cache_size): New variable
821 (add_dependence): Update use; canonize early memory locations
822 (sched_analyze_1): Likewise.
823 (sched_analyze_2): Likewise.
824 (init_dependency_caches): Initialize bitmaps.
825 (free_dependency_caches): Free bitmaps
827 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
829 * calls.c: Replace STRICT_ARGUMENT_NAMING in comments with
830 targetm.calls.strict_argument_naming().
831 * target.h: Likewise.
833 2004-01-14 Richard Henderson <rth@redhat.com>
836 * dwarf2out.c (dwarf2out_stack_adjust): Skip prologue and epilogue
839 2004-01-14 Richard Henderson <rth@redhat.com>
842 * except.c (struct eh_region): Add u.fixup.resolved.
843 (resolve_one_fixup_region): Split out from ...
844 (resolve_fixup_regions): ... here.
846 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
848 * config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0.
850 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
852 * config/alpha/alpha.h (STRUCT_VALUE): Remove.
853 * config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef.
854 (STRUCT_VALUE): Remove.
856 2004-01-14 Steven Bosscher <stevenb@suse.de>
858 * system.h: Poison PROMOTED_MODE
859 * integrate.c (expand_inline_function): Don't mention the
861 * loop.c (update_giv_derive): Same.
862 * tree.h (DECL_RTL): Same.
864 2004-01-14 J"orn Rennecke <joern.rennecke@superh.com>
867 * sh.c (gen_block_redirect): Add special handling of RETURN.
868 (gen_far_branch) Don't call gen_stuff_delay_slot if there is no
869 far branch target (i.e. it's a return).
871 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
873 * regrename.c (find_oldest_value_reg): Fix a warning.
875 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
878 * config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file.
879 Move linux-gas.h and linux-elf.h before aout.h.
880 * arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already.
881 * arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define.
883 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
885 * config/m32r/m32r.md: Use GEN_INT instead of gen_rtx
886 (CONST_INT, VOIDmode, ...).
888 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
890 * regrename.c (find_oldest_value_reg): If the replacement uses
891 multiple hard registers, check that all of them are in CLASS.
893 2004-01-14 Jan Hubicka <jh@suse.cz>
895 * alias.c (get_alias_set): Initialize alias set to 0 when subset is
898 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
900 * Makefile.in: Define MAINT from --enable-maintainer-mode.
902 2004-01-14 Hartmut Penner <hpenner@de.ibm.com>
904 * gcc/config/rs6000/rs6000.c (rs6000_stack_info)
905 Calculate always vrsave_mask if TARGET_ALTIVEC.
906 (rs6000_emit_prologue): Emit code for vrsave
907 only if TARGET_ALTIVEC_VRSAVE.
908 (rs6000_emit_epilogue): Likewise.
910 2004-01-14 Eric Botcazou <ebotcazou@libertysurf.fr>
912 * config/sparc/sparc.md (tie_add32): Fix pasto.
913 (tie_add64): Likewise.
915 2004-01-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
917 * config/i386/i386.md (*addqi_1_slp): Do not access operands[2].
919 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
921 * config/iq2000/iq2000-protos.h: Fix comment formatting.
922 * config/iq2000/iq2000.c: Likewise.
923 * config/iq2000/iq2000.md: Likewise.
925 2004-01-14 J. Brobecker <brobecker@gnat.com>
927 * dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
928 (subrange_type_die): Add handle for nameless subrange types.
930 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
932 * config/h8300/h8300-protos.h: Replace do_movsi with
934 * config/h8300/h8300.c (do_movsi): Change to
936 * config/h8300/h8300.md (movsi): Replace do_movsi with
940 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
942 * config/h8300/h8300.c (dosize): Change to
943 h8300_emit_stack_adjustment. Update callers.
945 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
947 * config/h8300/h8300.md (movstrictqi): Add an alternative with
948 the source being post_inc. Tighten the predicate for the
949 destination to register_operand.
950 (movstricthi): Likewise.
952 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
954 * system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
955 * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP.
956 * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove.
958 2004-01-14 Jan Hubicka <jh@suse.cz>
960 Partial fix PR c++/12850
961 * cgraphunit.c (cgraph_finalize_function): Always ggc_collect when
964 2004-01-13 Bernardo Innocenti <bernie@develer.com>
966 * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
969 2004-01-13 Devang Patel <dpatel@apple.com
972 * dbxout.c (dbxout_symbol_name): Emit mangled names for
973 NAMESPACE_DECL memebers.
975 2004-01-13 Andrew Pinski <pinskia@physics.uc.edu>
978 * c-common.c (finish_fname_decls): Use the chain only if the
979 tree is an expr_stmt.
981 2004-01-13 Vladimir Makarov <vmakarov@redhat.com>
983 * rtl.def: Add comment about new option in automata_option.
985 * genautomata.c (PROGRESS_OPTION): New macro.
986 (progress_flag): New global variable.
987 (gen_automata_option): Process `progress'.
988 (transform_insn_regexps, check_unit_distributions_to_automata,
989 make_automaton, NDFA_to_DFA, build_automaton, create_automata,
990 expand_automata, write_automata): Print about the progress only if
991 progress_flag. Remove fflush.
992 (initiate_automaton_gen): Process command line flag `-progress'.
994 * doc/md.texi: Describe the new option.
996 2004-01-13 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
998 * cfg.c (dump_bb): Dump entry edges.
1000 2004-01-13 Richard Earnshaw <rearnsha@arm.com>
1002 * arm.c (thumb_legitimate_address_p): Only allow constant pool
1003 references from SImode.
1004 * arm.md (thumb_movhi_insn): Don't allow minipool references.
1006 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
1008 * system.h (TEXT_SECTION): Poison.
1009 * varasm.c (text_section): Don't use TEXT_SECTION.
1010 * config/sh/sh.c (sh_file_start): Fix a comment typo.
1011 * doc/tm.texi (TEXT_SECTION): Remove.
1013 2004-01-13 Ben Elliston <bje@wasabisystems.com>
1015 * doc/rtl.texi (Vector Operations): Remove defunct vec_const item.
1017 2004-01-12 James E Wilson <wilson@specifixinc.com>
1019 * unwind-libunwind.c: Delete.
1021 2004-01-12 Zack Weinberg <zack@codesourcery.com>
1024 * c-decl.c (diagnose_mismatched_decls): Whenever newtype or
1025 oldtype is set, set *newtypep or *oldtypep too. Do not set
1026 them at the very end.
1027 (validate_proto_after_old_defn): Restructure for comprehensibility;
1028 make error messages clearer.
1030 2004-01-12 Zack Weinberg <zack@codesourcery.com>
1032 * varray.h (VARRAY_POP): Add checking variant, aborts on underflow.
1033 (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked.
1034 * varray.c: No need to prototype error.
1035 (varray_check_failed): Wrap long string onto two lines.
1036 (varray_underflow): New function.
1038 2004-01-13 Steven Bosscher <stevenb@suse.de>
1041 * function.h (struct function): Kill `name' field.
1042 (current_function_name): Make it an extern function.
1043 * function.c (current_function_name): New function.
1044 * graph.c: Update all uses of current_function_name.
1046 * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
1047 config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
1048 * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
1049 instead of a strcmp with "main".
1051 2004-01-13 Jan Hubicka <jh@suse.cz>
1053 * c-decl.c (diagnose_mismatched_decls): Fix warning calls.
1055 * cgraphunit.c (cgraph_optimize_function): Always do
1056 optimize_inline_calls when there is always_inline callee.
1057 (cgraph_decide_inlining): Fix formating.
1058 * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
1060 (expand_call_inline): Likewise.
1061 * toplev.h (sorry): Fix prototype.
1063 2004-01-12 Roger Sayle <roger@eyesopen.com>
1065 * builtins.c (expand_builtin_expect_jump): Simplify logic. Handle
1066 conditional jumps that drop through to unconditional jumps or the
1067 end of the sequence.
1069 2004-01-13 Jan Hubicka <jh@suse.cz>
1071 * alias.c (new_alias_set): Construct the alias_set varray.
1072 (init_alias_once): Don't do it here.
1074 2004-01-12 Marc Espie <espie@openbsd.org>
1076 * system.h: handle YYBYACC like YYBISON.
1078 2004-01-12 Jonathan Merriman <jonm@dualitymedia.com>
1081 * config.gcc: No longer includes conflicting header sparc/sol2.h when
1082 building on sparc64-*-openbsd*.
1084 2004-01-12 Andrew Pinski <pinskia@physics.uc.edu>
1087 * dbxout.c (dbxout_type): Protected inheritance is not
1088 private but protected.
1090 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
1092 * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.
1094 2004-01-12 Kazu Hirata <kazu@cs.umass.edu>
1096 PR optimization/12508.
1097 * combine.c (try_combine): Remove a dead set in a parallel
1098 even if its destination is a subreg.
1101 2003-06-03 Kazu Hirata <kazu@cs.umass.edu>
1102 * combine.c (simplify_set): Don't move a subreg in SET_SRC to
1103 SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
1105 2004-01-12 Geoffrey Keating <geoffk@apple.com>
1107 * real.c: Update copyright date.
1108 * emit-rtl.c: Likewise.
1110 * dwarf2out.c: Likewise.
1111 * config/rs6000/darwin-ldouble.c: Likewise.
1112 * config/rs6000/rs6000.md: Likewise.
1114 2004-01-12 David Edelsohn <edelsohn@gnu.org>
1116 * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
1117 TFmode to SImode libfuncs.
1119 2004-01-12 Roger Sayle <roger@eyesopen.com>
1122 * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
1124 2004-01-12 Jan Hubicka <jh@suse.cz>
1127 * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
1131 * cfgcleanup.c (label_is_jump_target_p): Move to...
1132 * rtlanal.c (label_is_jump_target_p): ... here.
1133 * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Fix redirecting of fallthru
1134 edges unified with branch edges.
1136 2004-01-12 Richard Earnshaw <rearnsha@arm.com>
1138 * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
1139 high word of an integral CONST_DOUBLE.
1141 2004-01-12 Paul Brook <paul@codesourcery.com>
1143 * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
1145 2004-01-12 J"orn Rennecke <joern.rennecke@superh.com>
1148 * sh-protos.h (check_use_sfunc_addr): Declare.
1149 * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
1150 * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
1152 2004-01-12 Jan Hubicka <jh@suse.cz>
1154 * alias.c: Invlude varray.h
1155 (alias_sets): Turn into varray.
1156 (get_alias_set_entry): Use VARRAY; mark inline.
1157 (mems_in_disjoint_alias_sets_p): Mark inline.
1158 (record_alias_subset): Use varray.
1159 (init_alias_once): Initialize varray.
1160 (new_alias_set): Grow array.
1161 * varray.c: Make VARRAY_GENERIC_PTR non GTYized.
1163 2004-01-12 Jan Hubicka <jh@suse.cz>
1165 Partial fix for PR opt/10776 II
1166 * cselib.c: Include params.h
1167 (cselib_invalidate_mem): Limit amount of nonconflicting memory
1169 * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
1170 * Makefile.in (cselib.o): Depend on params.h
1172 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
1174 * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
1175 simplify_unary_operation if the operand has a known mode.
1177 2004-01-12 Hartmut Penner <hpenner@de.ibm.com>
1180 * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
1181 predicate to handle 'ld' conform addresses.
1182 * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
1184 (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
1185 are memory contraints.
1186 * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
1188 * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
1189 Change 'o' to 'Y' constraint.
1190 (*movdf_softfloat64): Ditto.
1192 2004-01-12 Bernardo Innocenti <bernie@develer.com>
1194 * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
1195 brace-enclosed syntax in all C output statements.
1197 2004-01-12 David Edelsohn <edelsohn@gnu.org>
1200 * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
1201 Objective-C language type value is 14.
1203 2004-01-12 Markus F.X.J. Oberhumer <markus@oberhumer.com>
1206 * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
1207 `int' in a number of places to make sure we always have a SImode
1208 and not a HImode. Add a 'L' suffix to a number of constants.
1210 2004-01-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1212 * pa.c: Don't include obstack.h.
1214 * pa.md: Correct constraint in pattern for loading PIC label address.
1216 2004-01-11 Kaz Kojima <kkojima@gcc.gnu.org>
1218 * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
1221 2004-01-11 Steven Bosscher <stevenb@suse.de>
1224 * toplev.c (rest_of_handle_inline): Also consider functions
1225 for deferral if the language is GNU F77.
1227 2004-01-11 Zack Weinberg <zack@codesourcery.com>
1229 * c-decl.c (diagnose_arglist_conflict): Add missing space to
1230 diagnostic messages.
1232 2004-01-11 Jakub Jelinek <jakub@redhat.com>
1235 * builtins.c (expand_builtin_expect_jump): Handle conditional jumps
1236 to drop through label. Don't fall back to SCC even when conditional
1237 jump has not been found.
1239 2004-01-11 Jan Hubicka <jh@suse.cz>
1241 * invoke.texi: Fix syntax error in previous patch.
1243 Partial fix for PR opt/10776
1244 * Makefile.in (reload.o): Include param.h
1245 * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter.
1246 * reload.c: Include params.h.
1247 (find_equiv_reg): Work limiting check.
1248 * invoke.texi: Document.
1250 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
1252 * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
1253 out-of-bounds accesses to string constants. Simplify mips16
1256 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
1258 PR optimization/13469
1259 * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
1260 reload_cse_regs (-fnon-call-exceptions only).
1262 2004-01-11 Kazu Hirata <kazu@cs.umass.edu>
1264 * config/mcore/lib1.asm: Fix comment formatting.
1265 * config/mcore/mcore-elf.h: Likewise.
1266 * config/mcore/mcore.c: Likewise.
1267 * config/mcore/mcore.h: Likewise.
1268 * config/mcore/mcore.md: Likewise.
1270 2004-01-10 Zack Weinberg <zack@codesourcery.com>
1272 * c-decl.c (duplicate_decls): Break apart into...
1273 (diagnose_arglist_conflict, validate_proto_after_old_defn)
1274 (locate_old_defn, diagnose_mismatched_decls, merge_decls):
1275 ... these new functions. Restructure for comprehensibility.
1276 Remove various archaic special cases. Always report the
1277 location of the previous declaration when a diagnostic is issued.
1278 (redeclaration_error_message): Fold into diagnose_mismatched_decls.
1279 (match_builtin_function_types): Delete unnecessary forward declaration.
1281 2004-01-10 Zack Weinberg <zack@codesourcery.com>
1283 * genautomata.c (make_automaton, NDFA_to_DFA):
1284 Print progress bars with '.' characters instead of '*'.
1285 (build_automaton): Change notes to match.
1287 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
1289 * config/m32r/m32r.md: Use define_constants for unspec and
1292 2004-01-10 Jan Hubicka <jh@suse.cz>
1295 * expr.c (expand_expr_real): More curefully expand union casts.
1297 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
1299 * config/m32r/m32r.md (flush_icache): Use 1 for
1302 2004-01-10 David Edelsohn <edelsohn@gnu.org>
1303 James E Wilson <wilson@specifixinc.com>
1306 * dbxout.c (dbxout_symbol): Remove initialization of
1307 current_sym_code, current_sym_value, and current_sym_addr.
1308 (dbxout_symbol_location): Same.
1309 (dbxout_prepare_symbol): Zero current_sym_code,
1310 current_sym_value, and current_sym_addr.
1312 2004-01-10 Richard Sandiford <rsandifo@redhat.com>
1314 * tree.c (get_unwidened): Reorder conditions so that the null pointer
1315 check is done first.
1317 2004-01-09 Eric Christopher <echristo@redhat.com>
1319 * toplev.c (rest_of_handle_cfg): Add reg_scan pass
1320 if we're running mark_constant_function.
1322 2004-01-09 Jeff Bailey <jbailey@nisa.net>
1325 * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
1327 2004-01-09 Andrew Pinski <pinskia@physics.uc.edu>
1330 * dbxout.c (dbxout_type_fields): Return if any item is
1331 error_mark_node or the type is error_mark_node.
1333 2004-01-09 Geoffrey Keating <geoffk@apple.com>
1335 * config/rs6000/darwin-ldouble.c: Add big comment explaining
1336 exactly what is expected as a 'long double'.
1337 (_xlqadd): When a value to be returned is representable as a
1338 'double', just return it directly, do not construct it using a union.
1339 Also, correct final fixup.
1340 (_xlqmul): Likewise.
1341 (_xlqdiv): Likewise.
1342 * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.
1344 * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
1346 2004-01-09 Richard Henderson <rth@redhat.com>
1348 * recog.c (constrain_operands): Validate mem operands.
1350 2004-01-09 James E Wilson <wilson@specifixinc.com>
1352 * gcc.c (init_spec): Remove -lunwind from shared case.
1353 * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
1355 2004-01-09 Steve Ellcey <sje@cup.hp.com>
1357 * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
1358 * configure: Regenerate
1360 2004-01-09 Joseph S. Myers <jsm@polyomino.org.uk>
1363 * c-typeck.c (build_c_cast): If pedantic, warn for conversions
1364 between function and object pointers.
1365 (digest_init): When comparing a pointer to function type to the
1366 target type, only apply TREE_TYPE once to the pointer to function
1368 * except.c (for_each_eh_label_1): Treat data as a pointer to a
1369 function pointer rather than casting it to a function pointer.
1370 (for_each_eh_label): Update caller.
1371 * recog.h (struct insn_data): Use a struct or union for output.
1372 * genoutput.c (output_insn_data): Update.
1373 * final.c (get_insn_template): Update.
1375 2004-01-09 Mark Mitchell <mark@codesourcery.com>
1377 * expr.h (expand_expr): Make it a macro, not a function.
1378 (expand_expr_real): New function.
1379 * expr.c (store_expr): Adjust logic for deciding whether or not to
1380 copy the value returned by expand_expr.
1381 (expand_expr): Rename to ...
1382 (expand_expr_real): ... this. Add alt_rtl parameter. Adjust
1383 calls to language hooks.
1384 * c-common.h (c_expand_expr): Adjust prototype.
1385 * c-common.c (c_expand_expr): Add alt_rtl parameter.
1386 * langhooks-def.h (lhd_expand_expr): Change prototype.
1387 * langhooks.c (lhd_expand_expr): Add all_rtl parameter.
1388 * langhooks.h (lang_hooks): Change type of expand_expr.
1389 * stmt.c (stmt_status): Add x_last_expr_alt_rtl.
1390 (last_expr_alt_rtl): Likewise.
1391 (expand_expr_stmt_value): Set last_expr_alt_rtl.
1392 (clear_last_expr): Clear it.
1393 (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
1394 (expand_end_bindings): Save and restor last_expr_alt_rtl.
1395 * tree.def (RTL_EXPR): Give it an additional operand.
1396 * tree.h (RTL_EXPR_ALT_RTL): New macro.
1398 2004-01-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1400 * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
1401 * config/m32r/m32r.c (call26_operand): Allow in PIC mode.
1403 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
1406 * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
1407 or (ne:SI (reg:CC 17) (const_int 0)).
1408 Be specific about modes wherever possible.
1410 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
1412 * config/m32r/m32r.c (m32r_expand_block_move): Call
1413 gen_movestrsi_internal with two more arguments.
1414 (m32r_output_block_move): Adjust operand numbers.
1415 Properly update the source and destination pointers.
1416 * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
1417 'r+'. Change the set detinations to match_operand.
1419 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
1421 * final.c (FIRST_INSN_ADDRESS): Remove.
1422 (shorten_branches): Don't use FIRST_INSN_ADDRESS.
1423 * system.h (FIRST_INSN_ADDRESS): Poison.
1424 * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
1425 * config/m32r/m32r-protos.h: Remove the prototype for
1426 m32r_first_insn_address.
1427 * config/m32r/m32r.c (m32r_first_insn_address): Remove.
1428 * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
1429 * doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
1431 2004-01-09 J. Brobecker <brobecker@gnat.com>
1433 * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
1435 (is_ada_subrange_type): DIEs for enumeration subtypes should be
1436 emitted as subrange types too.
1437 (subrange_type_die): Add handling of enumeration subtypes.
1439 2004-01-08 Richard Henderson <rth@redhat.com>
1442 Revert: Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
1443 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
1444 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
1445 (ix86_address_cost): Be prepared for SUBREGed registers.
1446 (legitimate_address_p): Accept SUBREGed registers.
1448 2004-01-08 Kelley Cook <kcook@gcc.gnu.org>
1450 * Makefile.in: Rename configure.in to configure.ac
1451 * doc/sourcebuild.texi: Likewise.
1452 * configure: Regenerate.
1453 * config.in: Regenerate.
1455 2004-01-08 Stuart Hastings <stuart@apple.com>
1457 * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
1459 2004-01-08 Jan Hubicka <jh@suse.cz>
1461 * cgraphunit.c (cgraph_decide_inlining): Fix typo.
1463 2004-01-08 Geoffrey Keating <geoffk@apple.com>
1465 * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
1466 (UNSPEC_FIX_TRUNC_TF): New constant.
1467 (movtf_internal): Make splitter active only when insn is active.
1468 (extenddftf2): Rewrite to properly load zero into low part.
1469 (extenddftf2_internal): New.
1470 (extendsftf2): Rewrite.
1471 (truncdftf2): Correct length.
1472 (floatditf2): Delete.
1473 (fix_trunc_helper): New.
1474 (fix_trunctfdi2): Use fix_trunc_helper.
1475 (fix_trunctfsi2): Likewise.fix_trunc
1476 (fix_trunctfsi2_internal): New.
1478 * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
1479 addresses are legitimate on Darwin even when flag_pic.
1480 (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
1481 non-offsettable addresses for loads of TFmode constants.
1483 2004-01-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1485 * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
1486 variables in the appropriate bss section.
1488 2004-01-09 Alan Modra <amodra@bigpond.net.au>
1490 * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
1491 target_flags has MASK_POWERPC64 when -m64.
1492 * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
1493 to 620, 630, power3, power4 and rs64a entries.
1494 * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
1496 2004-01-08 Richard Sandiford <rsandifo@redhat.com>
1498 * simplify-rtx.c (simplify_immed_subreg): Fix construction of
1499 floating-point constants.
1501 2004-01-08 J. Brobecker <brobecker@gnat.com>
1503 * dwarf2out.c (subrange_type_die): Add context_die parameter.
1504 Create the subrange_type DIE using the given context DIE.
1505 (modified_type_die): Update call to subrange_type_die.
1507 2004-01-08 Zack Weinberg <zack@codesourcery.com>
1509 * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
1510 Add multiple-include guard.
1512 2004-01-08 Hartmut Penner <hpenner@de.ibm.com>
1514 * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
1515 all vector constant loadable by vsplt*.
1516 (output_vec_const_move): Likewise.
1518 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
1521 * c-typeck.c (comptypes): Only treat enumerated types in the same
1522 translation unit as compatible with each other when they are the
1524 * doc/extend.texi: Update.
1526 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
1529 * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
1530 array type from the array element type.
1532 2004-01-07 Alan Modra <amodra@bigpond.net.au>
1534 * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
1535 * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
1536 * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
1537 (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
1538 * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
1540 2004-01-06 Eric Christopher <echristo@redhat.com>
1542 * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
1543 (DWARF2_DEBUGGING_INFO): Define.
1544 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
1545 * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
1546 * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
1548 (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
1549 * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
1550 * config/mips/iris5gas.h: Ditto.
1551 (DBX_DEBUGGING_INFO): Remove.
1552 (DWARF2_DEBUGGING_INFO): Ditto.
1553 (MIPS_DEBUGGING_INFO): Ditto.
1554 (PREFERRED_DEBUGGING_TYPE): Ditto.
1555 * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
1556 (PREFERRED_DEBUGGING_TYPE): Ditto.
1557 (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
1558 * config/mips/elf64.h: Ditto.
1560 2004-01-06 Jan Hubicka <jh@suse.cz>
1562 * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
1563 (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
1565 2004-01-06 Geoffrey Keating <geoffk@apple.com>
1567 * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
1568 (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
1569 * config/rs6000/darwin-ldouble.c: New.
1571 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
1573 (constant_subword): Delete.
1574 * rtl.h (constant_subword): Delete prototype.
1575 (immed_double_const): Is not in varasm.c.
1576 * simplify-rtx.c (simplify_immed_subreg): New.
1577 (simplify_subreg): Use simplify_immed_subreg.
1579 * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
1580 than trying to generate RTL directly.
1581 (fix_trunctfsi2): Use expand_fix rather than trying to generate
1584 * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
1586 2004-01-06 David Edelsohn <edelsohn@gnu.org>
1588 * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
1589 function into a separate macro.
1590 (read_only_data_section): Add void argument.
1591 (private_data_section): Same.
1592 (read_only_private_data_section): Same.
1593 (toc_section): Same.
1595 2004-01-06 Jan Hubicka <jh@suse.cz>
1597 * invoke.texi: Remove typo in last change.
1600 * config.gcc: Accept opteron and athlon-64 as variants
1602 * i386.c (override_options): Likewise.
1603 * invoke.texi (i386 -mtune): Expand documentation.
1605 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
1607 * alias.c: Fix comment typos.
1608 * builtins.c: Likewise.
1611 * dominance.c: Likewise.
1612 * dwarf2out.c: Likewise.
1613 * emit-rtl.c: Likewise.
1615 * final.c: Likewise.
1616 * fold-const.c: Likewise.
1618 * genattrtab.c: Likewise.
1619 * genrecog.c: Likewise.
1620 * gensupport.c: Likewise.
1621 * ggc-zone.c: Likewise.
1622 * integrate.c: Likewise.
1623 * local-alloc.c: Likewise.
1625 * recog.c: Likewise.
1626 * regmove.c: Likewise.
1627 * reg-stack.c: Likewise.
1628 * reorg.c: Likewise.
1629 * rtlanal.c: Likewise.
1631 * sched-ebb.c: Likewise.
1632 * simplify-rtx.c: Likewise.
1633 * toplev.c: Likewise.
1634 * varasm.c: Likewise.
1636 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
1638 * doc/install.texi: Fix typos.
1639 * doc/invoke.texi: Likewise.
1640 * doc/md.texi: Likewise.
1642 2004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1644 * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
1646 2004-01-06 Jan Hubicka <jh@suse.cz>
1648 * i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
1649 (function_arg_advance): Do not pass aggregates in SSE; deal handling
1651 (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
1653 * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
1654 (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
1655 (MMX_REGPARM_MAX): Similarly for -mmmx.
1657 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1659 * config/sh/linux.h: Fix comment formatting.
1660 * config/sh/netbsd-elf.h: Likewise.
1661 * config/sh/sh.c: Likewise.
1662 * config/sh/sh.h: Likewise.
1663 * config/sh/vxworks.h: Likewise.
1665 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1667 * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
1668 * toplev.c (output_file_directive): Don't use
1669 ASM_OUTPUT_MAIN_SOURCE_FILENAME.
1671 2004-01-05 Daniel Berlin <dberlin@dberlin.org>
1673 * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
1674 (USING_MMAP): We don't support non-mmap.
1675 (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
1677 (struct page_entry): Remove bytes_free.
1678 (struct page_table_chain): Remove.
1679 (struct globals): Remove page_table member.
1680 (loookup_page_table_entry): Function deleted.
1681 (set_page_table_entry): Ditto.
1682 (ggc_allocated_p): No longer need page table lookups.
1683 (ggc_marked_p): Ditto.
1684 (alloc_small_page): Don't care about bytes_free anymore.
1685 (alloc_large_page): Round up size.
1686 (ggc_alloc_zone_1): Mark large objects as such, and calculate
1687 their size the new way.
1688 Remove page table lookups and setting.
1689 (ggc_get_size): Calculate large object size the new way.
1690 (sweep_pages): Redo to account for fact that we no longer have
1692 (ggc_collect): No longer need to reincrement bytes_free.
1693 (ggc_pch_alloc_object): Handle new large objects properly.
1694 (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
1696 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1698 * doc/invoke.texi: Remove a page break.
1700 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1702 * config/avr/avr.c (avr_output_function_prologue): Remove an
1703 extra pair of curly braces.
1705 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1707 * config/mn10300/mn10300.c: Fix comment formatting.
1708 * config/mn10300/mn10300.h: Likewise.
1710 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1712 * tree.h: Update documentation on nothrow_flag.
1713 * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
1716 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1718 * doc/invoke.texi: Remove traces of dead ports.
1720 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1722 * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
1725 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1728 * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
1730 * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
1731 (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
1732 string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check
1733 the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
1734 (mips_symbol_insns): Don't trust the local/global classification.
1735 (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
1736 (override_options): Make -mabicalls -fno-unit-at-a-time imply
1737 -mno-explicit-relocs.
1738 (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
1739 between local and global symbols.
1741 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1743 * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
1744 (mips_preferred_reload_class): Declare.
1745 * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
1746 (EXTRA_CONSTRAINT): Update accordingly.
1747 (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
1748 * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
1749 (mips_preferred_reload_class): New function. Prefer LEA_REGS if
1750 mips_dangerous_for_la25_p.
1751 (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
1752 if mips_dangerous_for_la25_p.
1754 2004-01-05 Bernardo Innocenti <bernie@develer.com>
1756 * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
1759 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org>
1761 * configure.ac: Use AC_PROG_CPP_WERROR.
1762 * configure: Regenerate.
1764 2004-01-04 Zack Weinberg <zack@codesourcery.com>
1766 * .cvsignore: Add autom4te.cache.
1768 2004-01-04 Richard Sandiford <rsandifo@redhat.com>
1770 * doc/invoke.texi: Revamp documentation of MIPS options. Remove
1771 -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
1772 -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first,
1773 then architecture options, then ABI options. General rewording.
1775 2004-01-04 Joseph S. Myers <jsm@polyomino.org.uk>
1778 * doc/extend.texi: Clarify definition of malloc attribute.
1780 2004-01-04 Jan Hubicka <jh@suse.cz>
1782 * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
1783 * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
1784 * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
1785 (cgraph_inline_p): Add extra argument reason.
1786 * cgraphunit.c: Minor formating fixes.
1787 cgraph_first_inlined_callee): New functions.
1788 (record_call_1): Record builtins too.
1789 (cgraph_analyze_function): Update inline_failed messages.
1790 (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
1791 cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
1792 (cgraph_check_inline_limits): Likewise; Add argument reason.
1793 (cgraph_set_inline_failed): New static function.
1794 (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
1796 (cgraph_inline_p): Add new argument reason.
1797 * tree-inline.c (expand_call_inline): Update warning.
1799 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
1801 * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
1802 with modern equivalents.
1803 * configure: Regenerate.
1805 * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
1806 * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
1807 * configure: Regenerate.
1809 * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
1811 * configure.in: Rename to configure.ac.
1812 * configure.ac: Renamed from configure.in; make minimum necessary
1813 changes for autoconf 2.5x.
1814 * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
1815 * configure: Regenerate with autoconf 2.57.
1817 2004-01-03 Kazu Hirata <kazu@cs.umass.edu>
1819 * config/mips/linux.h: Fix comment formatting.
1820 * config/mips/mips.c: Likewise.
1821 * config/mips/mips.h: Likewise.
1822 * config/mips/mips.md: Likewise.
1823 * config/mips/netbsd.h: Likewise.
1824 * config/mips/windiss.h: Likewise.
1826 2004-01-02 Richard Henderson <rth@redhat.com>
1828 * config/i386/i386.md (fp constant pool splitter): Reorg suppression
1829 for sse and 387; add suppression for mmx.
1831 2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
1833 * loop.c (loop_optimize): Free all loops_info's mems.
1835 * c-typeck.c (finish_init): Free spelling_base before
1838 * cfgloop.c (flow_loops_find): Always free the sbitmap
1841 * predict.c (estimate_probability): Free bbs after being
1844 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
1846 * config/mn10300/mn10300.h (PREDICATE_CODES): Add
1847 const_8bit_operand and call_address_operand.
1849 2004-01-02 Jan Hubicka <jh@suse.cz>
1851 * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls
1852 when there is nothing to inline but warnings are requested.
1853 (cgraph_decide_inlining): Fix memory leak.
1855 2004-01-02 Jan Hubicka <jh@suse.cz>
1857 * expr.c (store_constructor): Fix pasto in previous patch.
1859 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
1861 * config/i386/cygming.h: Fix comment formatting.
1862 * config/i386/djgpp.h: Likewise.
1863 * config/i386/gthr-win32.c: Likewise.
1864 * config/i386/i386-interix.h: Likewise.
1865 * config/i386/i386.c: Likewise.
1866 * config/i386/i386.h: Likewise.
1867 * config/i386/openbsd.h: Likewise.
1868 * config/i386/winnt.c: Likewise.
1869 * config/i386/xm-mingw32.h: Likewise.
1871 2004-01-02 Joseph S. Myers <jsm@polyomino.org.uk>
1873 * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
1874 copyright and last modification dates.
1876 2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de>
1878 * doc/install.texi (Specific): Mention x86_64.
1880 2004-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1882 * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
1883 Call force_operand on plus_constant result.
1885 2004-01-01 Jan Hubicka <jh@suse.cz>
1887 * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
1888 * expr.c (store_constructor): Use vec_init pattern.
1889 * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
1890 * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
1891 (vec_set_optab, vec_extract_optab, vec_init_optab): New.
1892 * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
1894 (sse2_unpc?pd): Fix pattern.
1895 (sse2_movlpd): Kill.
1896 (sse2_movsd): Deal with movlpd too.
1897 * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
1898 (ix86_expand_vector_init): New.
1899 * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
1900 * md.texi (vec_set, vec_extract): Document
1902 2003-12-31 Jan Hubicka <jh@suse.cz>
1905 * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside
1909 * toplev.c (dump_file_index): Reorder ce3 and bbro.
1910 (dump_file): Likewise.
1911 (rest_of_compilation): Likewise.
1914 * cgraph.c (cgraph_function_possibly_inlined): Even with
1915 flag_really_no_inline we inline always_inline functions.
1916 * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
1917 for non-always_inline functions when there is flag_really_no_inline.
1918 (cgraph_decide_inlining): Limit work done when not inlining.
1919 (cgraph_decide_inlining_incrementally): Likewise.
1920 (cgraph_optimize_function): Check whether something got inlined.
1921 * c-objc-common.c (c_disregard_inline_limits): Do not always inline
1922 extern inline functions when not inlining.
1924 * opts.c (decode_options): Disable crossjumping at -O1
1925 * invoke.texi (-O1): Document change.
1927 See ChangeLog.10 for earlier changes.