This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR c++/19406
- From: Jason Merrill <jason at redhat dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Sat, 05 Feb 2005 09:34:42 -0500
- Subject: Re: PR c++/19406
- References: <20050203011348.GA11867@redhat.com>
On Wed, 2 Feb 2005 17:13:48 -0800, Richard Henderson <rth@redhat.com> wrote:
> Basically, I think it's wrong to try to emit just one field of a class.
> If we need a field for some reason, then we need the entire class to put
> it in proper context.
The idea of this optimization is that we will emit the entire class in some
file, but in others just emit enough of a husk to emit the defined member.
This husk is marked incomplete, so the debugger knows to look elsewhere for
the full definition of the class.
Jason