This is the mail archive of the gcc-patches@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: [PATCH, pretty-ipa] Fix wave ICE in SRA


> Maybe someone can explain the difference between a field DECL_SIZE and its
> type TYPE_SIZE? 

The size of a DECL is DECL_SIZE.  For a field, it's not necessarily equal to 
TYPE_SIZE of its TREE_TYPE, e.g. for bit-fields.  The other cases look more 
questionable.

-- 
Eric Botcazou


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