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/43360] [4.3/4.4/4.5 Regression] wrong loop invariant hoisting



------- Comment #16 from hjl at gcc dot gnu dot org  2010-03-18 13:13 -------
Subject: Bug 43360

Author: hjl
Date: Thu Mar 18 13:13:42 2010
New Revision: 157540

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157540
Log:
Remove the REG_EQUAL note if we don't know its invariant status.

gcc/

2010-03-18  H.J. Lu  <hongjiu.lu@intel.com>

        Backport from mainline:
        2010-03-18  Steven Bosscher  <steven@gcc.gnu.org>
                    Eric Botcazou  <ebotcazou@adacore.com>

        PR rtl-optimization/43360
        * loop-invariant.c (move_invariant_reg): Remove the REG_EQUAL
        note if we don't know its invariant status.

gcc/testsuite/

2010-03-18  H.J. Lu  <hongjiu.lu@intel.com>

        Backport from mainline:
        2010-03-18  H.J. Lu  <hongjiu.lu@intel.com>

        PR rtl-optimization/43360
        * gcc.dg/torture/pr43360.c: New.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/torture/pr43360.c
      - copied unchanged from r157539,
trunk/gcc/testsuite/gcc.dg/torture/pr43360.c
Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/loop-invariant.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


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


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