[GCC-XML] ICE from current GCC-XML

Patrick Hartling patrick.hartling at gmail.com
Fri Apr 24 09:59:37 EDT 2009


On Apr 24, 2009, at 7:55 AM, Brad King wrote:

> 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

This fixes things up with the ICE.

>>> In addition to the ICE, I am getting some unexpected errors about
>
> Please post again if this still happens.


I will. Thanks very much for your help!

  -Patrick


--
Patrick L. Hartling
Senior Software Engineer, Priority 5
http://www.priority5.com/




More information about the gccxml mailing list