https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105297
--- Comment #7 from Patrick Palka <ppalka at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #6) > Patrick, I suggest we go with Jakub's suggestion in comment 4, but PTAL. LGTM, it seems to be the simplest workaround. I also tried replacing the NSDMI but that seems to prevent the ICE only for the reduced testcase in comment #3.