This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/25514] [4.0/4.1 regression] internal consistency failure



------- Comment #23 from rsandifo at gcc dot gnu dot org  2007-01-06 14:27 -------
Subject: Bug 25514

Author: rsandifo
Date: Sat Jan  6 14:26:58 2007
New Revision: 120526

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120526
Log:
gcc/
        Backport:

        2006-05-23  Richard Sandiford  <richard@codesourcery.com>

        PR rtl-optimization/27736
        * combine.c (replaced_rhs_value): New variable.
        (combine_instructions): Set it.
        (distribute_notes): When distributing a note in replaced_rhs_insn,
        check whether the value was used in replaced_rhs_value.

        2006-05-22  Richard Sandiford  <richard@codesourcery.com>

        PR rtl-optimization/25514
        * combine.c (replaced_rhs_insn): New variable.
        (combine_instructions): Set replaced_rhs_insn when trying to replace
        a SET_SRC with a REG_EQUAL note.
        (distribute_notes): Use replaced_rhs_insn when determining the live
        range of a REG_DEAD register.

gcc/testsuite/
        2006-05-22  Richard Sandiford  <richard@codesourcery.com>

        PR rtl-optimization/25514
        * gcc.c-torture/compile/pr25514.c: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.c-torture/compile/pr25514.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/combine.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25514


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]