https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104726
Bug ID: 104726 Summary: gcc.target/i386/pr104551.c FAILs Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: crazylht at gmail dot com Target Milestone: --- Target: i?86-pc-solaris2.11, x86_64-pc-solaris2.11 The gcc.target/i386/pr104551.c test FAILs on Solaris/x86 (32 and 64-bit) since its introduction: +FAIL: gcc.target/i386/pr104551.c execution test Thread 2 received signal SIGILL, Illegal instruction. [Switching to Thread 1 (LWP 1)] 0x080510ff in main () (gdb) bt #0 0x080510ff in main () (gdb) x/i $pc => 0x80510ff <main+15>: vmovd %eax,%xmm0 The machine in question indeed lacks AVX2 support. I guess the test needs to use avx2-check.h to handle this.