[autovect] [patch] Tune up runtime code to chek if ranges are overlaping

Roger Sayle roger@eyesopen.com
Wed May 10 06:09:00 GMT 2006


On Tue, 9 May 2006, Victor Kaplansky wrote:
> +         build2(GE_EXPR, boolean_type_node,
> +           build1 (ABS_EXPR, integer_type_node,
> +             build2(MINUS_EXPR, integer_type_node,
> +                addr_base_a, addr_base_b)),
> +           int_cst_32);

Missing whitespace between the calls to build2 and it's argument list.

Of course, if you used fold_build1 and fold_build2 instead of just
build1 and build2 respectively, the middle-end might be able to perform
these kinds of transformations for you :-)  For example, if len == 0,
this test would simplify to "a != b".

Roger
--



More information about the Gcc-patches mailing list