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]

Re: Your recent change


Am Fri, 02 May 2036 schrieb Richard Kenner:
>I'm so ignorant of C++ that I'm not even totally sure what a "base class" is.
>Clearly this is due to some of the BINFO stuff being wrong, but a little
>more direction would help me *a lot*.  Thanks!

Maybe you should switch on --enable-checking first and catch a bunch of new
problems that show up with your patch. It seems a few places are entered now
with VAR_DECLs, which are wrongly treated because the routines aren't prepared
to handle such, eg. layout_decl():

echo "int xxy_us_dummy;" >tmp-dum.c
./xgcc -B/home/fsirl/gnubin/ppc-redhat-linux/bin/ -B./ -I/home/fsirl/gnubin/ppc-redhat-linux/include -S tmp-dum.c
cc1: Tree check: expected field_decl, have var_decl
cc1: Internal compiler error in `layout_decl', at stor-layout.c:329
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [s-under] Error 1
make[2]: Leaving directory `/home/fsirl/obj/gccm/gcc'
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/home/fsirl/obj/gccm/gcc'
make: *** [bootstrap-lean] Error 2
Sun Mar 26 11:49:21 MST 2000
0m0.000s 0m0.000s
3m33.690s 0m32.260s


This happens at the end of stage1 on powerpc-linux-gnu. Maybe fixing these will
help C++ too.

Franz.

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