This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
egcs-1.0.2 Crash (3)
- To: egcs-bugs at cygnus dot com
- Subject: egcs-1.0.2 Crash (3)
- From: "Munagala V. S. Ramanath" <ram at netcom dot com>
- Date: Mon, 20 Apr 1998 08:07:15 -0700 (PDT)
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;
}