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]

Re: optimization/10125: [3.2/3.3/3.4 regression] Infinite loop causedby -O2


http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10125

The loop does terminate if I compile with "-O2 -fno-strict-aliasing" on
i586-pc-linux-gnu.  The only differences in the .00.rtl dumps are changes
like this (- = -O2, + = -O2 -fno-strict-aliasing):

(insn 27 26 28 (nil) (set (reg/f:SI 66)
-        (mem:SI (reg/v/f:SI 63) [6 S4 A32])) -1 (nil)
+        (mem:SI (reg/v/f:SI 63) [0 S4 A32])) -1 (nil)
    (nil))

Greetz
Steven



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