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]

Bug report (C++ 2.91.57)


Hi,

The file attached (t.ii) causes C++ compiler crash in pass 1.

The crash is caused by SGI STL function template instantiation at line 21018:

-------------------------------------------------------------------------------------

iterator i = ::find<iterator, T>(begin(),end(),v);

-------------------------------------------------------------------------------------

Session output:

-------------------------------------------------------------------------------------

D:\...vv\Personal\Projects\common\se\x-i586-win32-gcc>g++ -c t.ii

..\\event.h: In method `void ESDef::dump(class DumpContext &, const char * = 0, int = 0) const':

In file included from t.cpp:2:

..\\event.h:100: warning: implicit declaration of function `int _gy2s_(...)'

[main] C:\cygnus\cygwin-b20\H-i586-cygwin32\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\cc1plus.exe 1001 (0) handle

_exceptions: Exception: STATUS_ACCESS_VIOLATION

[main] cc1plus 1001 (0) handle_exceptions: Dumping stack trace to cc1plus.exe.core

 

D:\...vv\Personal\Projects\common\se\x-i586-win32-gcc>g++ -v

Reading specs from C:\cygnus\cygwin-b20\H-i586-cygwin32\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\specs

gcc version egcs-2.91.57 19980901 (egcs-1.1 release)

-------------------------------------------------------------------------------------

t.ii.gz

cc1plus.exe.core


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