http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57241

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

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

--- Comment #4 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #2)
> (In reply to Paolo Carlini from comment #1)
> > In general, it's safe to say that #pragma diagnostic ignored is very buggy
> > (in C++ at least), we have got many long standing PRs.
> 
> Well the whole token ahead of time for C++ front-end causes this and another
> issue with respect of #pragma's.

Doesn't CPP diagnostics pass through the pragma classify code in diagnostic.c
even when tokenizing ahead of time? If so, I don't understand why the warning
is not suppressed. I don't have time to investigate it myself, but I don't see
why that would be the problem here.

Reply via email to