This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bug in gcc version 2.95.2 19991024 (release): internal error with default constructor in nested classes
- To: "'bug-gcc at gnu dot org'" <bug-gcc at gnu dot org>
- Subject: bug in gcc version 2.95.2 19991024 (release): internal error with default constructor in nested classes
- From: Erik Eckstein <Eckstein at atair dot co dot at>
- Date: Fri, 21 Jul 2000 16:33:41 +0200
Command line:
bin/g++ test.c
Compiler version:
2.95.2 19991024 (release)
Target:
Intel x86
Source code (I think it is minimal):
class X
{
class Y
{
public: Y(int y = 0);
};
class Z
{
public: void f(Y z = Y());
};
};
Compiler output:
test.c:9: Internal compiler error.
test.c:9: Please submit a full bug report.
test.c:9: See
<URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.
Exit 1