This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Removing the use of CONSTRUCTOR for Vectors
- From: Chris Lattner <clattner at apple dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 17 Sep 2006 10:33:41 -0700
- Subject: Re: Removing the use of CONSTRUCTOR for Vectors
- References: <1158470634.2407.27.camel@celery.andrew.com>
On Sep 16, 2006, at 10:23 PM, Andrew Pinski wrote:
I just got crazy idea, since we really don't like CONSTRUCTOR that
much
and we already know the lengths of Vectors, we can have a VECTOR_EXPR
which we could then use instead of CONSTRUCTORs.
What don't you like about CONSTRUCTOR's? Taking the address of a
CONSTRUCTOR is abuse, but if that doesn't happen, what is the
problem? Do you propose to have a new ARRAY_EXPR, RECORD_EXPR,
UNION_EXPR, etc node for each type?
-Chris