[Bug c/41517] Unexpected behaviour of #pragma in statement context
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 7 20:11:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41517
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-02-07
CC| |msebor at gcc dot gnu.org
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=63326
Ever confirmed|0 |1
--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
It seems this should either be confirmed or resolved as a duplicate of bug
63326. Silently treating #pragmas differently between C and C++ is a recipe
for subtle bugs. A warning as suggested in bug 63326 comment 8 would be
helpful.
More information about the Gcc-bugs
mailing list