[Bug c++/60241] New: internal compiler error: in finish_member_declaration, at cp/semantics.c:2617
vanyacpp at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Feb 17 13:07:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60241
Bug ID: 60241
Summary: internal compiler error: in finish_member_declaration,
at cp/semantics.c:2617
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: vanyacpp at gmail dot com
I've got internal compiler error on the following code:
template <typename T>
struct x
{
template <typename U>
struct y
{
typedef T result2;
};
typedef y<int> zy;
};
template<>
template<class T>
struct x<int>::y
{
typedef double result2;
};
int main()
{
x<int>::zy::result2 xxx;
x<int>::y<int>::result2 xxx2;
}
6.cpp: In instantiation of 'struct x<int>::y<int>':
6.cpp:23:19: required from here
6.cpp:16:1: internal compiler error: in finish_member_declaration, at
cp/semantics.c:2617
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
More information about the Gcc-bugs
mailing list