https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95528
--- Comment #1 from Sergei Trofimovich <slyfox at inbox dot ru> --- It seems to be somehow specific to avx512: This works: $ LANG=C /usr/bin/x86_64-pc-linux-gnu-g++-10.1.0 -march=skylake -O2 -c bug.cc -o bug.o This ICEs: $ LANG=C /usr/bin/x86_64-pc-linux-gnu-g++-10.1.0 -march=skylake-avx512 -O2 -c bug.cc -o bug.o