[Bug middle-end/46185] New: [4.6 Regression] gcc.dg/graphite/interchange-4.c FAILs with -fno-ipa-cp

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Tue Oct 26 14:23:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46185

           Summary: [4.6 Regression] gcc.dg/graphite/interchange-4.c FAILs
                    with -fno-ipa-cp
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


Output (with #define DEBUG 1):
$ gcc -O2 -floop-interchange -ffast-math interchange-4.c && ./a.out
res = 3565793
$ gcc -O2 -floop-interchange -ffast-math interchange-4.c -fno-ipa-cp && ./a.out
res = 1343 
Aborted
$ gcc -O1 -floop-interchange -ffast-math interchange-4.c && ./a.out
res = 1343 
Aborted

The same effect can be achieved by adding attribute noclone to foo().

Tested revisions:
r165915 - fail
r163636 - fail
r161659 - OK



More information about the Gcc-bugs mailing list