https://sourceware.org/bugzilla/show_bug.cgi?id=24392

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amodra at gmail dot com

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
One proper solution is to implement the equivalent warning disable for clang
that this does for gcc:
#if GCC_VERSION >= 4003
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wtype-limits"
#endif

The "if" in question isn't always false when "long" is the same size as
"unsigned int", which is generally true on 32-bit hosts and even true for some
64-bit host compilers.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to