https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89451
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
--- Comment #11 from janus at gcc dot gnu.org ---
(In reply to H.J. Lu from comment #10)
> Does it fail without --with-arch=haswell if you add -march=haswell by hand?
Yes, it does.
Further investigation seems to indicate that the problem is related to AVX:
Compiling the test case results in an ICE when adding -mavx or
-march=sandybridge, but not with -msse4.2 or -march=westmere.