This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

bug report


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]