This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/18732] tautological-compare warning breaks build


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

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |palves at redhat dot com
         Resolution|---                         |INVALID

--- Comment #1 from Pedro Alves <palves at redhat dot com> ---
This is a GCC bug.

It was a mistake for that warning to warn on floats, as self comparison is the
standard NaN check.  Upstream GCC is going to disable the warning for floats:

 https://gcc.gnu.org/ml/gcc-patches/2015-07/msg02399.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]