https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113038
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> --- Created attachment 57052 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57052&action=edit more general approach WIP for GCC 15 this is the beginning of a more general approach to this issue that also handles P1811 include-after-import. More work will be needed.