Internal compiler error

Stephen Wagner wagners5@cse.msu.edu
Tue Nov 30 23:39:00 GMT 1999


One of my students came up with this one.

The GCC version

tmp >g++ -v
Reading specs from
/soft/sparc/gnu/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1/specs

The system

<168 nw81:/tmp >uname -a
SunOS nw81 5.6 Generic_105181-16 sun4m sparc SUNW,SPARCstation-10


No options were passed to the compiler.  If I compile the file, I get
the following:

<180 nw81:/tmp >g++ bug.cpp
/soft/sparc/gnu/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1/../../../../include/g++-3/stl_alloc.h:
In function `static void
simple_alloc<stock,__default_alloc_template<false,0> >::deallocate(stock
*, unsigned int)':
/soft/sparc/gnu/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1/../../../../include/g++-3/stl_vector.h:95:  
instantiated from
`_Vector_alloc_base<stock,allocator<stock>,>::_M_deallocate(stock *,
unsigned int)'
/soft/sparc/gnu/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1/../../../../include/g++-3/stl_vector.h:115:  
instantiated from `_Vector_base<stock,allocator<stock>
>::~_Vector_base()'
/soft/sparc/gnu/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1/../../../../include/g++-3/stl_vector.h:266:  
instantiated from `vector<stock,allocator<stock> >::~vector()'
bug.cpp:11:   instantiated from here
/soft/sparc/gnu/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1/../../../../include/g++-3/stl_alloc.h:232:
Internal compiler error in `find_function_data', at function.c:542
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for
instructions.


bug.ii is attached.

-stephen
bug.ii.gz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.ii.gz
Type: application/x-gzip
Size: 21232 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19991130/e19e2d0e/attachment.bin>


More information about the Gcc-bugs mailing list