This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/63326] whether a #pragma is a statement depends on the type of pragma
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 22 Oct 2014 08:24:31 +0000
- Subject: [Bug c/63326] whether a #pragma is a statement depends on the type of pragma
- Auto-submitted: auto-generated
- References: <bug-63326-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63326
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
Maybe we should also warn about
if (...)
#pragma STDC ...
foo ();
both if we are treating the #pragma as stmt and if not. That is, if the
#pragma appears in a place where that would make a difference.