https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83735
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- BTW, -O3 -mavx512bw ins't needed, e.g. -O3 -mavx reproduces it too. The function doesn't really need DRAP or stack realignment, but because stack_alignment_needed is 128, better should make sure that sp is properly aligned. Can't reproduce with a function other than main though, even with -fno-omit-frame-pointer.