https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125130
--- Comment #1 from Adam Sampson <ats-gccbugs at offog dot org> --- Created attachment 64339 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64339&action=edit Second truncated example gccbug-202605b.cc is a shorter ICE example, minimised from the same original source, that isn't valid code, but appears to get stuck in the same recursion around lazily_declare_fn. Here's that second example on Compiler Explorer: https://godbolt.org/z/sE5jfToPM
