[LLVMbugs] [Bug 15160] New: Parser crashes on type dependency checking in lambda expression
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Feb 5 04:25:29 PST 2013
http://llvm.org/bugs/show_bug.cgi?id=15160
Bug ID: 15160
Summary: Parser crashes on type dependency checking in lambda
expression
Product: clang
Version: 3.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: lycantrophe at lavabit.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9965
--> http://llvm.org/bugs/attachment.cgi?id=9965&action=edit
Crash output w/ command line arguments
Frontend segfaults (signal 2) on parsing (and type checking) lambda expression.
GCC handles it fine.
System:
OS: Ubuntu 12.10 with Linux 3.5.0-23-generic
Clang: clang 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0)
Flags: -std=c++0x -vc
Expression that crashes:
for( auto& g : graph ) {
std::remove_if( g.begin(), g.end(), [&]( const int val )
{ return std::binary_search( H.cbegin(), H.cend(), G[ val ] ); }
);
}
--
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/20130205/ee065ea8/attachment.html>
More information about the llvm-bugs
mailing list