[Bug target/43671] [4.5 Regression] -fsched2-use-superblocks -m32 -finline-functions causes FAIL: gcc.dg/pr32912-1.c execution test

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Wed Apr 7 02:08:00 GMT 2010



------- Comment #2 from zsojka at seznam dot cz  2010-04-07 02:07 -------
Created an attachment (id=20326)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20326&action=view)
another testcase, probably better

copied from gcc/testsuite/gcc.dg/tree-ssa/gen-vect-32.c (gen-vect-2.c fails the
same way), but removed headers to prevent confusion

Issue is the same, reading value before store:
...
        cmpb    $5, 1(%esp)     #, s.ca
        movdqa  .LC0, %xmm0     #, tmp78
        movdqa  %xmm0, (%esp)   # tmp78,
        jne     .L2     #,
...

Command line:
gcc -O3 -fsched2-use-superblocks -m32 && ./a.out

flags can be changed to:
-O1 -fpeel-loops -fschedule-insns2 -ftree-vectorize -fsched2-use-superblocks
-m32

This testcase fails in 4.4.3 too (but 4.3.4 works)


-- 


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



More information about the Gcc-bugs mailing list