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: [patch] Problem with size of classes with vbases (TYPE_SIZE_UNIT problem)


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.


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