This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/10125: [3.2/3.3/3.4 regression] Infinite loop causedby -O2
- From: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>
- To: gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, mast at lysator dot liu dot se,nobody at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org
- Date: Sat, 22 Mar 2003 10:54:31 +0100
- Subject: 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