[LLVMbugs] [Bug 6779] New: ice: library memcpy does not support volatile

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Apr 4 20:04:43 PDT 2010


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: unassignedbugs at nondot.org
        ReportedBy: regehr at cs.utah.edu
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=4633)
 --> (http://llvm.org/bugs/attachment.cgi?id=4633)
failure-inducing C code

Sorry for the big testcase.

regehr at john-home:~/volatile/bugs/tmp309$ clang -emit-llvm small.c -c -o
small.bc -w
regehr at 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
regehr at 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.



More information about the llvm-bugs mailing list