Bug report: internal compiler error in version 19981005 (signal 11)

C. van Reeuwijk C.vanReeuwijk@twi.tudelft.nl
Fri Oct 9 04:58:00 GMT 1998


The following program:
--------
class X {
public:
    static bool search( const X mk );
};

static void foo()
{
    X l;

    if( !X::search( l ) ){
    }
}
--------


Causes the following error:
--------
falcon:~/notebase> g++ bug.c
g++: Internal compiler error: program cc1plus got fatal signal 11
Exit 1
--------


With this version of the compiler:
--------
falcon:~/notebase> g++ -v
Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.92.13/specs
gcc version egcs-2.92.13 19981005 (gcc2 ss-980609 experimental)
--------


The shown program is more-or-less minimal: any further simplification,
and the bug goes away.


-- 
Kees van Reeuwijk, Delft University of Technology
http://pds.twi.tudelft.nl/~reeuwijk



More information about the Gcc-bugs mailing list