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: When exactly does a type have a variable length?


On Wed, Jan 28, 2004 at 08:18:11PM -0500, Kazu Hirata wrote:
> Does int_size_in_bytes(type) == -1 necessarily imply that
> TYPE_MODE (type) == BLKmode?

I would think so.

> Does int_size_in_bytes(type) == -1 necessarily imply that
> AGGREGATE_TYPE_P (type)?

Probably.  Can't think of any other cases.

> Does TYPE_MODE (type) == BLKmode hold if and only if
> AGGREGATE_TYPE_P (type) == 1?

Certainly not.  Structures with one member can have the 
mode of the member.  Among other cases.


r~


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