GCC bug report: templates

Jonathan Cano jcano@mmcnet.com
Fri Sep 15 19:01:00 GMT 2000


GCC said:

    templates.cc:10: Internal compiler error.
    templates.cc:10: Please submit a full bug report.
    templates.cc:10: See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for inst

Here is the debugging information

     http://www.gnu.org/software/gcc/bugs.html

says I should send:

cd ~/tests/C++/STL/iterators_1/
make templates.o
gcc -c -g -v --save-temps  -I/usr/local/include/g++ -I. templates.cc
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/cpp -lang-c++ -v -I/usr/local/include/g++ -I. -iprefix /project2/vw5.4/host/sun4-solaris2/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/ -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -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 -g -D__GCC_NEW_VARARGS__ -Acpu(sparc) -Amachine(sparc) templates.cc templates.ii
GNU CPP version 2.95.2 19991024 (release) (sparc)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include/g++
 .
 /usr/local/include
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/../../../../sparc-sun-solaris2.7/include
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/../../../../include/g++-3
End of omitted list.
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/cc1plus templates.ii -quiet -dumpbase templates.cc -g -version -o templates.s
GNU C++ version 2.95.2 19991024 (release) (sparc-sun-solaris2.7) compiled by GNU C version 2.95.2 19991024 (release).
templates.cc:10: Internal compiler error.
templates.cc:10: Please submit a full bug report.
templates.cc:10: See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.
make: *** [templates.o] Error 1

Compilation exited abnormally with code 2 at Fri Sep 15 18:50:59

here is the templates.ii file:



More information about the Gcc-bugs mailing list