This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Problem with size of classes with vbases (TYPE_SIZE_UNIT problem)
- To: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Subject: Re: [patch] Problem with size of classes with vbases (TYPE_SIZE_UNIT problem)
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Date: Mon, 1 Jun 1998 23:36:31 +0200
- Cc: egcs-bugs at cygnus dot com, jason at cygnus dot com, Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
Am Sat, 30 May 1998 schrieb Franz Sirl:
>Hi,
>
>this patch doesn't solve the "egcs-2.91.33: Corrupted assembler produced by g++"
>problem I reported on egcs-bugs. So there seems to be another memory (stack?)
>corruption bug. I have since verified this bug with.91.33/
>egcs-2i586-pc-linux-gnulibc1. I've put HTMLView.ii.gz and HTMLView.s.gz on
><http://homepages.munich.netsurf.de/Franz.Sirl/misc/>. Search for a label named
>".Lfe39" (it was the same for i586 and powerpc) in the .s file and you will find
>corrupted assembler shortly afterwards. I think it is meant to be a .bss
>section.
I've investigated this a little bit further and it seems the invalid labels are
produced by line 1252 in varasm.c:
name = XSTR (XEXP (DECL_RTL (decl), 0), 0);
I tried building egcs with --enable-checking, but first there's a problem during
build:
_floatdidf
_floatdisf
.../../../egcs/gcc/libgcc2.c: In function `__floatdisf':
.../../../egcs/gcc/libgcc2.c:1053: ../../../egcs/gcc/fold-const.c:2838: Expect exp
ression, have 'parm_decl'
After I installed only the executables itself HTMLView.ii gives the following
error:
[root@ns1102 e]# g++ -c HTMLView.ii
In file included from Component.h:28,
from Menu.h:28,
from PopupMenu.h:28,
from HTMLView.h:32,
from HTMLView.cpp:31:
NotificationCenter.h:115: ../../../../egcs/gcc/cp/lex.c:1823: Expect identifier_node, have default_arg
Hope this helps,
Franz.