http://llvm.org/bugs/show_bug.cgi?id=12549
Bug #: 12549
Summary: Internal compiler error, suspect from constexpr or
intializer-list support
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: C++11
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Created attachment 8384
--> http://llvm.org/bugs/attachment.cgi?id=8384
small program that causes the compiler to assert
The attached code crashes the Clang compiler in -std=c++11 mode with the
following assertion:
Assertion failed: (Kind.getKind() == InitializationKind::IK_Copy ||
Kind.isExplicitCast()), function Perform, file SemaInit.cpp, line 4803.
Tested with Clang built by MacPorts, reported version info:
clang version 3.1 (trunk 153754)
Target: x86_64-apple-darwin11.3.0
Thread model: posix
The program is known to compile and run with gcc 4.7.
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs