This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PARM_DECL of DECL_SIZE 0, but TYPE_SIZE of 96 bits
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Daniel Berlin <dberlin at dberlin dot org>
- Cc: Richard Henderson <rth at redhat dot com>, Gcc Mailing List <gcc at gcc dot gnu dot org>
- Date: Tue, 05 Jul 2005 08:35:20 -0700
- Subject: Re: PARM_DECL of DECL_SIZE 0, but TYPE_SIZE of 96 bits
- References: <1120085832.7612.81.camel@linux-009002219098> <20050629235504.GA23780@redhat.com> <1120094227.8950.12.camel@linux-009002219098>
Daniel Berlin wrote:
3. Not call layout_decl on the template types until they are completed.
In the abstract, this is the best choice. Although we need to know that
types are complete (which means (in the current implementation) that
TYPE_SIZE != NULL_TREE), but the C++ front end should not be caring
about DECL_SIZE on a PARM_DECL from a template. If it is, I'd like to
know where.
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304