https://bugs.llvm.org/show_bug.cgi?id=36064
Bug ID: 36064
Summary: ICE in simple (faulty) C++11 code; regression between
v3.2 and v3.3
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangb...@nondot.org
Reporter: tonyele...@hotmail.com
CC: llvm-bugs@lists.llvm.org
Created attachment 19728
--> https://bugs.llvm.org/attachment.cgi?id=19728&action=edit
Pre-processed (-save-temps) from Clang 5.0.0
Compiling this code:
template<typename A,decltype(new A)>struct b;
struct d {
static auto c=;
decltype(b<decltype(c),int>);
};
...with:
clang++ -std=c++11 a.cpp
...causes the compiler to crash.
Investigation with Godbolt suggests that this problem was introduced between
Clang 3.2 and 3.3 and is still present in trunk (7.0.0 323180).
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs