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/31360] [4.3 Regression] rtl loop invariant is broken



------- 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


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