OSDN Git Service

PR target/9365
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 1f23cbd..3ab2f54 100644 (file)
@@ -1,3 +1,311 @@
+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>
+
+       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>
+
+       * alias.c (get_alias_set):  Initialize alias set to 0 when subset is
+       impossible.
+
+2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Makefile.in: Define MAINT from --enable-maintainer-mode.
+
+2004-01-14  Hartmut Penner  <hpenner@de.ibm.com>
+
+       * gcc/config/rs6000/rs6000.c (rs6000_stack_info)
+       Calculate always vrsave_mask if TARGET_ALTIVEC.
+       (rs6000_emit_prologue): Emit code for vrsave
+       only if TARGET_ALTIVEC_VRSAVE.
+       (rs6000_emit_epilogue): Likewise.
+
+2004-01-14  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * config/sparc/sparc.md (tie_add32): Fix pasto.
+       (tie_add64): Likewise.
+
+2004-01-14  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
+
+       * config/i386/i386.md (*addqi_1_slp): Do not access operands[2].
+
+2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/iq2000/iq2000-protos.h: Fix comment formatting.
+       * config/iq2000/iq2000.c: Likewise.
+       * config/iq2000/iq2000.md: Likewise.
+
+2004-01-14  J. Brobecker  <brobecker@gnat.com>
+
+       * dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
+       (subrange_type_die): Add handle for nameless subrange types.
+
+2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300-protos.h: Replace do_movsi with
+       h8300_expand_movsi.
+       * config/h8300/h8300.c (do_movsi): Change to
+       h8300_expand_movsi.
+       * config/h8300/h8300.md (movsi): Replace do_movsi with
+       h8300_expand_movsi.
+       (movsf): Likewise.
+
+2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.c (dosize): Change to
+       h8300_emit_stack_adjustment.  Update callers.
+
+2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.md (movstrictqi): Add an alternative with
+       the source being post_inc.  Tighten the predicate for the
+       destination to register_operand.
+       (movstricthi): Likewise.
+
+2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
+       * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP.
+       * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove.
+
+2004-01-14  Jan Hubicka  <jh@suse.cz>
+
+       Partial fix PR c++/12850
+       * cgraphunit.c (cgraph_finalize_function): Always ggc_collect when
+       at zero nest level.
+
+2004-01-13  Bernardo Innocenti  <bernie@develer.com>
+
+       * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
+       pseudo-register. 
+
+2004-01-13  Devang Patel <dpatel@apple.com
+
+       PR debug/7078
+       * dbxout.c (dbxout_symbol_name): Emit mangled names for 
+       NAMESPACE_DECL memebers.
+       
+2004-01-13  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR c++/12709
+       * c-common.c (finish_fname_decls): Use the chain only if the
+       tree is an expr_stmt.
+
+2004-01-13  Vladimir Makarov  <vmakarov@redhat.com>
+
+        * 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'.
+       (transform_insn_regexps, check_unit_distributions_to_automata,
+       make_automaton, NDFA_to_DFA, build_automaton, create_automata,
+       expand_automata, write_automata): Print about the progress only if
+       progress_flag.  Remove fflush.
+       (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 
+       references from SImode.
+       * arm.md (thumb_movhi_insn): Don't allow minipool references.
+
+2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * system.h (TEXT_SECTION): Poison.
+       * varasm.c (text_section): Don't use TEXT_SECTION.
+       * config/sh/sh.c (sh_file_start): Fix a comment typo.
+       * doc/tm.texi (TEXT_SECTION): Remove.
+
+2004-01-13  Ben Elliston  <bje@wasabisystems.com>
+
+       * doc/rtl.texi (Vector Operations): Remove defunct vec_const item.
+
+2004-01-12  James E Wilson  <wilson@specifixinc.com>
+
+       * unwind-libunwind.c: Delete.
+
+2004-01-12  Zack Weinberg  <zack@codesourcery.com>
+
+       PR 13656
+       * c-decl.c (diagnose_mismatched_decls): Whenever newtype or
+       oldtype is set, set *newtypep or *oldtypep too.  Do not set
+       them at the very end.
+       (validate_proto_after_old_defn): Restructure for comprehensibility;
+       make error messages clearer.
+
+2004-01-12  Zack Weinberg  <zack@codesourcery.com>
+
+       * varray.h (VARRAY_POP): Add checking variant, aborts on underflow.
+       (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked.
+       * varray.c: No need to prototype error.
+       (varray_check_failed): Wrap long string onto two lines.
+       (varray_underflow): New function.
+
+2004-01-13  Steven Bosscher  <stevenb@suse.de>
+
+       PR c++/13376
+       * function.h (struct function): Kill `name' field.
+       (current_function_name): Make it an extern function.
+       * function.c (current_function_name): New function.
+       * graph.c: Update all uses of current_function_name.
+       * gcse.c: Likewise.
+       * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
+       config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
+       * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
+       instead of a strcmp with "main".
+
+2004-01-13  Jan Hubicka  <jh@suse.cz>
+
+       * c-decl.c (diagnose_mismatched_decls):  Fix warning calls.
+
+       * cgraphunit.c (cgraph_optimize_function):  Always do
+       optimize_inline_calls when there is always_inline callee.
+       (cgraph_decide_inlining): Fix formating.
+       * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
+       functions.
+       (expand_call_inline): Likewise.
+       * toplev.h (sorry): Fix prototype.
+
+2004-01-12  Roger Sayle  <roger@eyesopen.com>
+
+       * builtins.c (expand_builtin_expect_jump): Simplify logic. Handle
+       conditional jumps that drop through to unconditional jumps or the
+       end of the sequence.
+
+2004-01-13  Jan Hubicka  <jh@suse.cz>
+
+       * alias.c (new_alias_set): Construct the alias_set varray.
+       (init_alias_once): Don't do it here.
+
+2004-01-12  Marc Espie <espie@openbsd.org>
+
+       * system.h: handle YYBYACC like YYBISON.
+
+2004-01-12  Jonathan Merriman <jonm@dualitymedia.com>
+
+       PR target/10847
+       * config.gcc: No longer includes conflicting header sparc/sol2.h when
+       building on sparc64-*-openbsd*.
+
+2004-01-12  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR debug/13539
+       * dbxout.c (dbxout_type): Protected inheritance is not
+       private but protected.
+
+2004-01-12  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.
+
+2004-01-12  Kazu Hirata  <kazu@cs.umass.edu>
+
+       PR optimization/12508.
+       * combine.c (try_combine): Remove a dead set in a parallel
+       even if its destination is a subreg.
+
+       Revert:
+       2003-06-03  Kazu Hirata  <kazu@cs.umass.edu>
+       * combine.c (simplify_set): Don't move a subreg in SET_SRC to
+       SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
+
+2004-01-12  Geoffrey Keating  <geoffk@apple.com>
+
+       * real.c: Update copyright date.
+       * emit-rtl.c: Likewise.
+       * rtl.h: Likewise.
+       * dwarf2out.c: Likewise.
+       * config/rs6000/darwin-ldouble.c: Likewise.
+       * config/rs6000/rs6000.md: Likewise.
+
+2004-01-12  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
+       TFmode to SImode libfuncs.
+
+2004-01-12  Roger Sayle  <roger@eyesopen.com>
+
+       PR middle-end/11397
+       * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
+
+2004-01-12  Jan Hubicka  <jh@suse.cz>
+
+       PR opt/12826
+       * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
+       stored.
+
+       PR opt/12863
+       * cfgcleanup.c (label_is_jump_target_p): Move to...
+       * rtlanal.c (label_is_jump_target_p): ... here.
+       * cfgrtl.c (cfg_layout_redirect_edge_and_branch):  Fix redirecting of fallthru
+       edges unified with branch edges.
+
+2004-01-12  Richard Earnshaw  <rearnsha@arm.com>
+
+       * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
+       high word of an integral CONST_DOUBLE.
+
+2004-01-12  Paul Brook  <paul@codesourcery.com>
+
+       * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
+
+2004-01-12  J"orn Rennecke <joern.rennecke@superh.com>
+
+       PR target/13585
+       * sh-protos.h (check_use_sfunc_addr): Declare.
+       * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
+       * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
+
+2004-01-12  Jan Hubicka  <jh@suse.cz>
+
+       * alias.c:  Invlude varray.h
+       (alias_sets): Turn into varray.
+       (get_alias_set_entry): Use VARRAY; mark inline.
+       (mems_in_disjoint_alias_sets_p): Mark inline.
+       (record_alias_subset): Use varray.
+       (init_alias_once): Initialize varray.
+       (new_alias_set): Grow array.
+       * varray.c: Make VARRAY_GENERIC_PTR non GTYized.
+
+2004-01-12  Jan Hubicka  <jh@suse.cz>
+
+       Partial fix for PR opt/10776 II
+       * cselib.c: Include params.h
+       (cselib_invalidate_mem):  Limit amount of nonconflicting memory
+       locations.
+       * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
+       * Makefile.in (cselib.o): Depend on params.h
+
 2004-01-12  Richard Sandiford  <rsandifo@redhat.com>
 
        * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
 
 2004-01-12  Hartmut Penner  <hpenner@de.ibm.com>
 
+       PR target/13534
        * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
        predicate to handle 'ld' conform addresses.
        * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
        contraint.
        (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
        are memory contraints.
-       * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand): 
+       * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
        New prototype.
-       * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64): 
+       * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
        Change 'o' to 'Y' constraint.
        (*movdf_softfloat64): Ditto.
-       
+
 2004-01-12  Bernardo Innocenti  <bernie@develer.com>
 
        * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
 
 2004-01-11  Steven Bosscher  <stevenb@suse.de>
 
+       PR fortran/9972
        * toplev.c (rest_of_handle_inline): Also consider functions
        for deferral if the language is GNU F77.