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] New: tautological-compare warning breaks build


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

            Bug ID: 18732
           Summary: tautological-compare warning breaks build
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: lukeallardyce at gmail dot com
  Target Milestone: ---

A new warning was recently added to GCC trunk (tautological-compare, also
available on Clang) which caused the following line in doublest.c to break the
build

391   if (dfrom != dfrom)               /* Result is NaN */

adding -Wno-tautological-compare to CFLAGS fixes it for now.

-- 
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]