[LLVMbugs] [Bug 11883] New: Crash when creating an instance of a struct with a reference to a function-local variable.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jan 29 17:51:34 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=11883
Bug #: 11883
Summary: Crash when creating an instance of a struct with a
reference to a function-local variable.
Product: clang
Version: 3.0
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++0x
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: kdesevis at gmail.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 7968
--> http://llvm.org/bugs/attachment.cgi?id=7968
Code that causes the error
The attached code causes clang++ to segfault during compilation. Placing x at
global scope or never instantiating the struct avoids the error.
--
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