This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
When exactly does a type have a variable length?
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc at gcc dot gnu dot org
- Cc: rth at redhat dot com
- Date: Wed, 28 Jan 2004 20:18:11 -0500 (EST)
- Subject: When exactly does a type have a variable length?
Hi,
While looking at *_return_in_memory() that do not care about
int_size_in_bytes(type) returning -1, I came up with the following
series of questions.
Does int_size_in_bytes(type) == -1 necessarily imply that
TYPE_MODE (type) == BLKmode?
Does int_size_in_bytes(type) == -1 necessarily imply that
AGGREGATE_TYPE_P (type)?
Does TYPE_MODE (type) == BLKmode hold if and only if
AGGREGATE_TYPE_P (type) == 1?
Thanks,
Kazu Hirata