This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/63326] whether a #pragma is a statement depends on the type of pragma


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]