[LLVMbugs] [Bug 1973] New: Fix for PR1942 causes miscompilation of clang
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Fri Feb 1 15:58:45 PST 2008
http://llvm.org/bugs/show_bug.cgi?id=1973
Summary: Fix for PR1942 causes miscompilation of clang
Product: tools
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Keywords: miscompilation
Severity: normal
Priority: P2
Component: llvm-gcc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sabre at nondot.org
CC: llvmbugs at cs.uiuc.edu
The (second) fix for PR1942 causes llvm-gcc emit emit memcpy's of things with
ctors, this is very bad. The -O0 .ll code compiled for
_Z10DoStuffolaRSt3mapIjN5clang13RewriteBufferESt4lessIjESaISt4pairIKjS1_EEESt17_Rb_tree_iteratorIS6_EjRS1_
ends up constructing memtmp, memcpy'ing it to tmp1, then destroying tmp1.
-Chris
--
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