[Bug c++/59956] New: internal compiler error: unexpected expression ‘P_S’ of kind template_parm_index
chretien at lirmm dot fr
gcc-bugzilla@gcc.gnu.org
Mon Jan 27 12:58:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59956
Bug ID: 59956
Summary: internal compiler error: unexpected expression ‘P_S’
of kind template_parm_index
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: chretien at lirmm dot fr
Created attachment 31961
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31961&action=edit
repro code
I get the following internal compiler error with g++ 4.8.2 and the attached
repro code:
gcc_ice.cpp: In instantiation of ‘class Foo<float, 5>’:
gcc_ice.cpp:35:28: required from here
gcc_ice.cpp:28:17: internal compiler error: unexpected expression ‘P_S’ of kind
template_parm_index
friend void Bar<U, P_S, A_S>::impl (const Foo<U,P_S>& poly);
^
This was tested on Arch Linux (x86_64).
$ g++ --version
g++ (GCC) 4.8.2 20131219 (prerelease)
More information about the Gcc-bugs
mailing list