This is the mail archive of the gcc-patches@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: [patch] Vectorizer: bug fix for component ref support


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~


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