[LLVMbugs] [Bug 8431] New: WinCOFFObjectWriter: wrong case values

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Oct 21 08:47:22 PDT 2010


           Summary: WinCOFFObjectWriter: wrong case values
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu

GCC-4.6 emits the following warnings:

lib/MC/WinCOFFObjectWriter.cpp: In member function ‘virtual void
{anonymous}::WinCOFFObjectWriter::RecordRelocation(const llvm::MCAssembler&,
const llvm::MCAsmLayout&, const llvm::MCFragment*, const llvm::MCFixup&,
llvm::MCValue, uint64_t&)’:
lib/MC/WinCOFFObjectWriter.cpp:693:3: warning: case value ‘131’ not in
enumerated type ‘llvm::MCFixupKind’ [-Wswitch]
lib/MC/WinCOFFObjectWriter.cpp:694:3: warning: case value ‘132’ not in
enumerated type ‘llvm::MCFixupKind’ [-Wswitch]
lib/MC/WinCOFFObjectWriter.cpp:702:3: warning: case value ‘133’ not in
enumerated type ‘llvm::MCFixupKind’ [-Wswitch]

Doesn't sound good!

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