[LLVMbugs] [Bug 14576] New: trap generated in code that shouldn't trap
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Dec 11 11:11:10 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=14576
Bug #: 14576
Summary: trap generated in code that shouldn't trap
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++11
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: alonzakai at gmail.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9677
--> http://llvm.org/bugs/attachment.cgi?id=9677
testcase
The attached testcase works in clang 3.1, but fails in 3.2 rc3. Steps to
reproduce:
1. Unpack the archive
2. clang++ a.cpp -I. -std=c++11 -c -emit-llvm
3. llvm-dis a.o
4. Open a.o.ll in an editor and search for the definition of the function
@_ZN10emscripten6class_I9ValHolderE11constructorIJNS_3valEEEERS2_v
That function contains
call void @llvm.trap()
which should not be there.
--
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