[LLVMbugs] [Bug 2227] New: Use of uninitialized variable in ParseSubtargetFeatures ( X86Subtarget)

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Apr 16 10:19:44 PDT 2008


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

           Summary: Use of uninitialized variable in ParseSubtargetFeatures
                    (X86Subtarget)
           Product: new-bugs
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu


Running test/CodeGen/X86/2007-07-10-StackerAssert.ll under valgrind gives:

Conditional jump or move depends on uninitialised value(s)
   at 0x8732294: llvm::X86Subtarget::ParseSubtargetFeatures(std::string const&,
std::string const&) (X86GenSubtarget.inc:100)
   by 0x8732498: llvm::X86Subtarget::X86Subtarget(llvm::Module const&,
std::string const&, bool) (X86Subtarget.cpp:256)
   by 0x87348D2: llvm::X86TargetMachine::X86TargetMachine(llvm::Module const&,
std::string const&, bool) (X86TargetMachine.cpp:120)
   by 0x8734BE8: llvm::X86_32TargetMachine::X86_32TargetMachine(llvm::Module
const&, std::string const&) (X86TargetMachine.cpp:104)
   by 0x87409D6:
llvm::RegisterTarget<llvm::X86_32TargetMachine>::Allocator(llvm::Module const&,
std::string const&) (TargetMachineRegistry.h:90)
   by 0x83D4B17: main (llc.cpp:221)


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