This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

egcs-1.0.2 Crash (3)


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;
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]