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: SEGV in do_simple_structure_copy


On Fri, 2005-10-07 at 07:35 -0400, Richard Kenner wrote:
>     This is the correct fix, however, if you are going to lie to the  
>     middle end about TYPE_SIZE so that the TYPE_SIZE and DECL_SIZE do not  
>     match.
> 
> If we always require that DECL_SIZE be identical to TYPE_SIZE, why
> have a DECL_SIZE in the first place? 

Personally, I would have not had a DECL_SIZE, i would have made
TYPE_SIZE express the type size properly (IE not always a multiple).

What is the incredibly good reason we have them both, other than to save
memory in the number of bitfield types we create?



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