This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Vectorizer: bug fix for component ref support
- From: Richard Henderson <rth at redhat dot com>
- To: Ira Rosen <IRAR at il dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Dorit Naishlos <DORIT at il dot ibm dot com>
- Date: Tue, 12 Oct 2004 09:49:32 -0700
- Subject: Re: [patch] Vectorizer: bug fix for component ref support
- References: <OF02862611.A58697D8-ONC2256F2B.0048A4CA-C2256F2B.00496168@il.ibm.com>
On Tue, Oct 12, 2004 at 03:21:30PM +0200, Ira Rosen wrote:
> is_array_ref = TREE_CODE (data_ref_base_type) == ARRAY_TYPE
> && (TREE_CODE (data_ref_base) == VAR_DECL
> || TREE_CODE (data_ref_base) == COMPONENT_REF
> ! || TREE_CODE (data_ref_base) == ARRAY_REF
> ! || TREE_CODE (data_ref_base) == INDIRECT_REF);
Why are we checking anything other than ARRAY_TYPE?
r~