This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28897] New: internal compiler error: in instantiate_decl, at cp/pt.c:11731 // source in Description section
- From: "sbilyk at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Aug 2006 09:34:44 -0000
- Subject: [Bug c++/28897] New: internal compiler error: in instantiate_decl, at cp/pt.c:11731 // source in Description section
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
// /usr/libexec/gcc/i386-redhat-linux/4.1.0/cc1plus -fpreprocessed a.ii -quiet
-dumpbase a.cpp -mtune=generic -auxbase a -version -o - -frandom-seed=0
# 1 "a.cpp"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "a.cpp"
# 45 "a.cpp"
template<class A>
class B {
public:
B() { i = 0; }
A a;
static int i;
};
template<class A>
int B<int>::i;
int main()
{
# 67 "a.cpp"
B<int> b;
return 0;
}
--
Summary: internal compiler error: in instantiate_decl, at
cp/pt.c:11731 // source in Description section
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sbilyk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28897