PARM_DECL of DECL_SIZE 0, but TYPE_SIZE of 96 bits

Mark Mitchell mark@codesourcery.com
Tue Jul 5 15:35:00 GMT 2005


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



More information about the Gcc mailing list