1 2004-01-18 Jan Hubicka <jh@suse.cz>
3 * basic-block.h (try_redirect_by_replacing_jump): Declare.
4 * cfgcleanup.c (try_optimize_cfg): Use it.
5 * cfgrtl.c (try_redirect_by_replacing_jump): Export.
6 (rtl_redirect_edge_and_branch, cfg_layout_redirect_edge_and_branch):
8 (cfg_layout_merge_blocks): Use try_redirect_by_replacing_jump.
11 2004-01-16 Geoffrey Keating <geoffk@apple.com>
13 * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
14 even after reload, just don't remove the actual jump tables.
16 2004-01-18 Kazu Hirata <kazu@cs.umass.edu>
18 * config/rs6000/rs6000.h (STRICT_ARGUMENT_NAMING): Remove.
20 2004-01-18 Kazu Hirata <kazu@cs.umass.edu>
22 * defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of
23 the size of a pointer in bytes.
25 2004-01-18 Roger Sayle <roger@eyesopen.com>
27 * builtins.c (expand_builtin_expect_jump): Fix thinko of reusing
28 live "next" variable, which could lead to an infinite loop.
30 2004-01-18 Andrew Pinski <pinskia@physics.uc.edu>
32 * config/rs6000/altivec.h: Wrap C++ functions in extern "C++"
35 * config/rs6000/rs6000.c (rs6000_special_round_type_align):
36 Check for NULL in the chain and remove repeated code.
38 2004-01-18 Jan Hubicka <jh@suse.cz>
40 * coverage.c (checksum_string): Rename to ...
41 (coverage_checksum_string): ... this one, Use crc32_string; recognize
42 names containing random number and zero the number out in order to get
45 2004-01-18 Richard Sandiford <rsandifo@redhat.com>
47 * config/mips/mips.c (mips_got_alias_set): Mark for PCH.
49 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk>
51 * doc/c-tree.texi, doc/cpp.texi, doc/extend.texi,
52 doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi,
53 doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi,
54 doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi,
55 doc/trouble.texi: Remove trailing whitespace.
57 2004-01-18 Richard Sandiford <rsandifo@redhat.com>
60 * config/mips/mips.c: Include cfglayout.h.
61 (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define.
62 (mips_unspec_offset_high): Add temporary register argument.
63 (mips_load_call_address): New function, split out from...
64 (mips_expand_call): ...here.
65 (mips_output_cplocal): New function.
66 (mips_output_function_prologue, mips_output_function_epilogue): Use it.
67 (mips_emit_loadgp): New function, split out from...
68 (mips_expand_prologue): ...here.
69 (mips_output_mi_thunk): New function.
71 2004-01-17 Bernardo Innocenti <bernie@develer.com>
73 * longlong.h (mc68020, __mc68030__, mc68030, __mc68040__, mc68040,
74 mcpu32): Remove redundant checks for implied target predefines.
76 2004-1-17 Andrew Pinski <pinskia@physics.uc.edu>
78 * config/rs6000/rs6000.c (rs6000_special_round_type_align):
79 Return type is unsigned int not int.
80 * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
83 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk>
85 * doc/contrib.texi, doc/cppenv.texi, doc/extend.texi,
86 doc/install.texi, doc/invoke.texi, doc/tm.texi: Consistently use
87 "GNU/Linux" and "Microsoft Windows" terminology.
89 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk>
91 * doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
92 doc/cppopts.texi, doc/extend.texi, doc/install.texi,
93 doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
94 doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
95 @smallexample instead of @example.
97 2004-01-17 Ziemowit Laski <zlaski@apple.com>
99 * objc/objc-act.c (build_objc_method_call): Use target
100 hooks instead of macros to determine if ..._stret
101 dispatchers should be used (NeXT runtime only).
103 2004-01-17 Roger Sayle <roger@eyesopen.com>
105 * builtins.c (expand_builtin_expect_jump): Fix mistake in my
106 last patch. Use XEXP (x, 0) to get a LABEL_REF's CODE_LABEL.
108 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
110 * rtl.h (emit_insn_before_sameloc, emit_jump_insn_before_sameloc)
111 (emit_call_insn_before_sameloc, emit_insn_after_sameloc)
112 (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): New
114 * reload1.c (emit_reload_insns): Use them.
115 * emit-rtl.c (emit_insn_before_sameloc, emit_insn_after_sameloc)
116 (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): Check
119 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
121 * final.c (SEEN_BB, SEEN_NOTE, SEEN_EMITTED): Define.
122 (final_scan_insn): Update to take an additional SEEN argument. Emit
123 a line note after the prologue. Make static.
124 (line_note_exists): Remove.
125 (final): Don't initialize line_note_exists. Update call to
127 * output.h (final_scan_insn): Remove prologue.
128 * function.c (set_insn_locators): Update comment.
129 (thread_prologue_and_epilogue_insns): Add a comment.
131 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
134 * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
136 * config/rs6000/rs6000.c (rs6000_special_round_type_align):
138 * config/rs6000/linux64.h (ROUND_TYPE_ALIGN): Use it.
139 * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Likewise.
140 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Likewise.
142 2004-01-17 Jan Hubicka <jh@suse.cz>
144 * toplev.c (rest_of_handle_reorder_blocks): Fix pasto in previous
147 * toplev.c (HAVE_conditional_execution): Provide default.
148 (rest_of_handle_reorder_blocks): For conditional_execution target
149 update liveness once after all transformations
150 (rest_of_compilation): Do crossjumping before ce3.
152 2004-01-17 Geoffrey Keating <geoffk@apple.com>
154 * alias.c (new_alias_set): Mark last_alias_set for PCH.
155 (get_varargs_alias_set): Rename 'set' to 'varargs_set' and mark it
157 (get_frame_alias_set): Likewise, except rename it to 'frame_set'.
158 * config/rs6000/rs6000.c (rs6000_sr_alias_set): Mark for PCH.
159 (get_TOC_alias_set): Mark 'set' for PCH.
161 2004-01-16 Geoffrey Keating <geoffk@apple.com>
163 * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
164 even after reload, just don't remove the actual jump tables.
166 2004-01-17 J. Brobecker <brobecker@gnat.com>
168 * dwarf2out.c (is_subrange_type): Renamed from is_ada_subrange_type().
169 Remove checks for is_ada() and TREE_UNSIGNED.
170 (subrange_type_die): Emit a byte_size attribute if the subrange
171 type size is different from the base type size.
172 (modified_type_die): Replace call to is_ada_subrange_type() by
173 call to is_subrange_type().
175 2004-01-16 Andrew Pinski <pinskia@physics.uc.edu>
177 * config/sh/sh.c: Include ggc.h.
179 2004-01-16 Geoffrey Keating <geoffk@apple.com>
181 * Makefile.in (MD5_H): New.
182 (fold-const.o): Depend on md5.h.
183 (dwarf2out.o): Likewise.
184 (cppfiles.o): Likewise.
185 * cppfiles.c: Include md5.h.
186 (should_stack_file): Check against list read from PCH file.
187 (struct pchf_data): New.
188 (pchf): New variable.
189 (struct pchf_adder_info): New.
191 (pchf_save_compare): New.
192 (_cpp_save_file_entries): New.
193 (_cpp_read_file_entries): New.
194 (struct pchf_compare_data): New.
196 (check_file_against_entries): New.
197 * cpphash.h (_cpp_save_file_entries): Prototype.
198 (_cpp_read_file_entries): Prototype.
199 * cpppch.c (cpp_write_pch_state): Write the list of headers.
200 (cpp_read_state): Read the list of headers.
202 2004-01-17 Jan Hubicka <jh@suse.cz>
204 * c-common.c (c_estimate_num_insns_1): Handle builtin_constant_p and
205 builtin_expect specially.
206 * params.def (PARAM_MAX_INLINE_INSNS_AUTO): Set to 100.
207 (PARAM_LARGE_FUNCTION_INSNS): Set to 3000.
208 * invoke.texi (max-inline-insns-single): Set to 100.
209 (large-function-insns): Set to 3000.
211 2004-01-16 Eric Christopher <echristo@redhat.com>
212 Chandrakala Chavva <cchavva@redhat.com>
214 * cppcharset.c (one_iso88591_to_utf8): New function.
215 (convert_iso88591_utf8): Ditto. Use.
216 (conversion_tab): Use.
217 (_cpp_input_to_utf8): New function.
218 (_cpp_init_iconv_buffer): Ditto.
219 (_cpp_close_iconv_buffer): Ditto.
220 * cpphash.h: Prototype new functions.
221 (cpp_buffer): Add input_cset_desc.
222 * cppinit.c: Add input_charset default.
223 * cpplib.c (cpp_push_buffer): Support init and
225 * cpplib.h (cpp_options): Add input_charset.
227 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
229 * system.h (ASM_OUTPUT_SECTION_NAME): Poison.
230 * config/alpha/unicosmk.h: Remove a commented-out definition
231 of ASM_OUTPUT_SECTION_NAME.
232 * config/stormy16/stormy16.h: Likewise.
234 2004-01-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
236 * fixinc/inclhack.def (alpha___extern_prefix): Renamed to ...
237 (alpha___extern_prefix_sys_stat): ... this.
238 Apply to <sys/mount.h>, too.
239 Tweak to match more variations.
240 * fixinc/tests/base/sys/stat.h: Adapt for new hackname.
242 * fixinc/inclhack.def (alpha___extern_prefix,
243 alpha___extern_prefix_standards): New hacks to obey
244 __PRAGMA_EXTERN_PREFIX.
245 * fixinc/tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: New
247 * fixinc/tests/base/standards.h: Likewise.
249 * fixincl/inclhack.def (alpha_pthread): Tweak to match more
252 * fixinc/tests/base/pthread.h: Handle it.
254 * fixincl/inclhack.def (bad_lval): Sort file list.
255 Add many missing files up to Tru64 UNIX V5.1B.
256 * gcc/fixinc/tests/base/libgen.h: Renamed to ...
257 * gcc/fixinc/tests/base/dirent.h: ... this to match new file list
260 * fixinc/fixincl.x: Regenerate.
262 2004-01-16 Mark Mitchell <mark@codesourcery.com>
264 * version.c (version_string): Change to 3.5.0.
265 * doc/include/gcc-common.texi (version-GCC): Likewise.
267 2004-01-16 Jan Hubicka <jh@suse.cz>
269 * i386.md (load_tp_di): Fix pasto.
272 * i386.c (ix86_compute_frame_layout): Fix for alloca on leaf function.
274 * c-pretty-print.c (pp_c_type_cast, pp_c_abstract_declarator,
275 pp_c_character_constant, pp_c_floating_constant,
276 pp_c_additive_expression, pp_c_shift_expression,
277 pp_c_equality_expression, pp_c_and_expression,
278 pp_c_exclusive_or_expression, pp_c_inclusive_or_expression,
279 pp_c_logical_and_expression): Remove inline modifier.
280 * dwarf2out.c (get_AT): Likewise.
281 * et-forest.c (et_splay): Likewise.
282 * ra.h (ra_alloc, ra_calloc): Likewise
284 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
286 * config/frv/frv-protos.h: Fix comment formatting.
287 * config/frv/frv.c: Likewise.
288 * config/frv/frv.h: Likewise.
289 * config/frv/frv.md: Likewise.
290 * config/frv/frvbegin.c: Likewise.
291 * config/frv/frvend.c: Likewise.
293 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
295 * system.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Poison.
296 * doc/tm.texi (PREFERRED_DEBUGGING_TYPE): Don't mention
297 LINKER_DOES_NOT_WORK_WITH_DWARF2.
298 (LINKER_DOES_NOT_WORK_WITH_DWARF2): Remove.
300 2004-01-16 J"orn Rennecke <joern.rennecke@superh.com>
303 * postreload.c (reload_cse_simplify_operands): Don't remove
304 implicit extension from LOAD_EXTEND_OP.
306 2004-01-16 Jan Hubicka <jh@suse.cz>
309 * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal
311 * cfgrtl.c (rtl_can_merge_blocks, cfglayout_can_merge_blocks,
312 rtl_try_redirect_by_replacing_branch): Likewise.
314 2004-01-15 Geoffrey Keating <geoffk@apple.com>
317 * alias.c (struct alias_set_entry): Mark for GC.
318 (alias_sets): Make static, mark for GC.
319 (record_alias_subset): Use GC to allocate alias structures.
320 * varray.c (element): Make generic varrays GCed.
323 * c-typeck.c (constructor_asmspec): Delete.
324 (struct initializer_stack): Delete field 'asmspec'.
325 (start_init): Delete saving of asmspec.
326 (finish_init): Don't update constructor_asmspec.
327 * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
328 * stmt.c (expand_asm): Duplicate strings from tree.
329 (expand_asm_operands): Likewise.
330 * tree.c (tree_size): Update computation of size of STRING_CST.
331 (make_node): Don't make STRING_CST nodes.
332 (build_string): Allocate string with tree node.
333 * tree.def (STRING_CST): Update comment.
334 * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
335 (tree_string): Place contents of string in tree node.
336 * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
339 * config/rs6000/rs6000.c (rs6000_va_arg): No need to special-case
342 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
344 * c-common.h: Fix comment formatting.
345 * c-cppbuiltin.c: Likewise.
346 * c-pragma.c: Likewise.
348 * collect2.c: Likewise.
349 * cppcharset.c: Likewise.
350 * cpptrad.c: Likewise.
351 * dbxout.c: Likewise.
352 * defaults.h: Likewise.
353 * dwarf2out.c: Likewise.
354 * fold-const.c: Likewise.
355 * genautomata.c: Likewise.
356 * genconditions.c: Likewise.
357 * genflags.c: Likewise.
358 * gengtype.c: Likewise.
359 * integrate.c: Likewise.
361 * predict.c: Likewise.
362 * sdbout.c: Likewise.
364 2004-01-15 Zack Weinberg <zack@codesourcery.com>
366 * config/ia64/ia64.md (*movti_internal): C output template
368 (*movti_internal_reg): Delete.
369 (reload_inti, reload_outti): Use the correct mode on operand 2
370 in the first place, don't fix it up in the output template.
371 (movtf, reload_ointf, reload_outtf): New expanders.
372 (*movtf_internal): New define_insn_and_split.
373 * config/ia64/ia64.c (ia64_split_timode): Rename to ia64_split_tmode;
374 make static; do not hand TFmode CONST_DOUBLEs to split_double.
375 (ia64_split_tmode_move): New function, body mostly pulled
376 from ia64.md:*movti_internal.
377 (ia64_function_arg_words): New function, extracted common
378 logic from ia64_function_arg et seq.
379 (ia64_function_arg_offset): Likewise. Handle correctly the
380 case of a scalar quantity 16 bytes wide with only 8-byte alignment.
381 (ia64_function_arg, ia64_function_arg_partial_nregs)
382 (ia64_function_arg_advance): Use ia64_function_arg_words and
383 ia64_function_arg_offset.
384 (ia64_function_value): TCmode does not go in float regs.
385 (ia64_secondary_reload_class): Also handle TFmode.
386 * config/ia64/ia64-protos.h: Remove prototype for
387 ia64_split_timode; add prototype for ia64_split_tmode_move.
389 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
391 * Makefile.in (MAINT): Make it an immediate assignment.
393 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
395 * config/m32r/m32r.md: Remove useless calls to gen_lowpart.
397 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
399 * config/h8300/coff.h: Replace Hitachi with Renesas.
400 * config/h8300/elf.h: Likewise.
401 * config/h8300/h8300-protos.h: Likewise.
402 * config/h8300/h8300.c: Likewise.
403 * config/h8300/h8300.h: Likewise.
404 * config/h8300/h8300.md: Likewise.
405 * config/h8300/lib1funcs.asm: Likewise.
407 2004-01-15 Andrew Pinski <apinski@apple.com>
409 * config/rs6000/rs6000.c (uses_TOC): Wrap #if TARGET_ELF
412 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
414 * config/h8300/h8300.c (h8300_return_in_memory): New.
415 (TARGET_STRUCT_VALUE_RTX): Likewise.
416 (TARGET_RETURN_IN_MEMORY): Likewise.
417 * config/h8300/h8300.h (STRUCT_VALUE): Remove.
418 (RETURN_IN_MEMORY): Likewise.
420 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
422 PR optimization/13375
423 * gcse.c (handle_avail_expr): Just return if the source is not a
426 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
427 Daniel Jacobowitz <drow@mvista.com>
429 * arm/lib1funcs.asm (ARM_FUNC_START): Correct interworking case.
431 (ARM_FUNC_ALIAS): New macro.
432 * arm/ieee754-df.S (gedf2, ledf2, nedf2, eqdf2): Use it.
433 * arm/ieee754-sf.S (gesf2, lesf2, nesf2, eqsf2): Use it.
435 2004-01-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
437 PR optimization/12372
438 * calls.c (expand_call): Add call_fusage data for stack arguments in
441 2004-01-15 Alan Modra <amodra@bigpond.net.au>
443 * config/rs6000/rs6000.c (uses_TOC): Correct comment. Make static.
444 (rs6000_elf_declare_function_name): Formatting.
445 * config/rs6000/rs6000-protos.h (uses_TOC): Remove declaration.
447 2004-01-15 Jan Hubicka <jh@suse.cz>
450 * sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in
453 2004-01-15 Richard Henderson <rth@redhat.com>
455 * config/alpha/alpha.h (REG_ALLOC_ORDER): Reorder fp regs after
456 integer regs of the same call-savedness.
458 2004-01-15 Andreas Schwab <schwab@suse.de>
461 * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
462 status for NOTB/NOTW/NEGW methods.
464 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
466 * doc/invoke.texi: Update dump file names. Fix a typo.
468 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
470 * builtins.c (expand_builtin_va_end): Don't use
471 EXPAND_BUILTIN_VA_END.
472 * system.h (EXPAND_BUILTIN_VA_END): Poison.
473 * config/d30v/d30v.h: Remove a commented-out definition of
474 EXPAND_BUILTIN_VA_END.
475 * config/stormy16/stormy16.h: Likewise.
477 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
479 * system.h (STRUCT_VALUE_INCOMING_REGNUM): Poison.
480 * targhooks.c (default_struct_value_rtx): Don't use
481 STRUCT_VALUE_INCOMING_REGNUM.
483 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
486 * configure.in: Revamp enable-generated-files-in-srcdir rule to define
487 GENINSRC and not parsedir. Define srcextra as a langhook.
488 * configure: Regenerate.
489 * Makefile.in: Suppress default .l.c rule. Don't substitute
490 parsedir and delete all references throughout. Conditionally define
491 rule for srcextra dependent on GENINSRC.
492 (stmp-docobjdir): Delete.
493 (c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule.
494 (srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c,
495 and gengtype-yacc.h back to source directory.
496 (maintainer-clean): Delete all parse files in source directory.
497 (distclean): Delete generated files.
499 * objc/Make-lang.in (objc-parse.o): Use implicit build rule.
500 (objc-parse.c, objc-parse.y): Don't use parsedir.
501 (objc.srcextra): Copy objc-parse.y and objc-parse.c back to source
502 directory if requested.
503 (po-generated): Don't use parsedir.
504 (objc.maintainer-clean): Delete above files from source directory.
506 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
508 * doc/tm.texi (FUNCTION_VALUE): Fix a typo.
510 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
512 * doc/tm.texi: Replace RETURN_IN_MEMORY with
513 TARGET_RETURN_IN_MEMORY.
515 2004-01-15 Jan Hubicka <jh@suse.cz>
517 * builtins.c (std_expand_builtin_va_arg): Align operand when needed.
518 * i386.c (init_cumulative_args): Set warn_sse; fix handling of variadic
519 functions accepting SSE arguments
520 (function_arg): Warn only when asked to warn.
521 * i386.h (ix86_args): Add warn_sse/warn_mmx fiels.
523 2004-01-14 Joseph S. Myers <jsm@polyomino.org.uk>
525 * c-parse.in (stmts_and_decls): Make label at end of compound
526 statement a hard error.
528 2004-01-14 Jan Hubicka <jh@suse.cz>
530 * cgraph.c (create_edge): Use local.redefined_extern_inline.
531 * cgraph.h (cgraph_local_info): Sort fields by size; add
532 redefined_extern_inline
533 (cgraph_global_info): Sort fields by size.
534 (cgraph_node): Likewise.
535 * cgraphunit.c (cgraph_finalize_function): Se
536 local.redefined_extern_inline on redefinition.
537 (cgraph_analyze_function): Use it; fix formating.
539 2004-01-14 Jan Hubicka <jh@suse.cz>
542 * sched-deps.c (trye_dependency_cache, anti_dependency_cache,
543 outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of
545 (cache_size): New variable
546 (add_dependence): Update use; canonize early memory locations
547 (sched_analyze_1): Likewise.
548 (sched_analyze_2): Likewise.
549 (init_dependency_caches): Initialize bitmaps.
550 (free_dependency_caches): Free bitmaps
552 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
554 * calls.c: Replace STRICT_ARGUMENT_NAMING in comments with
555 targetm.calls.strict_argument_naming().
556 * target.h: Likewise.
558 2004-01-14 Richard Henderson <rth@redhat.com>
561 * dwarf2out.c (dwarf2out_stack_adjust): Skip prologue and epilogue
564 2004-01-14 Richard Henderson <rth@redhat.com>
567 * except.c (struct eh_region): Add u.fixup.resolved.
568 (resolve_one_fixup_region): Split out from ...
569 (resolve_fixup_regions): ... here.
571 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
573 * config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0.
575 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
577 * config/alpha/alpha.h (STRUCT_VALUE): Remove.
578 * config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef.
579 (STRUCT_VALUE): Remove.
581 2003-01-14 Steven Bosscher <stevenb@suse.de>
583 * system.h: Poison PROMOTED_MODE
584 * integrate.c (expand_inline_function): Don't mention the
586 * loop.c (update_giv_derive): Same.
587 * tree.h (DECL_RTL): Same.
589 2004-01-14 J"orn Rennecke <joern.rennecke@superh.com>
592 * sh.c (gen_block_redirect): Add special handling of RETURN.
593 (gen_far_branch) Don't call gen_stuff_delay_slot if there is no
594 far branch target (i.e. it's a return).
596 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
598 * regrename.c (find_oldest_value_reg): Fix a warning.
600 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
603 * config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file.
604 Move linux-gas.h and linux-elf.h before aout.h.
605 * arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already.
606 * arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define.
608 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
610 * config/m32r/m32r.md: Use GEN_INT instead of gen_rtx
611 (CONST_INT, VOIDmode, ...).
613 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
615 * regrename.c (find_oldest_value_reg): If the replacement uses
616 multiple hard registers, check that all of them are in CLASS.
618 2004-01-14 Jan Hubicka <jh@suse.cz>
620 * alias.c (get_alias_set): Initialize alias set to 0 when subset is
623 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
625 * Makefile.in: Define MAINT from --enable-maintainer-mode.
627 2004-01-14 Hartmut Penner <hpenner@de.ibm.com>
629 * gcc/config/rs6000/rs6000.c (rs6000_stack_info)
630 Calculate always vrsave_mask if TARGET_ALTIVEC.
631 (rs6000_emit_prologue): Emit code for vrsave
632 only if TARGET_ALTIVEC_VRSAVE.
633 (rs6000_emit_epilogue): Likewise.
635 2004-01-14 Eric Botcazou <ebotcazou@libertysurf.fr>
637 * config/sparc/sparc.md (tie_add32): Fix pasto.
638 (tie_add64): Likewise.
640 2004-01-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
642 * config/i386/i386.md (*addqi_1_slp): Do not access operands[2].
644 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
646 * config/iq2000/iq2000-protos.h: Fix comment formatting.
647 * config/iq2000/iq2000.c: Likewise.
648 * config/iq2000/iq2000.md: Likewise.
650 2004-01-14 J. Brobecker <brobecker@gnat.com>
652 * dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
653 (subrange_type_die): Add handle for nameless subrange types.
655 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
657 * config/h8300/h8300-protos.h: Replace do_movsi with
659 * config/h8300/h8300.c (do_movsi): Change to
661 * config/h8300/h8300.md (movsi): Replace do_movsi with
665 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
667 * config/h8300/h8300.c (dosize): Change to
668 h8300_emit_stack_adjustment. Update callers.
670 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
672 * config/h8300/h8300.md (movstrictqi): Add an alternative with
673 the source being post_inc. Tighten the predicate for the
674 destination to register_operand.
675 (movstricthi): Likewise.
677 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
679 * system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
680 * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP.
681 * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove.
683 2004-01-14 Jan Hubicka <jh@suse.cz>
685 Partial fix PR c++/12850
686 * cgraphunit.c (cgraph_finalize_function): Always ggc_collect when
689 2004-01-13 Bernardo Innocenti <bernie@develer.com>
691 * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
694 2004-01-13 Devang Patel <dpatel@apple.com
697 * dbxout.c (dbxout_symbol_name): Emit mangled names for
698 NAMESPACE_DECL memebers.
700 2004-01-13 Andrew Pinski <pinskia@physics.uc.edu>
703 * c-common.c (finish_fname_decls): Use the chain only if the
704 tree is an expr_stmt.
706 2004-01-13 Vladimir Makarov <vmakarov@redhat.com>
708 * rtl.def: Add comment about new option in automata_option.
710 * genautomata.c (PROGRESS_OPTION): New macro.
711 (progress_flag): New global variable.
712 (gen_automata_option): Process `progress'.
713 (transform_insn_regexps, check_unit_distributions_to_automata,
714 make_automaton, NDFA_to_DFA, build_automaton, create_automata,
715 expand_automata, write_automata): Print about the progress only if
716 progress_flag. Remove fflush.
717 (initiate_automaton_gen): Process command line flag `-progress'.
719 * doc/md.texi: Describe the new option.
721 2004-01-13 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
723 * cfg.c (dump_bb): Dump entry edges.
725 2004-01-13 Richard Earnshaw <rearnsha@arm.com>
727 * arm.c (thumb_legitimate_address_p): Only allow constant pool
728 references from SImode.
729 * arm.md (thumb_movhi_insn): Don't allow minipool references.
731 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
733 * system.h (TEXT_SECTION): Poison.
734 * varasm.c (text_section): Don't use TEXT_SECTION.
735 * config/sh/sh.c (sh_file_start): Fix a comment typo.
736 * doc/tm.texi (TEXT_SECTION): Remove.
738 2004-01-13 Ben Elliston <bje@wasabisystems.com>
740 * doc/rtl.texi (Vector Operations): Remove defunct vec_const item.
742 2004-01-12 James E Wilson <wilson@specifixinc.com>
744 * unwind-libunwind.c: Delete.
746 2004-01-12 Zack Weinberg <zack@codesourcery.com>
749 * c-decl.c (diagnose_mismatched_decls): Whenever newtype or
750 oldtype is set, set *newtypep or *oldtypep too. Do not set
751 them at the very end.
752 (validate_proto_after_old_defn): Restructure for comprehensibility;
753 make error messages clearer.
755 2004-01-12 Zack Weinberg <zack@codesourcery.com>
757 * varray.h (VARRAY_POP): Add checking variant, aborts on underflow.
758 (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked.
759 * varray.c: No need to prototype error.
760 (varray_check_failed): Wrap long string onto two lines.
761 (varray_underflow): New function.
763 2004-01-13 Steven Bosscher <stevenb@suse.de>
766 * function.h (struct function): Kill `name' field.
767 (current_function_name): Make it an extern function.
768 * function.c (current_function_name): New function.
769 * graph.c: Update all uses of current_function_name.
771 * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
772 config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
773 * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
774 instead of a strcmp with "main".
776 2004-01-13 Jan Hubicka <jh@suse.cz>
778 * c-decl.c (diagnose_mismatched_decls): Fix warning calls.
780 * cgraphunit.c (cgraph_optimize_function): Always do
781 optimize_inline_calls when there is always_inline callee.
782 (cgraph_decide_inlining): Fix formating.
783 * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
785 (expand_call_inline): Likewise.
786 * toplev.h (sorry): Fix prototype.
788 2004-01-12 Roger Sayle <roger@eyesopen.com>
790 * builtins.c (expand_builtin_expect_jump): Simplify logic. Handle
791 conditional jumps that drop through to unconditional jumps or the
794 2004-01-13 Jan Hubicka <jh@suse.cz>
796 * alias.c (new_alias_set): Construct the alias_set varray.
797 (init_alias_once): Don't do it here.
799 2004-01-12 Marc Espie <espie@openbsd.org>
801 * system.h: handle YYBYACC like YYBISON.
803 2004-01-12 Jonathan Merriman <jonm@dualitymedia.com>
806 * config.gcc: No longer includes conflicting header sparc/sol2.h when
807 building on sparc64-*-openbsd*.
809 2004-01-12 Andrew Pinski <pinskia@physics.uc.edu>
812 * dbxout.c (dbxout_type): Protected inheritance is not
813 private but protected.
815 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
817 * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.
819 2004-01-12 Kazu Hirata <kazu@cs.umass.edu>
821 PR optimization/12508.
822 * combine.c (try_combine): Remove a dead set in a parallel
823 even if its destination is a subreg.
826 2003-06-03 Kazu Hirata <kazu@cs.umass.edu>
827 * combine.c (simplify_set): Don't move a subreg in SET_SRC to
828 SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
830 2004-01-12 Geoffrey Keating <geoffk@apple.com>
832 * real.c: Update copyright date.
833 * emit-rtl.c: Likewise.
835 * dwarf2out.c: Likewise.
836 * config/rs6000/darwin-ldouble.c: Likewise.
837 * config/rs6000/rs6000.md: Likewise.
839 2004-01-12 David Edelsohn <edelsohn@gnu.org>
841 * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
842 TFmode to SImode libfuncs.
844 2004-01-12 Roger Sayle <roger@eyesopen.com>
847 * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
849 2004-01-12 Jan Hubicka <jh@suse.cz>
852 * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
856 * cfgcleanup.c (label_is_jump_target_p): Move to...
857 * rtlanal.c (label_is_jump_target_p): ... here.
858 * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Fix redirecting of fallthru
859 edges unified with branch edges.
861 2004-01-12 Richard Earnshaw <rearnsha@arm.com>
863 * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
864 high word of an integral CONST_DOUBLE.
866 2004-01-12 Paul Brook <paul@codesourcery.com>
868 * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
870 2004-01-12 J"orn Rennecke <joern.rennecke@superh.com>
873 * sh-protos.h (check_use_sfunc_addr): Declare.
874 * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
875 * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
877 2004-01-12 Jan Hubicka <jh@suse.cz>
879 * alias.c: Invlude varray.h
880 (alias_sets): Turn into varray.
881 (get_alias_set_entry): Use VARRAY; mark inline.
882 (mems_in_disjoint_alias_sets_p): Mark inline.
883 (record_alias_subset): Use varray.
884 (init_alias_once): Initialize varray.
885 (new_alias_set): Grow array.
886 * varray.c: Make VARRAY_GENERIC_PTR non GTYized.
888 2004-01-12 Jan Hubicka <jh@suse.cz>
890 Partial fix for PR opt/10776 II
891 * cselib.c: Include params.h
892 (cselib_invalidate_mem): Limit amount of nonconflicting memory
894 * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
895 * Makefile.in (cselib.o): Depend on params.h
897 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
899 * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
900 simplify_unary_operation if the operand has a known mode.
902 2004-01-12 Hartmut Penner <hpenner@de.ibm.com>
905 * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
906 predicate to handle 'ld' conform addresses.
907 * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
909 (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
910 are memory contraints.
911 * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
913 * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
914 Change 'o' to 'Y' constraint.
915 (*movdf_softfloat64): Ditto.
917 2004-01-12 Bernardo Innocenti <bernie@develer.com>
919 * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
920 brace-enclosed syntax in all C output statements.
922 2004-01-12 David Edelsohn <edelsohn@gnu.org>
925 * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
926 Objective-C language type value is 14.
928 2004-01-12 Markus F.X.J. Oberhumer <markus@oberhumer.com>
931 * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
932 `int' in a number of places to make sure we always have a SImode
933 and not a HImode. Add a 'L' suffix to a number of constants.
935 2004-01-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
937 * pa.c: Don't include obstack.h.
939 * pa.md: Correct constraint in pattern for loading PIC label address.
941 2004-01-11 Kaz Kojima <kkojima@gcc.gnu.org>
943 * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
946 2004-01-11 Steven Bosscher <stevenb@suse.de>
949 * toplev.c (rest_of_handle_inline): Also consider functions
950 for deferral if the language is GNU F77.
952 2004-01-11 Zack Weinberg <zack@codesourcery.com>
954 * c-decl.c (diagnose_arglist_conflict): Add missing space to
957 2004-01-11 Jakub Jelinek <jakub@redhat.com>
960 * builtins.c (expand_builtin_expect_jump): Handle conditional jumps
961 to drop through label. Don't fall back to SCC even when conditional
962 jump has not been found.
964 2004-01-11 Jan Hubicka <jh@suse.cz>
966 * invoke.texi: Fix syntax error in previous patch.
968 Partial fix for PR opt/10776
969 * Makefile.in (reload.o): Include param.h
970 * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter.
971 * reload.c: Include params.h.
972 (find_equiv_reg): Work limiting check.
973 * invoke.texi: Document.
975 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
977 * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
978 out-of-bounds accesses to string constants. Simplify mips16
981 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
983 PR optimization/13469
984 * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
985 reload_cse_regs (-fnon-call-exceptions only).
987 2004-01-11 Kazu Hirata <kazu@cs.umass.edu>
989 * config/mcore/lib1.asm: Fix comment formatting.
990 * config/mcore/mcore-elf.h: Likewise.
991 * config/mcore/mcore.c: Likewise.
992 * config/mcore/mcore.h: Likewise.
993 * config/mcore/mcore.md: Likewise.
995 2004-01-10 Zack Weinberg <zack@codesourcery.com>
997 * c-decl.c (duplicate_decls): Break apart into...
998 (diagnose_arglist_conflict, validate_proto_after_old_defn)
999 (locate_old_defn, diagnose_mismatched_decls, merge_decls):
1000 ... these new functions. Restructure for comprehensibility.
1001 Remove various archaic special cases. Always report the
1002 location of the previous declaration when a diagnostic is issued.
1003 (redeclaration_error_message): Fold into diagnose_mismatched_decls.
1004 (match_builtin_function_types): Delete unnecessary forward declaration.
1006 2004-01-10 Zack Weinberg <zack@codesourcery.com>
1008 * genautomata.c (make_automaton, NDFA_to_DFA):
1009 Print progress bars with '.' characters instead of '*'.
1010 (build_automaton): Change notes to match.
1012 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
1014 * config/m32r/m32r.md: Use define_constants for unspec and
1017 2004-01-10 Jan Hubicka <jh@suse.cz>
1020 * expr.c (expand_expr_real): More curefully expand union casts.
1022 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
1024 * config/m32r/m32r.md (flush_icache): Use 1 for
1027 2004-01-10 David Edelsohn <edelsohn@gnu.org>
1028 James E Wilson <wilson@specifixinc.com>
1031 * dbxout.c (dbxout_symbol): Remove initialization of
1032 current_sym_code, current_sym_value, and current_sym_addr.
1033 (dbxout_symbol_location): Same.
1034 (dbxout_prepare_symbol): Zero current_sym_code,
1035 current_sym_value, and current_sym_addr.
1037 2004-01-10 Richard Sandiford <rsandifo@redhat.com>
1039 * tree.c (get_unwidened): Reorder conditions so that the null pointer
1040 check is done first.
1042 2004-01-09 Eric Christopher <echristo@redhat.com>
1044 * toplev.c (rest_of_handle_cfg): Add reg_scan pass
1045 if we're running mark_constant_function.
1047 2004-01-09 Jeff Bailey <jbailey@nisa.net>
1050 * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
1052 2004-01-09 Andrew Pinski <pinskia@physics.uc.edu>
1055 * dbxout.c (dbxout_type_fields): Return if any item is
1056 error_mark_node or the type is error_mark_node.
1058 2004-01-09 Geoffrey Keating <geoffk@apple.com>
1060 * config/rs6000/darwin-ldouble.c: Add big comment explaining
1061 exactly what is expected as a 'long double'.
1062 (_xlqadd): When a value to be returned is representable as a
1063 'double', just return it directly, do not construct it using a union.
1064 Also, correct final fixup.
1065 (_xlqmul): Likewise.
1066 (_xlqdiv): Likewise.
1067 * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.
1069 * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
1071 2004-01-09 Richard Henderson <rth@redhat.com>
1073 * recog.c (constrain_operands): Validate mem operands.
1075 2004-01-09 James E Wilson <wilson@specifixinc.com>
1077 * gcc.c (init_spec): Remove -lunwind from shared case.
1078 * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
1080 2004-01-09 Steve Ellcey <sje@cup.hp.com>
1082 * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
1083 * configure: Regenerate
1085 2004-01-09 Joseph S. Myers <jsm@polyomino.org.uk>
1088 * c-typeck.c (build_c_cast): If pedantic, warn for conversions
1089 between function and object pointers.
1090 (digest_init): When comparing a pointer to function type to the
1091 target type, only apply TREE_TYPE once to the pointer to function
1093 * except.c (for_each_eh_label_1): Treat data as a pointer to a
1094 function pointer rather than casting it to a function pointer.
1095 (for_each_eh_label): Update caller.
1096 * recog.h (struct insn_data): Use a struct or union for output.
1097 * genoutput.c (output_insn_data): Update.
1098 * final.c (get_insn_template): Update.
1100 2004-01-09 Mark Mitchell <mark@codesourcery.com>
1102 * expr.h (expand_expr): Make it a macro, not a function.
1103 (expand_expr_real): New function.
1104 * expr.c (store_expr): Adjust logic for deciding whether or not to
1105 copy the value returned by expand_expr.
1106 (expand_expr): Rename to ...
1107 (expand_expr_real): ... this. Add alt_rtl parameter. Adjust
1108 calls to language hooks.
1109 * c-common.h (c_expand_expr): Adjust prototype.
1110 * c-common.c (c_expand_expr): Add alt_rtl parameter.
1111 * langhooks-def.h (lhd_expand_expr): Change prototype.
1112 * langhooks.c (lhd_expand_expr): Add all_rtl parameter.
1113 * langhooks.h (lang_hooks): Change type of expand_expr.
1114 * stmt.c (stmt_status): Add x_last_expr_alt_rtl.
1115 (last_expr_alt_rtl): Likewise.
1116 (expand_expr_stmt_value): Set last_expr_alt_rtl.
1117 (clear_last_expr): Clear it.
1118 (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
1119 (expand_end_bindings): Save and restor last_expr_alt_rtl.
1120 * tree.def (RTL_EXPR): Give it an additional operand.
1121 * tree.h (RTL_EXPR_ALT_RTL): New macro.
1123 2004-01-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1125 * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
1126 * config/m32r/m32r.c (call26_operand): Allow in PIC mode.
1128 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
1131 * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
1132 or (ne:SI (reg:CC 17) (const_int 0)).
1133 Be specific about modes wherever possible.
1135 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
1137 * config/m32r/m32r.c (m32r_expand_block_move): Call
1138 gen_movestrsi_internal with two more arguments.
1139 (m32r_output_block_move): Adjust operand numbers.
1140 Properly update the source and destination pointers.
1141 * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
1142 'r+'. Change the set detinations to match_operand.
1144 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
1146 * final.c (FIRST_INSN_ADDRESS): Remove.
1147 (shorten_branches): Don't use FIRST_INSN_ADDRESS.
1148 * system.h (FIRST_INSN_ADDRESS): Poison.
1149 * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
1150 * config/m32r/m32r-protos.h: Remove the prototype for
1151 m32r_first_insn_address.
1152 * config/m32r/m32r.c (m32r_first_insn_address): Remove.
1153 * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
1154 * doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
1156 2004-01-09 J. Brobecker <brobecker@gnat.com>
1158 * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
1160 (is_ada_subrange_type): DIEs for enumeration subtypes should be
1161 emitted as subrange types too.
1162 (subrange_type_die): Add handling of enumeration subtypes.
1164 2004-01-08 Richard Henderson <rth@redhat.com>
1167 Revert: Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
1168 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
1169 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
1170 (ix86_address_cost): Be prepared for SUBREGed registers.
1171 (legitimate_address_p): Accept SUBREGed registers.
1173 2004-01-08 Kelley Cook <kcook@gcc.gnu.org>
1175 * Makefile.in: Rename configure.in to configure.ac
1176 * doc/sourcebuild.texi: Likewise.
1177 * configure: Regenerate.
1178 * config.in: Regenerate.
1180 2004-01-08 Stuart Hastings <stuart@apple.com>
1182 * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
1184 2004-01-08 Jan Hubicka <jh@suse.cz>
1186 * cgraphunit.c (cgraph_decide_inlining): Fix typo.
1188 2004-01-08 Geoffrey Keating <geoffk@apple.com>
1190 * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
1191 (UNSPEC_FIX_TRUNC_TF): New constant.
1192 (movtf_internal): Make splitter active only when insn is active.
1193 (extenddftf2): Rewrite to properly load zero into low part.
1194 (extenddftf2_internal): New.
1195 (extendsftf2): Rewrite.
1196 (truncdftf2): Correct length.
1197 (floatditf2): Delete.
1198 (fix_trunc_helper): New.
1199 (fix_trunctfdi2): Use fix_trunc_helper.
1200 (fix_trunctfsi2): Likewise.fix_trunc
1201 (fix_trunctfsi2_internal): New.
1203 * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
1204 addresses are legitimate on Darwin even when flag_pic.
1205 (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
1206 non-offsettable addresses for loads of TFmode constants.
1208 2004-01-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1210 * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
1211 variables in the appropriate bss section.
1213 2004-01-09 Alan Modra <amodra@bigpond.net.au>
1215 * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
1216 target_flags has MASK_POWERPC64 when -m64.
1217 * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
1218 to 620, 630, power3, power4 and rs64a entries.
1219 * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
1221 2004-01-08 Richard Sandiford <rsandifo@redhat.com>
1223 * simplify-rtx.c (simplify_immed_subreg): Fix construction of
1224 floating-point constants.
1226 2004-01-08 J. Brobecker <brobecker@gnat.com>
1228 * dwarf2out.c (subrange_type_die): Add context_die parameter.
1229 Create the subrange_type DIE using the given context DIE.
1230 (modified_type_die): Update call to subrange_type_die.
1232 2004-01-08 Zack Weinberg <zack@codesourcery.com>
1234 * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
1235 Add multiple-include guard.
1237 2004-01-08 Hartmut Penner <hpenner@de.ibm.com>
1239 * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
1240 all vector constant loadable by vsplt*.
1241 (output_vec_const_move): Likewise.
1243 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
1246 * c-typeck.c (comptypes): Only treat enumerated types in the same
1247 translation unit as compatible with each other when they are the
1249 * doc/extend.texi: Update.
1251 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
1254 * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
1255 array type from the array element type.
1257 2004-01-07 Alan Modra <amodra@bigpond.net.au>
1259 * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
1260 * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
1261 * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
1262 (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
1263 * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
1265 2004-01-06 Eric Christopher <echristo@redhat.com>
1267 * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
1268 (DWARF2_DEBUGGING_INFO): Define.
1269 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
1270 * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
1271 * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
1273 (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
1274 * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
1275 * config/mips/iris5gas.h: Ditto.
1276 (DBX_DEBUGGING_INFO): Remove.
1277 (DWARF2_DEBUGGING_INFO): Ditto.
1278 (MIPS_DEBUGGING_INFO): Ditto.
1279 (PREFERRED_DEBUGGING_TYPE): Ditto.
1280 * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
1281 (PREFERRED_DEBUGGING_TYPE): Ditto.
1282 (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
1283 * config/mips/elf64.h: Ditto.
1285 2004-01-06 Jan Hubicka <jh@suse.cz>
1287 * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
1288 (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
1290 2004-01-06 Geoffrey Keating <geoffk@apple.com>
1292 * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
1293 (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
1294 * config/rs6000/darwin-ldouble.c: New.
1296 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
1298 (constant_subword): Delete.
1299 * rtl.h (constant_subword): Delete prototype.
1300 (immed_double_const): Is not in varasm.c.
1301 * simplify-rtx.c (simplify_immed_subreg): New.
1302 (simplify_subreg): Use simplify_immed_subreg.
1304 * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
1305 than trying to generate RTL directly.
1306 (fix_trunctfsi2): Use expand_fix rather than trying to generate
1309 * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
1311 2004-01-06 David Edelsohn <edelsohn@gnu.org>
1313 * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
1314 function into a separate macro.
1315 (read_only_data_section): Add void argument.
1316 (private_data_section): Same.
1317 (read_only_private_data_section): Same.
1318 (toc_section): Same.
1320 2004-01-06 Jan Hubicka <jh@suse.cz>
1322 * invoke.texi: Remove typo in last change.
1325 * config.gcc: Accept opteron and athlon-64 as variants
1327 * i386.c (override_options): Likewise.
1328 * invoke.texi (i386 -mtune): Expand documentation.
1330 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
1332 * alias.c: Fix comment typos.
1333 * builtins.c: Likewise.
1336 * dominance.c: Likewise.
1337 * dwarf2out.c: Likewise.
1338 * emit-rtl.c: Likewise.
1340 * final.c: Likewise.
1341 * fold-const.c: Likewise.
1343 * genattrtab.c: Likewise.
1344 * genrecog.c: Likewise.
1345 * gensupport.c: Likewise.
1346 * ggc-zone.c: Likewise.
1347 * integrate.c: Likewise.
1348 * local-alloc.c: Likewise.
1350 * recog.c: Likewise.
1351 * regmove.c: Likewise.
1352 * reg-stack.c: Likewise.
1353 * reorg.c: Likewise.
1354 * rtlanal.c: Likewise.
1356 * sched-ebb.c: Likewise.
1357 * simplify-rtx.c: Likewise.
1358 * toplev.c: Likewise.
1359 * varasm.c: Likewise.
1361 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
1363 * doc/install.texi: Fix typos.
1364 * doc/invoke.texi: Likewise.
1365 * doc/md.texi: Likewise.
1367 2004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1369 * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
1371 2004-01-06 Jan Hubicka <jh@suse.cz>
1373 * i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
1374 (function_arg_advance): Do not pass aggregates in SSE; deal handling
1376 (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
1378 * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
1379 (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
1380 (MMX_REGPARM_MAX): Similarly for -mmmx.
1382 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1384 * config/sh/linux.h: Fix comment formatting.
1385 * config/sh/netbsd-elf.h: Likewise.
1386 * config/sh/sh.c: Likewise.
1387 * config/sh/sh.h: Likewise.
1388 * config/sh/vxworks.h: Likewise.
1390 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1392 * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
1393 * toplev.c (output_file_directive): Don't use
1394 ASM_OUTPUT_MAIN_SOURCE_FILENAME.
1396 2004-01-05 Daniel Berlin <dberlin@dberlin.org>
1398 * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
1399 (USING_MMAP): We don't support non-mmap.
1400 (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
1402 (struct page_entry): Remove bytes_free.
1403 (struct page_table_chain): Remove.
1404 (struct globals): Remove page_table member.
1405 (loookup_page_table_entry): Function deleted.
1406 (set_page_table_entry): Ditto.
1407 (ggc_allocated_p): No longer need page table lookups.
1408 (ggc_marked_p): Ditto.
1409 (alloc_small_page): Don't care about bytes_free anymore.
1410 (alloc_large_page): Round up size.
1411 (ggc_alloc_zone_1): Mark large objects as such, and calculate
1412 their size the new way.
1413 Remove page table lookups and setting.
1414 (ggc_get_size): Calculate large object size the new way.
1415 (sweep_pages): Redo to account for fact that we no longer have
1417 (ggc_collect): No longer need to reincrement bytes_free.
1418 (ggc_pch_alloc_object): Handle new large objects properly.
1419 (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
1421 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1423 * doc/invoke.texi: Remove a page break.
1425 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1427 * config/avr/avr.c (avr_output_function_prologue): Remove an
1428 extra pair of curly braces.
1430 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1432 * config/mn10300/mn10300.c: Fix comment formatting.
1433 * config/mn10300/mn10300.h: Likewise.
1435 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1437 * tree.h: Update documentation on nothrow_flag.
1438 * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
1441 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1443 * doc/invoke.texi: Remove traces of dead ports.
1445 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1447 * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
1450 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1453 * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
1455 * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
1456 (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
1457 string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check
1458 the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
1459 (mips_symbol_insns): Don't trust the local/global classification.
1460 (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
1461 (override_options): Make -mabicalls -fno-unit-at-a-time imply
1462 -mno-explicit-relocs.
1463 (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
1464 between local and global symbols.
1466 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1468 * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
1469 (mips_preferred_reload_class): Declare.
1470 * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
1471 (EXTRA_CONSTRAINT): Update accordingly.
1472 (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
1473 * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
1474 (mips_preferred_reload_class): New function. Prefer LEA_REGS if
1475 mips_dangerous_for_la25_p.
1476 (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
1477 if mips_dangerous_for_la25_p.
1479 2004-01-05 Bernardo Innocenti <bernie@develer.com>
1481 * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
1484 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org>
1486 * configure.ac: Use AC_PROG_CPP_WERROR.
1487 * configure: Regenerate.
1489 2004-01-04 Zack Weinberg <zack@codesourcery.com>
1491 * .cvsignore: Add autom4te.cache.
1493 2004-01-04 Richard Sandiford <rsandifo@redhat.com>
1495 * doc/invoke.texi: Revamp documentation of MIPS options. Remove
1496 -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
1497 -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first,
1498 then architecture options, then ABI options. General rewording.
1500 2004-01-04 Joseph S. Myers <jsm@polyomino.org.uk>
1503 * doc/extend.texi: Clarify definition of malloc attribute.
1505 2004-01-04 Jan Hubicka <jh@suse.cz>
1507 * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
1508 * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
1509 * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
1510 (cgraph_inline_p): Add extra argument reason.
1511 * cgraphunit.c: Minor formating fixes.
1512 cgraph_first_inlined_callee): New functions.
1513 (record_call_1): Record builtins too.
1514 (cgraph_analyze_function): Update inline_failed messages.
1515 (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
1516 cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
1517 (cgraph_check_inline_limits): Likewise; Add argument reason.
1518 (cgraph_set_inline_failed): New static function.
1519 (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
1521 (cgraph_inline_p): Add new argument reason.
1522 * tree-inline.c (expand_call_inline): Update warning.
1524 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
1526 * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
1527 with modern equivalents.
1528 * configure: Regenerate.
1530 * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
1531 * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
1532 * configure: Regenerate.
1534 * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
1536 * configure.in: Rename to configure.ac.
1537 * configure.ac: Renamed from configure.in; make minimum necessary
1538 changes for autoconf 2.5x.
1539 * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
1540 * configure: Regenerate with autoconf 2.57.
1542 2004-01-03 Kazu Hirata <kazu@cs.umass.edu>
1544 * config/mips/linux.h: Fix comment formatting.
1545 * config/mips/mips.c: Likewise.
1546 * config/mips/mips.h: Likewise.
1547 * config/mips/mips.md: Likewise.
1548 * config/mips/netbsd.h: Likewise.
1549 * config/mips/windiss.h: Likewise.
1551 2004-01-02 Richard Henderson <rth@redhat.com>
1553 * config/i386/i386.md (fp constant pool splitter): Reorg suppression
1554 for sse and 387; add suppression for mmx.
1556 2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
1558 * loop.c (loop_optimize): Free all loops_info's mems.
1560 * c-typeck.c (finish_init): Free spelling_base before
1563 * cfgloop.c (flow_loops_find): Always free the sbitmap
1566 * predict.c (estimate_probability): Free bbs after being
1569 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
1571 * config/mn10300/mn10300.h (PREDICATE_CODES): Add
1572 const_8bit_operand and call_address_operand.
1574 2004-01-02 Jan Hubicka <jh@suse.cz>
1576 * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls
1577 when there is nothing to inline but warnings are requested.
1578 (cgraph_decide_inlining): Fix memory leak.
1580 2004-01-02 Jan Hubicka <jh@suse.cz>
1582 * expr.c (store_constructor): Fix pasto in previous patch.
1584 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
1586 * config/i386/cygming.h: Fix comment formatting.
1587 * config/i386/djgpp.h: Likewise.
1588 * config/i386/gthr-win32.c: Likewise.
1589 * config/i386/i386-interix.h: Likewise.
1590 * config/i386/i386.c: Likewise.
1591 * config/i386/i386.h: Likewise.
1592 * config/i386/openbsd.h: Likewise.
1593 * config/i386/winnt.c: Likewise.
1594 * config/i386/xm-mingw32.h: Likewise.
1596 2004-01-02 Joseph S. Myers <jsm@polyomino.org.uk>
1598 * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
1599 copyright and last modification dates.
1601 2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de>
1603 * doc/install.texi (Specific): Mention x86_64.
1605 2004-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1607 * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
1608 Call force_operand on plus_constant result.
1610 2004-01-01 Jan Hubicka <jh@suse.cz>
1612 * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
1613 * expr.c (store_constructor): Use vec_init pattern.
1614 * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
1615 * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
1616 (vec_set_optab, vec_extract_optab, vec_init_optab): New.
1617 * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
1619 (sse2_unpc?pd): Fix pattern.
1620 (sse2_movlpd): Kill.
1621 (sse2_movsd): Deal with movlpd too.
1622 * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
1623 (ix86_expand_vector_init): New.
1624 * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
1625 * md.texi (vec_set, vec_extract): Document
1627 2003-12-31 Jan Hubicka <jh@suse.cz>
1630 * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside
1634 * toplev.c (dump_file_index): Reorder ce3 and bbro.
1635 (dump_file): Likewise.
1636 (rest_of_compilation): Likewise.
1639 * cgraph.c (cgraph_function_possibly_inlined): Even with
1640 flag_really_no_inline we inline always_inline functions.
1641 * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
1642 for non-always_inline functions when there is flag_really_no_inline.
1643 (cgraph_decide_inlining): Limit work done when not inlining.
1644 (cgraph_decide_inlining_incrementally): Likewise.
1645 (cgraph_optimize_function): Check whether something got inlined.
1646 * c-objc-common.c (c_disregard_inline_limits): Do not always inline
1647 extern inline functions when not inlining.
1649 * opts.c (decode_options): Disable crossjumping at -O1
1650 * invoke.texi (-O1): Document change.
1652 See ChangeLog.10 for earlier changes.