[PATCH] VRP TLC

2011-08-16 Thread Richard Guenther
More VRP TLC, this restructures extract_range_from_binary_expr_1 a bit, avoiding to glob unrelated tree codes to avoid some code duplication. Instead factor out the common code. Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk. Richard. 2011-08-16 Richard Guenther

[PATCH] VRP TLC

2011-08-15 Thread Richard Guenther
This restructures extract_range_from_unary_expr_1 so it is easier to follow. Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. Richard. 2011-08-15 Richard Guenther * tree-vrp.c (value_range_nonnegative_p): Fix anti-range case. (extract_range_from_unary_expr_1): R