egcs-19980508 alphaev5-dec-osf4.0b bootstrap CRASH in stage2 ...

Richard Henderson rth@cygnus.com
Sat May 16 13:18:00 GMT 1998


In article <199805101616.MAA04460.cygnus.egcs.bugs@caip.rutgers.edu>,
Kaveh R. Ghazi <ghazi@caip.rutgers.edu> wrote:
> > ./xgcc -B./ -O2 -DIN_GCC -W -Wall -O2 -g -I./include -g1 -DIN_LIBGCC2
> >   -D__GCC_FLOAT_NOT_NEEDED -fexceptions -I. -I. -I./config -c ./cp/tinfo.cc
> > ./cp/tinfo.cc: In function `void __rtti_class(void *, const char *,
> >   const struct __class_type_info::base_info *, size_t)':
> > ./cp/tinfo.cc:43: Internal compiler error.
> > ./cp/tinfo.cc:43: Please submit a full bug report to `egcs-bugs@cygnus.com'.
> > make[3]: *** [tinfo.o] Error 1

Try the following.


r~


Sat May 16 12:48:06 1998  Richard Henderson  <rth@cygnus.com>

	* call.c (build_over_call): Don't call IS_SIGNATURE on a namespace.

Index: cp/call.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/cp/call.c,v
retrieving revision 1.73
diff -c -p -d -r1.73 call.c
*** call.c	1998/05/13 10:00:35	1.73
--- call.c	1998/05/16 19:47:39
*************** build_over_call (cand, args, flags)
*** 3422,3428 ****
  
    mark_used (fn);
  
!   if (DECL_CONTEXT (fn) && IS_SIGNATURE (DECL_CONTEXT (fn)))
      return build_signature_method_call (fn, converted_args);
    else if (DECL_VINDEX (fn) && (flags & LOOKUP_NONVIRTUAL) == 0)
      {
--- 3422,3430 ----
  
    mark_used (fn);
  
!   if (DECL_CONTEXT (fn)
!       && TREE_CODE (DECL_CONTEXT (fn)) != NAMESPACE_DECL
!       && IS_SIGNATURE (DECL_CONTEXT (fn)))
      return build_signature_method_call (fn, converted_args);
    else if (DECL_VINDEX (fn) && (flags & LOOKUP_NONVIRTUAL) == 0)
      {



More information about the Gcc-bugs mailing list