https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68119

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org
         Resolution|INVALID                     |DUPLICATE

--- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
I really don't think this should be invalid. What is the benefit of treating
pragmas as statements? 

Moreover, I would argue that the diagnostic pragmas in particular should be
handled by the preprocessor and behave like any other preprocessor directive.
Otherwise, they are not effective for controlling diagnostics that come from
the preprocessor.

At the very least, this is a documentation bug.

*** This bug has been marked as a duplicate of bug 41517 ***

Reply via email to