[tuples][patch] Removing gimplify_val

Richard Guenther richard.guenther@gmail.com
Fri Mar 14 09:48:00 GMT 2008


On Fri, Mar 14, 2008 at 12:59 AM, Oleg Ryjkov <olegr@google.com> wrote:
> Hi all,
>  This patch removes gimplify_val and updates the callers, since it
>  basically duplicates what is done by force_gimple_operands_gsi, which
>  in turn is more general and used way more often.
>  Tested on i686-linux - no new failures, 1 testcase fixed.
>  Diego, OK to commit?

Can you do so on the trunk as well?  The only difference I see with
the two functions is that gimplify_val sets location information on
the new stmt - you may want to do some digging in the archives
for what reason this went in and eventually update force_gimple_operand_bsi
to do so as well.

Thanks,
Richard.

>  Oleg
>
>  2008-03-13  Oleg Ryjkov  <olegr@google.com>
>
>         * tree-cfg.c (gimplify_val): Removed.
>         (gimplify_build1, gimplify_build2, gimplify_build3): Use
>         force_gimple_operand_gsi instead of gimplify_val.
>         * tree-complex.c (extract_component): Use force_gimple_operand_gsi
>         instead of gimplify_val.
>         * tree-vect-generic.c (expand_vector_parallel): Ditto.
>



More information about the Gcc-patches mailing list