https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110260
--- Comment #8 from Jimi Huotari <chiitoo at gentoo dot org> --- Looks like with '-mno-avx512f' the issues go away for me. As a sidey-note, this seems to also possibly affect KWin desktop effects (animated ones at least), which don't seem to be doing their thing (haven't been using them so had not noticed until trying now). Have not yet confirmed that that is related though.