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 middle-end/13222] New: -O -funroll-loops miscompiles POOMA test


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


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