This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: When exactly does a type have a variable length?
- From: Richard Henderson <rth at redhat dot com>
- To: Kazu Hirata <kazu at cs dot umass dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 28 Jan 2004 17:49:45 -0800
- Subject: Re: When exactly does a type have a variable length?
- References: <20040128.201811.71092654.kazu@cs.umass.edu>
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~