This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/13222] New: -O -funroll-loops miscompiles POOMA test
- 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: 28 Nov 2003 19:23:07 -0000
- Subject: [Bug middle-end/13222] New: -O -funroll-loops miscompiles POOMA test
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The CrossBox test of the POOMA library is miscompiled on powerpc-linux
(g++ (GCC) 3.3.2 (Debian)) if optimizing with -g -fno-exceptions -O
-funroll-loops. Both changing -O to -O2, or removing -funroll-loops fixes the
problem. Also the problem does not appear on i486-linux (same Debian release).
I suspect this is yet another loop unroller bug.
The preprocessed testcase can be fetched from
http://www.tat.physik.uni-tuebingen.de/~rguenth/gcc/CrossBox-281103.ii.gz
--
Summary: -O -funroll-loops miscompiles POOMA test
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rguenth at tat dot physik dot uni-tuebingen dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc-linux
GCC host triplet: powerpc-linux
GCC target triplet: powerpc-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13222