https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41517
--- Comment #5 from Jan Echternach <jan.echternach at de dot gbs.com> --- The testcases changed or added in bug 63326 comment 21 were all about #pragma omp. I don't understand the parser changes well enough to tell if #pragma GCC will be treated in the same way, i.e. if it will also produce an error after if(...) or for(...). If it does, I think it would be a fine resolution and I wouldn't mind if this bug was closed as a duplicate. From my point of view as a user, a difference between C and C++ is harmless as long as there's no silent change in semantics. In other words, it would be no problem for me if the C parser rejected code that the C++ parser accepted.