[GCC-XML] ICE from current GCC-XML
Brad King
brad.king at kitware.com
Fri Apr 24 08:55:01 EDT 2009
Brad King wrote:
> Here is a minimal case to reproduce the ICE:
>
> class A {};
> struct __attribute__((dllimport)) B: virtual public A { ~B() {} };
>
> It only happens on windows. It has something to do with the dllimport
> attribute, virtual inheritance, and the destructor. I'll investigate
> further when I get a chance.
This appears to be a subtle problem in the GCC parser version used by
gccxml. I've committed a work-around that is sufficient for our needs.
BUG: Avoid ICE with dllimport-ed vtable
/cvsroot/GCC_XML/gccxml/GCC/gcc/config/i386/winnt-cxx.c,v <-- GCC/gcc/config/i386/winnt-cxx.c
new revision: 1.3; previous revision: 1.2
>> In addition to the ICE, I am getting some unexpected errors about
Please post again if this still happens.
-Brad
More information about the gccxml
mailing list