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: PARM_DECL of DECL_SIZE 0, but TYPE_SIZE of 96 bits


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


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