[LLVMbugs] [Bug 13649] New: Unexpected warning when compiling MachineScheduler.cpp

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Aug 20 00:48:55 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=13649

             Bug #: 13649
           Summary: Unexpected warning when compiling MachineScheduler.cpp
           Product: libraries
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: chris at csse.uwa.edu.au
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


When undertaking my first (basic) build with SVN rev 162194
the following simple warning 'flew past':

llvm[2]: Compiling MachineScheduler.cpp for Debug+Asserts build
/Users/chris/src/llvm/lib/CodeGen/MachineScheduler.cpp:414:24: warning:
operands
      of ? are integers of different signs: 'int' and 'unsigned int'
      [-Wsign-compare]
    return (UOps >= 0) ? UOps : TII->getNumMicroOps(InstrItins, MI);
                       ^ ~~~~   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list