[LLVMbugs] [Bug 15304] New: Catch by reference leads to segfault
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Feb 19 16:11:56 PST 2013
http://llvm.org/bugs/show_bug.cgi?id=15304
Bug ID: 15304
Summary: Catch by reference leads to segfault
Product: clang
Version: 3.2
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: andersk at mit.edu
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
This code (reduced from a more complicated example), compiled with clang++
3.2-1~exp5ubuntu2 on Ubuntu 13.04 amd64, leads to a segfault on the catch line.
struct E {};
int main()
{
try {
throw E();
} catch (E &e) {
}
return 0;
}
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130220/8c083093/attachment.html>
More information about the llvm-bugs
mailing list