https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245
--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Nathaniel Shead from comment #10) > This is fixed for GCC 15. Unfortunately this patch isn't appropriate for > backporting as it will cause ABI changes without also backporting the fix > for PR107741 (r15-7147-g685c458fb4775c). > > Instead I'll probably end up reverting the changes to parser.cc in > r14-9232-g3685fae23bb008 since the modules testcases are less important, > unless I can find a way to fix it while keeping the existing ABI behaviour. Did you get to this?