This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/13653] [3.3 regression] -O2 -funroll-loop miscompiles POOMA testcase
- From: "rguenth at tat dot physik dot uni-tuebingen dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jan 2004 22:27:14 -0000
- Subject: [Bug optimization/13653] [3.3 regression] -O2 -funroll-loop miscompiles POOMA testcase
- References: <20040112101346.13653.rguenth@tat.physik.uni-tuebingen.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rguenth at tat dot physik dot uni-tuebingen dot de 2004-01-29 22:27 -------
Subject: Re: [3.3 regression] -O2 -funroll-loop
miscompiles POOMA testcase
> Minimal testcase that passes -O2, fails -O2 -funroll-loops
Ok, I'm now just changing little things to verify the bogous call
assumption.
If I stick a noreturn attribute onto the toss_cookies() declaration on
line 14 in the 15490.c testcase, the failure goes away (-O2
-funroll-loops). There is a path to a check with a toss_cookies() call in
the else clause in the inner loop (in main) that is possibly be unrolled.
Richard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13653