http://llvm.org/bugs/show_bug.cgi?id=6779
Summary: ice: library memcpy does not support volatile
Product: new-bugs
Version: trunk
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=4633)
--> (http://llvm.org/bugs/attachment.cgi?id=4633)
failure-inducing C code
Sorry for the big testcase.
reg...@john-home:~/volatile/bugs/tmp309$ clang -emit-llvm small.c -c -o
small.bc -w
reg...@john-home:~/volatile/bugs/tmp309$ llc small.bc -o /dev/null
llc: SelectionDAG.cpp:3526: llvm::SDValue
llvm::SelectionDAG::getMemcpy(llvm::SDValue, llvm::DebugLoc, llvm::SDValue,
llvm::SDValue, llvm::SDValue, unsigned int, bool, bool, const llvm::Value*,
uint64_t, const llvm::Value*, uint64_t): Assertion `!isVol && "library memcpy
does not support volatile"' failed.
0 llc 0x0897c148
Stack dump:
0. Program arguments: llc small.bc -o /dev/null
1. Running pass 'X86 DAG->DAG Instruction Selection' on function '@func_1'
Aborted
reg...@john-home:~/volatile/bugs/tmp309$ clang -v
clang version 1.5 (trunk 100339)
Target: i386-pc-linux-gnu
Thread model: posix
--
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