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

Joseph S. Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Joseph S. Myers <jsm28 at gcc dot gnu.org> ---
This is the same issue with diagnostics using macro definition locations
instead of macro expansion locations (so allowing an extension because UINT_MAX
was defined in a system header) as in bug 71613, and my comments there still
apply that the disabling of warnings for system header locations should be
based on the expansion location *by default* rather than fixing a few
individual places to use the expansion location (erring on the side of spurious
warnings rather than missing warnings).

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

Reply via email to