Bug: std::auto_ptr is notf ound and compiler crashes

Pavel Ganelin pganelin@rth.com
Thu Jan 14 11:41:00 GMT 1999


/home/pavel/play/eggs1.cc:6: Internal compiler error 980711.
/home/pavel/play/eggs1.cc:6: Please submit a full bug report to
`egcs-bugs@cygnus.com'.
/home/pavel/play/eggs1.cc:6: See
<URL: http://egcs.cygnus.com/faq.html#bugreport > for details.
bash-2.01$ gcc -c -v  ~/play/eggs1.cc 
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.60/specs
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.60/cpp -lang-c++ -v
-undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=91 -Dsparc
-Dsun -Dunix -D__svr4__ -D__SVR4 -D__sparc__ -D__sun__ -D__unix__
-D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix -Asystem(unix)
-Asystem(svr4) -D__EXCEPTIONS -D__GCC_NEW_VARARGS__ -Acpu(sparc)
-Amachine(sparc) /home/pavel/play/eggs1.cc /var/tmp/ccmIKQRd.ii
GNU CPP version egcs-2.91.60 19981201 (egcs-1.1.1 release) (sparc)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include/g++
 /usr/local/lib/g++-include
 /usr/local/include
 /usr/local/sparc-sun-solaris2.6/include
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.60/include
 /usr/include
End of search list.
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.60/cc1plus
/var/tmp/ccmIKQRd.ii -quiet -dumpbase eggs1.cc -version -o /var/tmp/ccTzYSne.s
GNU C++ version egcs-2.91.60 19981201 (egcs-1.1.1 release)
(sparc-sun-solaris2.6) compiled by GNU C version 2.8.1.
/home/pavel/play/eggs1.cc:6: Internal compiler error 980711.
/home/pavel/play/eggs1.cc:6: Please submit a full bug report to
`egcs-bugs@cygnus.com'.
/home/pavel/play/eggs1.cc:6: See
<URL: http://egcs.cygnus.com/faq.html#bugreport > for details.


==============================================================
#include <fstream>
#include <memory>
class X 
{
    
    std::auto_ptr<std::fstream> file; 
};


==================================================
Pavel Ganelin		tel: (703)-471-4981 x 231
RTH Corp.		      fax: (703)-471-5135	
==================================================



More information about the Gcc-bugs mailing list