https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120377
Nathaniel Shead <nshead at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nshead at gcc dot gnu.org --- Comment #1 from Nathaniel Shead <nshead at gcc dot gnu.org> --- Thanks for the report! (In reply to Cameron Angus from comment #0) > I also created a reproduction on Compiler Explorer, though the precise ICE > seems to be slightly different due to a difference in GCC and/or fmtlib > version: https://godbolt.org/z/j1as93bvv The godbolt is showing a different error due to the flags that CMake has added for scanning dependencies; I've created PR120379 for this. (It looks like there might have been some accidental copy/pasting of module definitions into the same file, perhaps?) Your attached sources don't reproduce for me on my current build of trunk; on GCC15 I get an "error reporting routines re-entered", so it looks like something we've possibly already fixed for GCC16. > I'd also like to ask, in future is logging a bug report with a Compiler > Explorer reproduction only (no preprocessed sources) an option? I'm not a > regular user of GCC or Linux systems so the process of recreating on CE is > simpler for me if that is acceptable. Having preprocessed sources makes it a lot easier for me, and I understand that there's some concerns about making sure that bugzilla remains as a source of truth for the issue even if say godbolt goes down or any of the other links rot. But if you can't do that I'd still prefer having a bug over nothing at all :)