https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90126
Richard Biener changed:
What|Removed |Added
Keywords||diagnostic
Status|UNCONFIRM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90126
--- Comment #2 from Jonathan Wakely ---
tl;dr the preprocessor should only be used once. You're running it twice on the
same input.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90126
--- Comment #1 from Jonathan Wakely ---
I don't think this is a bug.
If you tell gcc that the preprocessed output is preprocessed output, then the
behaviour is consistent. So either:
g++ -E namespace_anonymous_1_min_ok.cpp > temp_namespace_anon