[C++] Re: PARM_DECL of DECL_SIZE 0, but TYPE_SIZE of 96 bits

2005-06-29 Thread Richard Henderson
On Wed, Jun 29, 2005 at 09:17:07PM -0400, Daniel Berlin wrote: > 1. In require_complete_types_for_parms, in the C++ FE, reset DECL_SIZE > to NULL before we call layout_decl on the parm and let layout_decl > figure out what to do. This is what relayout_decl does. > 2. Add code in layout_decl to co

Re: [C++] Re: PARM_DECL of DECL_SIZE 0, but TYPE_SIZE of 96 bits

2005-06-30 Thread Geoffrey Keating
Richard Henderson <[EMAIL PROTECTED]> writes: > On Wed, Jun 29, 2005 at 09:17:07PM -0400, Daniel Berlin wrote: > > 1. In require_complete_types_for_parms, in the C++ FE, reset DECL_SIZE > > to NULL before we call layout_decl on the parm and let layout_decl > > figure out what to do. > > This is w

Re: [C++] Re: PARM_DECL of DECL_SIZE 0, but TYPE_SIZE of 96 bits

2005-06-30 Thread Daniel Berlin
On Thu, 2005-06-30 at 14:11 -0700, Geoffrey Keating wrote: > Richard Henderson <[EMAIL PROTECTED]> writes: > > > On Wed, Jun 29, 2005 at 09:17:07PM -0400, Daniel Berlin wrote: > > > 1. In require_complete_types_for_parms, in the C++ FE, reset DECL_SIZE > > > to NULL before we call layout_decl on t

Re: [C++] Re: PARM_DECL of DECL_SIZE 0, but TYPE_SIZE of 96 bits

2005-07-04 Thread Mark Mitchell
Daniel Berlin wrote: On Thu, 2005-06-30 at 14:11 -0700, Geoffrey Keating wrote: Certainly an option; not doing extra work is good. 4. Make sure that template types are incomplete. That is, with TYPE_SIZE/TYPE_SIZE_UNIT unset. I think this makes a lot of sense considering the language se