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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs