http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46903
Summary: [C++0x] ICE unexpected expression of kind
template_id_expr
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 22723
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22723
Test case, compile with C++0x.
The attached test case fails with an ICE:
test.ii:6:18: internal compiler error: unexpected expression ‘CreateA<A>’ of
kind template_id_expr
Using: g++-trunk -std=gnu++0x test.ii
With g++-trunk (GCC) 4.6.0 20101211 (experimental) (revision 167723)
It compiles fine with gcc 4.5.1, 4.4.5 and 4.3.5.