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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot 
gnu.org

--- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I have a fix.

But re Comment 4, I think GCC does what's desirable: we shouldn't warn if the
bogus code is in a system header.  For that we have -Wsystem-headers.
The testcase in Description is a bug that is fixed with my patch.

Reply via email to