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/

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.gccxml.org/mailman/listinfo/gccxml

Reply via email to