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: Fix problems with tree-sra.c with VIEW_CONVERT_EXPR


On Mon, 2004-06-28 at 08:16, Richard Kenner wrote:

> + static bool
> + is_sra_candidate_complex_ref (tree exp, tree *var_p)
> + {
> +   tree orig_exp = exp;
> + 
> +   while (TREE_CODE (exp) == REALPART_EXPR || TREE_CODE (exp) == IMAGPART_EXPR
> + 	 || handled_component_p (exp))
> +     exp = TREE_OPERAND (exp, 0);
> + 
Why not call get_base_address here?


Diego.


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