This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/31360] [4.3 Regression] rtl loop invariant is broken
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Mar 2007 05:48:35 -0000
- Subject: [Bug rtl-optimization/31360] [4.3 Regression] rtl loop invariant is broken
- References: <bug-31360-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-03-26 06:48 -------
I get:
Set in insn 47 is invariant (0), cost 4, depends on
Where insn 47 is the load constant:
(insn 47 46 48 3 (set (reg:SI 156)
(const_int 0 [0x0])) 328 {*movsi_internal1} (nil)
(nil))
If I change the constant to DEADBEEF, it removes it from the loop. I should
check if this is true on the 4.2 branch too because I think it is.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |major
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31360