https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69512
Bug ID: 69512 Summary: ICE when using avx with i586 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: chrbr at gcc dot gnu.org Target Milestone: --- a reduced case from gcc.target/i386/avx-vcmppd-1.c that fails instead of being unsupported for testing with -march=i586 attached test compiled with runs withs -O2 -mavx -march=i586 -m32 ICES with unrecognizable insn extern double s1[]; extern double s2[]; extern long long e[]; void avx_test () { int i; for (i = 0; i < 2; i++) e[i] = !__builtin_isunordered(s1[i], s2[i]) && s1[i] != s2[i] ? -1 : 0; } I suppose that avx is not available for this combination ?, so maybe just missing an arch incompatible option check ?