https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121200
--- Comment #4 from Jean-Michaƫl Celerier <jeanmichael.celerier at gmail dot com> --- Here is a github gist: https://gist.github.com/jcelerier/43fbd9e82ac62a33385b0d466fc13e45 g++-14 -std=gnu++23 -fPIC preproc.cpp is enough to trigger the issue. Though the preprocessed file was generated with the following flags: g++-14 -O3 -DNDEBUG -std=gnu++23 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fno-diagnostics-color -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-dtor-name -Wno-null-conversion -Wno-sign-compare -fopenmp-simd -mcx16 -fPIC -Wno-gnu-statement-expression-from-macro-expansion -Wno-c99-extensions preproc.cpp