https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84010
--- Comment #3 from Richard Henderson <rth at gcc dot gnu.org> --- (In reply to James Clarke from comment #2) > Here is a completely untested patch which should in theory resolve this > series of issues. This doesn't introduce rematerialization for them (or, if > it's supposed to already, resolve whatever's stopping it), but that's a > future optimisation. I'm surprised these are even being scheduled so far > apart and spilled, but hey. Modulo the exact pattern names, and handling tls modes beyond IE, this is pretty much the same patch that I have just tested. Thanks.