Internal compiler error 364

J.H.M. Dassen (Ray) jdassen@wi.leidenuniv.nl
Tue Nov 3 08:16:00 GMT 1998


[Courtesy copy of Usenet posting]
Christoph.Schlenker@gfk.de <Christoph.Schlenker@gfk.de> wrote:
>hope you can still find the message in this text :-)

[After decoding]
class Dummy
{
};

int
main(int, char**)
{
Dummy &test = * new Dummy();
Dummy  test2;

&test = &test2;

return 0;
}

I can reproduce your problem on egcs 1.1b on i586-pc-linux-glibc:
foo.cc: In function `int main(int, char **)':
foo.cc:11: warning: ANSI C++ forbids cast to non-reference type used as lvalue
foo.cc:11: Internal compiler error 364.
foo.cc:11: Please submit a full bug report to `egcs-bugs@cygnus.com'.

Ray
-- 
Obsig: developing a new sig



More information about the Gcc-bugs mailing list