egcs-1.0.2 Crash (3)

Munagala V. S. Ramanath ram@netcom.com
Mon Apr 20 08:09:00 GMT 1998


The following program causes egcs-1.0.2 to crash with:
crash3.C: In function `int main()':
crash3.C:8: Internal compiler error.
crash3.C:8: Please submit a full bug report to `egcs-bugs@cygnus.com'.

Version details:
Reading specs from /d2a/exper/lib/gcc-lib/sparc-sun-sunos4.1.2/egcs-2.90.27/specs
gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)

-----------  CUT HERE  ------------------------  CUT HERE  -------------
// this program crashes egcs-1.0.2
//
#include <stl.h>
main()
{
    list< int > alist;
    list< int >::iterator p = alist.begin();
    void *q = static_cast< void * >( p );

    return 0;
}



More information about the Gcc-bugs mailing list