[LLVMbugs] [Bug 6807] New: llvm::SimplifyFortifiedLibCalls::fold crash

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 9 09:07:42 PDT 2010


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

           Summary: llvm::SimplifyFortifiedLibCalls::fold crash
           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


Created an attachment (id=4660)
 --> (http://llvm.org/bugs/attachment.cgi?id=4660)
testcase .ll

$ llc fortified.ll
llc: llvm/lib/VMCore/Value.cpp:317: void
llvm::Value::replaceAllUsesWith(llvm::Value*): Assertion `New->getType() ==
getType() && "replaceAllUses of value with new value of different type!"'
failed.
...
llvm::SimplifyFortifiedLibCalls::fold(llvm::CallInst*, llvm::TargetData const*)
+ 2065
...
Stack dump:
0.    Program arguments: llc fortified.ll 
1.    Running pass 'Optimize for code generation' on function '@stpncpy'
Aborted (core dumped)

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