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: [autovect] [patch] Tune up runtime code to chek if ranges are overlaping


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
--


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