Internal compiler error

Frank Cieslok frankc@ida.ing.tu-bs.de
Mon Feb 9 03:51:00 GMT 1998


Hello,

the message

/obelix/home/frankc/test/bugtest2.cc: In function `void func()':
/obelix/home/frankc/test/bugtest2.cc:11: Internal compiler error.
/obelix/home/frankc/test/bugtest2.cc:11: Please submit a full bug report to `egcs-bugs@cygnus.com'

appears when egcs is compiling the following code :

-------------------------------[cut]----------------------------------
struct Foo
{
        virtual bool func() { return true; };
};


void func()
{
    Foo* foo = new Foo;
    // Please note the missing brackets below
    if (!foo->func == false);
}
-------------------------------[cut]----------------------------------

egcs -v  : gcc version egcs-2.91.06 980122 (gcc-2.8.0 release)
uname -a : SunOS cicero 5.5.1 Generic_103640-08 sun4u sparc SUNW,Ultra-2


With best wishes for your project,
Frank

-- 
Mail: frankc@senax.iguana.priconet.de (frankc@ida.ing.tu-bs.de)
WWW : http://www.tu-bs.de/~y0000070



More information about the Gcc-bugs mailing list