https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860
--- Comment #77 from David Binderman <dcb314 at hotmail dot com> --- (In reply to rguent...@suse.de from comment #76) > Maybe the issue reproduces with only -mtune=bdver2 or with -march=bdver2 > -mno-xop (XOP is what's removed from znver2 for example, not 100% sure > that's all, but ...). It does sound like eventually options-save.c > is miscompiled somehow ... Thanks for the guidance. I tried a build with -march=bdver2 -mno-xop and it worked fine. So the xop feature is the culprit.