This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bug report
- To: egcs-bugs at cygnus dot com
- Subject: bug report
- From: Igor Levko <hornet at reksoft dot ru>
- Date: Tue, 07 Apr 1998 14:51:56 +0400
- Organization: Reksoft ltd.
Hello,
At compiling the following simple code:
//--- foo.cc ------
typedef const struct {
int x;
} Test;
void foo(Test);
void foo(Test t)
{
t.x = 0;
return;
}
//-----------------
I got the next error message:
# g++ -c -o foo.o foo.cc
foo.cc: In function `void foo(const struct Test)':
foo.cc:9: Internal compiler error.
foo.cc:9: Please submit a full bug report to `egcs-bugs@cygnus.com'.
I used 'gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)' on SS5
with Solaris 2.5.1.
Best regards,
Igor Levko