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]

C++ checking ICE at cp/decl2.c:4832: Tree check: expected function_decl, have template_decl


Hi,

current CVS fails to bootstrap on powerpc-linux-gnu with enable-checking=tree,gc,misc:

make[3]: Leaving directory `/root/obj/gccm/ppc-redhat-linux/libio'
test x"yes" != xyes || \
  /root/obj/gccm/gcc/xgcc -B/root/obj/gccm/gcc/ -B/root/gnubin/ppc-redhat-linux/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implic
it-templates -I/usr/src/gccm/libstdc++ -I/usr/src/gccm/libstdc++/stl -I../libio -I/usr/src/gccm/libstdc++/../libio -nostdinc++ -D_IO_MTS
AFE_IO -fPIC /usr/src/gccm/libstdc++/cstringi.cc -o pic/cstringi.o
/root/obj/gccm/gcc/xgcc -B/root/obj/gccm/gcc/ -B/root/gnubin/ppc-redhat-linux/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit
-templates -I/usr/src/gccm/libstdc++ -I/usr/src/gccm/libstdc++/stl -I../libio -I/usr/src/gccm/libstdc++/../libio -nostdinc++ -D_IO_MTSAF
E_IO /usr/src/gccm/libstdc++/cstringi.cc
test x"yes" != xyes || \
  /root/obj/gccm/gcc/xgcc -B/root/obj/gccm/gcc/ -B/root/gnubin/ppc-redhat-linux/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implic
it-templates -I/usr/src/gccm/libstdc++ -I/usr/src/gccm/libstdc++/stl -I../libio -I/usr/src/gccm/libstdc++/../libio -nostdinc++ -D_IO_MTS
AFE_IO -fPIC /usr/src/gccm/libstdc++/stdexcepti.cc -o pic/stdexcepti.o
In file included from /usr/src/gccm/libstdc++/stdexcepti.cc:8:
/usr/src/gccm/libstdc++/stl/stl_alloc.h: In function `size_t __default_alloc_template<threads, inst>::_S_freelist_index (unsigned int) [
with bool threads = true, int inst = 0]':
/usr/src/gccm/libstdc++/stl/stl_alloc.h:436:   instantiated from `__default_alloc_template<threads, inst>::deallocate (void *, unsigned
int) [with bool threads = true, int inst = 0]'
/usr/src/gccm/libstdc++/std/bastring.cc:42:   instantiated from `basic_string<charT, traits, Allocator>::Rep::operatordelete (void *) [w
ith charT = char, traits = string_char_traits<char>, Allocator = __default_alloc_template<true, 0>]'
/usr/src/gccm/libstdc++/std/bastring.h:114:   instantiated from `basic_string<charT, traits, Allocator>::Rep::release () [with charT = c
har, traits = string_char_traits<char>, Allocator = __default_alloc_template<true, 0>]'
/usr/src/gccm/libstdc++/std/bastring.h:195:   instantiated from `basic_string<charT, traits, Allocator>::basic_string (int) [with charT
= char, traits = string_char_traits<char>, Allocator = __default_alloc_template<true, 0>]'
/usr/src/gccm/libstdc++/stdexcept:45:   instantiated from here
/usr/src/gccm/libstdc++/stl/stl_alloc.h:347: Tree check: expected function_decl, have template_decl
/usr/src/gccm/libstdc++/stl/stl_alloc.h:347: Internal compiler error in `lookup_arg_dependent', at cp/decl2.c:4832
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.
make[2]: *** [stdexcepti.o] Error 1
make[2]: Leaving directory `/root/obj/gccm/ppc-redhat-linux/libstdc++'
make[1]: *** [all-target-libstdc++] Error 2
make[1]: Leaving directory `/root/obj/gccm'
make: *** [bootstrap] Error 2
Thu Dec 30 14:20:30 CET 1999
0m0.000s 0m0.000s
73m13.260s 4m8.750s

Franz.


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