https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114231
--- Comment #1 from Sam James <sjames at gcc dot gnu.org> --- Created attachment 57607 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57607&action=edit reduced.ii `g++ -c reduced.ii -march=sapphirerapids -O2 -fno-vect-cost-model` is enough for the reduced version.