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]

Re: Patches for TYPE_SIZE_UNIT()


>>>>> grahams  <grahams@rcp.co.uk> writes:

 > 2. Patches for gcc/c-delc.c
 > ====================

 >  * gcc/c-decl.c (finish_struct): Also reset TYPE_SIZE_UNIT
 >             to zero when reseting TYPE_SIZE to zero.

 >  * gcc/c-decl.c (finish_enum): Likewise

These two should be unnecessary, as layout_type only checks for TYPE_SIZE
being NULL, then sets both.

Jason


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