------- 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