This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: PR 8134: C++ crash




--On Tuesday, October 15, 2002 05:45:18 PM -0400 Jason Merrill <jason@redhat.com> wrote:

Is

  d) fix the crash in a different way on the branch

not feasible?
It depends.

Can you fix it a different way in a way that looks more reliable?

I can't.  I tried, on the mainline.

The basic problem is that you need to generate a static intializer
(i.e., a CONSTRUTOR to put in DECL_INITIAL) that has entries for
all the places you have pointers-to-members.  But, some of them
have no corresponding FIELD_DECL in your class; they're from base
classes, and we didn't create FIELD_DECLs for base classes before
my patch.

--
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com


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