[Bug preprocessor/92696] #pragma GCC diagnostic ... interferes with if/else
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Nov 30 04:02:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92696
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |egallager at gcc dot gnu.org
--- Comment #6 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #3)
> (In reply to Andrew Pinski from comment #2)
> > Also #pragma are considered statements. There is another issue like this
> > but instead using _Pragma .
>
> I should say some Pragmas are considered statements.
>
> See PR 90400 Which shows the similar issue but with _Pragma. In this case,
> these Pragmas are considered statements.
also some of the other bugs related to it, too
More information about the Gcc-bugs
mailing list