https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109426
Xi Ruoyao <xry111 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |xry111 at gcc dot gnu.org Resolution|--- |INVALID --- Comment #3 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #2) > There is no infinite loop and the code finally completes. > > You are causing an warnings of over 2x9999 warning messages with the macros. > This will be slow. Looks like it's slow not only because of the warnings. The preprocessed code is 1.6M and it's slow even with -w (62.76s with 12.2.0). > > I don't run into an infinite loop at all on the trunk. Anyway this is INVALID. You cannot assume any compiler able to compile such a compiler bomb efficiently.