OSDN Git Service

Add bugzilla reference:
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 63bebc5..7904557 100644 (file)
@@ -1,6 +1,319 @@
+2004-01-16  J"orn Rennecke <joern.rennecke@superh.com>
+
+       PR 11864
+       * postreload.c (reload_cse_simplify_operands): Don't remove
+       implicit extension from LOAD_EXTEND_OP.
+
+2004-01-16  Jan Hubicka  <jh@suse.cz>
+
+        PR opt/11350
+        * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal
+       after reload.
+        * cfgrtl.c (rtl_can_merge_blocks, cfglayout_can_merge_blocks,
+        rtl_try_redirect_by_replacing_branch): Likewise.
+
+2004-01-15  Geoffrey Keating  <geoffk@apple.com>
+
+       PR pch/13689
+       * alias.c (struct alias_set_entry): Mark for GC.
+       (alias_sets): Make static, mark for GC.
+       (record_alias_subset): Use GC to allocate alias structures.
+       * varray.c (element): Make generic varrays GCed.
+
+       PR pch/13361
+       * c-typeck.c (constructor_asmspec): Delete.
+       (struct initializer_stack): Delete field 'asmspec'.
+       (start_init): Delete saving of asmspec.
+       (finish_init): Don't update constructor_asmspec.
+       * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
+       * stmt.c (expand_asm): Duplicate strings from tree.
+       (expand_asm_operands): Likewise.
+       * tree.c (tree_size): Update computation of size of STRING_CST.
+       (make_node): Don't make STRING_CST nodes.
+       (build_string): Allocate string with tree node.
+       * tree.def (STRING_CST): Update comment.
+       * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
+       (tree_string): Place contents of string in tree node.
+       * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
+       from tree.
+
+       * config/rs6000/rs6000.c (rs6000_va_arg): No need to special-case
+       altivec operands.
+
+2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * c-common.h: Fix comment formatting.
+       * c-cppbuiltin.c: Likewise.
+       * c-pragma.c: Likewise.
+       * calls.c: Likewise.
+       * collect2.c: Likewise.
+       * cppcharset.c: Likewise.
+       * cpptrad.c: Likewise.
+       * dbxout.c: Likewise.
+       * defaults.h: Likewise.
+       * dwarf2out.c: Likewise.
+       * fold-const.c: Likewise.
+       * genautomata.c: Likewise.
+       * genconditions.c: Likewise.
+       * genflags.c: Likewise.
+       * gengtype.c: Likewise.
+       * integrate.c: Likewise.
+       * loop.c: Likewise.
+       * predict.c: Likewise.
+       * sdbout.c: Likewise.
+
+2004-01-15  Zack Weinberg  <zack@codesourcery.com>
+
+       * config/ia64/ia64.md (*movti_internal): C output template
+       extracted to ia64.c.
+       (*movti_internal_reg): Delete.
+       (reload_inti, reload_outti): Use the correct mode on operand 2
+       in the first place, don't fix it up in the output template.
+       (movtf, reload_ointf, reload_outtf): New expanders.
+       (*movtf_internal): New define_insn_and_split.
+       * config/ia64/ia64.c (ia64_split_timode): Rename to ia64_split_tmode;
+       make static; do not hand TFmode CONST_DOUBLEs to split_double.
+       (ia64_split_tmode_move): New function, body mostly pulled
+       from ia64.md:*movti_internal.
+       (ia64_function_arg_words): New function, extracted common
+       logic from ia64_function_arg et seq.
+       (ia64_function_arg_offset): Likewise.  Handle correctly the
+       case of a scalar quantity 16 bytes wide with only 8-byte alignment.
+       (ia64_function_arg, ia64_function_arg_partial_nregs)
+       (ia64_function_arg_advance): Use ia64_function_arg_words and
+       ia64_function_arg_offset.
+       (ia64_function_value): TCmode does not go in float regs.
+       (ia64_secondary_reload_class): Also handle TFmode.
+       * config/ia64/ia64-protos.h: Remove prototype for
+       ia64_split_timode; add prototype for ia64_split_tmode_move.
+
+2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Makefile.in (MAINT): Make it an immediate assignment.
+
+2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/m32r/m32r.md: Remove useless calls to gen_lowpart.
+
+2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/coff.h: Replace Hitachi with Renesas.
+       * config/h8300/elf.h: Likewise.
+       * config/h8300/h8300-protos.h: Likewise.
+       * config/h8300/h8300.c: Likewise.
+       * config/h8300/h8300.h: Likewise.
+       * config/h8300/h8300.md: Likewise.
+       * config/h8300/lib1funcs.asm: Likewise.
+
+2004-01-15  Andrew Pinski  <apinski@apple.com>
+
+       * config/rs6000/rs6000.c (uses_TOC): Wrap #if TARGET_ELF
+       around it.
+
+2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.c (h8300_return_in_memory): New.
+       (TARGET_STRUCT_VALUE_RTX): Likewise.
+       (TARGET_RETURN_IN_MEMORY): Likewise.
+       * config/h8300/h8300.h (STRUCT_VALUE): Remove.
+       (RETURN_IN_MEMORY): Likewise.
+
+2004-01-15  Richard Earnshaw  <rearnsha@arm.com>
+
+       PR optimization/13375
+       * gcse.c (handle_avail_expr): Just return if the source is not a
+       single set.
+
+2004-01-15  Richard Earnshaw  <rearnsha@arm.com>
+           Daniel Jacobowitz  <drow@mvista.com>
+
+       * arm/lib1funcs.asm (ARM_FUNC_START): Correct interworking case.
+       (EQUIV): Define.
+       (ARM_FUNC_ALIAS): New macro.
+       * arm/ieee754-df.S (gedf2, ledf2, nedf2, eqdf2): Use it.
+       * arm/ieee754-sf.S (gesf2, lesf2, nesf2, eqsf2): Use it.
+
+2004-01-15  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR optimization/12372
+       * calls.c (expand_call): Add call_fusage data for stack arguments in
+       constant calls.
+
+2004-01-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/rs6000/rs6000.c (uses_TOC): Correct comment.  Make static.
+       (rs6000_elf_declare_function_name): Formatting.
+       * config/rs6000/rs6000-protos.h (uses_TOC): Remove declaration.
+
+2004-01-15  Jan Hubicka  <jh@suse.cz>
+
+       PR bootstrap/13692
+       * sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in
+       previous patch.
+
+2004-01-15  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.h (REG_ALLOC_ORDER): Reorder fp regs after
+       integer regs of the same call-savedness.
+
+2004-01-15  Andreas Schwab  <schwab@suse.de>
+
+       PR bootstrap/13562
+       * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
+       status for NOTB/NOTW/NEGW methods.
+
+2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * doc/invoke.texi: Update dump file names.  Fix a typo.
+
+2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * builtins.c (expand_builtin_va_end): Don't use
+       EXPAND_BUILTIN_VA_END.
+       * system.h (EXPAND_BUILTIN_VA_END): Poison.
+       * config/d30v/d30v.h: Remove a commented-out definition of
+       EXPAND_BUILTIN_VA_END.
+       * config/stormy16/stormy16.h: Likewise.
+
+2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * system.h (STRUCT_VALUE_INCOMING_REGNUM): Poison.
+       * targhooks.c (default_struct_value_rtx): Don't use
+       STRUCT_VALUE_INCOMING_REGNUM.
+
+2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>
+
+       PR bootstrap/12744
+       * configure.in: Revamp enable-generated-files-in-srcdir rule to define
+       GENINSRC and not parsedir.  Define srcextra as a langhook.
+       * configure: Regenerate.
+       * Makefile.in: Suppress default .l.c rule.  Don't substitute
+       parsedir and delete all references throughout.  Conditionally define
+       rule for srcextra dependent on GENINSRC.
+       (stmp-docobjdir): Delete.
+       (c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule.
+       (srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c,
+       and gengtype-yacc.h back to source directory.
+       (maintainer-clean): Delete all parse files in source directory.
+       (distclean): Delete generated files.
+
+       * objc/Make-lang.in (objc-parse.o): Use implicit build rule.
+       (objc-parse.c, objc-parse.y): Don't use parsedir.
+       (objc.srcextra): Copy objc-parse.y and objc-parse.c back to source
+       directory if requested.
+       (po-generated): Don't use parsedir.
+       (objc.maintainer-clean): Delete above files from source directory.
+
+2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * doc/tm.texi (FUNCTION_VALUE): Fix a typo.
+
+2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * doc/tm.texi: Replace RETURN_IN_MEMORY with
+       TARGET_RETURN_IN_MEMORY.
+
+2004-01-15  Jan Hubicka  <jh@suse.cz>
+
+       * builtins.c (std_expand_builtin_va_arg): Align operand when needed.
+       * i386.c (init_cumulative_args): Set warn_sse; fix handling of variadic
+       functions accepting SSE arguments
+       (function_arg): Warn only when asked to warn.
+       * i386.h (ix86_args): Add warn_sse/warn_mmx fiels.
+
+2004-01-14  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * c-parse.in (stmts_and_decls): Make label at end of compound
+       statement a hard error.
+
+2004-01-14  Jan Hubicka  <jh@suse.cz>
+
+       * cgraph.c (create_edge): Use local.redefined_extern_inline.
+       * cgraph.h (cgraph_local_info): Sort fields by size; add
+       redefined_extern_inline
+       (cgraph_global_info): Sort fields by size.
+       (cgraph_node): Likewise.
+       * cgraphunit.c (cgraph_finalize_function): Se
+       local.redefined_extern_inline on redefinition.
+       (cgraph_analyze_function): Use it; fix formating.
+
+2004-01-14  Jan Hubicka  <jh@suse.cz>
+
+       PR c++/10776
+       * sched-deps.c (trye_dependency_cache, anti_dependency_cache,
+       outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of
+       bitmaps
+       (cache_size): New variable
+       (add_dependence): Update use; canonize early memory locations
+       (sched_analyze_1): Likewise.
+       (sched_analyze_2): Likewise.
+       (init_dependency_caches): Initialize bitmaps.
+       (free_dependency_caches): Free bitmaps
+
+2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * calls.c: Replace STRICT_ARGUMENT_NAMING in comments with
+       targetm.calls.strict_argument_naming().
+       * target.h: Likewise.
+
+2004-01-14  Richard Henderson  <rth@redhat.com>
+
+       PR debug/13231
+       * dwarf2out.c (dwarf2out_stack_adjust): Skip prologue and epilogue
+       instructions.
+
+2004-01-14  Richard Henderson  <rth@redhat.com>
+
+       PR c++/12491
+       * except.c (struct eh_region): Add u.fixup.resolved.
+       (resolve_one_fixup_region): Split out from ...
+       (resolve_fixup_regions): ... here.
+
+2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0.
+
+2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/alpha/alpha.h (STRUCT_VALUE): Remove.
+       * config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef.
+       (STRUCT_VALUE): Remove.
+
+2003-01-14  Steven Bosscher  <stevenb@suse.de>
+
+       * system.h: Poison PROMOTED_MODE
+       * integrate.c (expand_inline_function): Don't mention the
+       PROMOTED_MODE.
+       * loop.c (update_giv_derive): Same.
+       * tree.h (DECL_RTL): Same.
+
+2004-01-14  J"orn Rennecke <joern.rennecke@superh.com>
+
+       PR target/9365
+       * sh.c (gen_block_redirect): Add special handling of RETURN.
+       (gen_far_branch) Don't call gen_stuff_delay_slot if there is no
+       far branch target (i.e. it's a return).
+
+2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * regrename.c (find_oldest_value_reg): Fix a warning.
+
 2004-01-14  Richard Earnshaw  <rearnsha@arm.com>
 
-       * regrename.c (find_oldest_value_reg): If the replacement uses 
+       PR bootstrap/12527
+       * config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file.
+       Move linux-gas.h and linux-elf.h before aout.h.
+       * arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already.
+       * arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define.
+
+2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/m32r/m32r.md: Use GEN_INT instead of gen_rtx
+       (CONST_INT, VOIDmode, ...).
+
+2004-01-14  Richard Earnshaw  <rearnsha@arm.com>
+
+       * regrename.c (find_oldest_value_reg): If the replacement uses
        multiple hard registers, check that all of them are in CLASS.
 
 2004-01-14  Jan Hubicka  <jh@suse.cz>
 2004-01-13  Bernardo Innocenti  <bernie@develer.com>
 
        * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
-       pseudo-register. 
+       pseudo-register.
 
 2004-01-13  Devang Patel <dpatel@apple.com
 
        PR debug/7078
-       * dbxout.c (dbxout_symbol_name): Emit mangled names for 
+       * dbxout.c (dbxout_symbol_name): Emit mangled names for
        NAMESPACE_DECL memebers.
-       
+
 2004-01-13  Andrew Pinski  <pinskia@physics.uc.edu>
 
        PR c++/12709
 
 2004-01-13  Vladimir Makarov  <vmakarov@redhat.com>
 
-        * rtl.def: Add comment about new option in automata_option.
-       
+       * rtl.def: Add comment about new option in automata_option.
+
        * genautomata.c (PROGRESS_OPTION): New macro.
        (progress_flag): New global variable.
        (gen_automata_option): Process `progress'.
        (initiate_automaton_gen): Process command line flag `-progress'.
 
        * doc/md.texi: Describe the new option.
-       
+
 2004-01-13  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
 
        * cfg.c (dump_bb): Dump entry edges.
 
 2004-01-13  Richard Earnshaw  <rearnsha@arm.com>
 
-       * arm.c (thumb_legitimate_address_p): Only allow constant pool 
+       * arm.c (thumb_legitimate_address_p): Only allow constant pool
        references from SImode.
        * arm.md (thumb_movhi_insn): Don't allow minipool references.