------- Comment #5 from rguenth at gcc dot gnu dot org 2009-05-25 15:59 ------- I have some CCP / fold_stmt patches that produce
movdqa .LC1(%rip), %xmm0 pcmpeqd %xmm0, %xmm0 pmovmskb %xmm0, %eax cmpl $65535, %eax setne %al movzbl %al, %eax ret as well. The issue is that the CONSTRUCTOR from _mm_set1_epi32(1) is neither marked TREE_CONSTANT nor folded to VECTOR_CST. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40122