couple of cosmetic fixes in tree-vrp.c

Eric Botcazou ebotcazou@adacore.com
Thu Jan 5 20:44:00 GMT 2012


This removes a duplicated

  if (code == RSHIFT_EXPR)

condition in extract_range_from_binary_expr_1 and avoids useless computations 
in extract_range_from_unary_expr_1.  No functional changes.

Tested on i586-suse-linux, applied on the mainline as obvious.


2012-01-05  Eric Botcazou  <ebotcazou@adacore.com>

	* tree-vrp.c (extract_range_from_binary_expr_1): Remove duplicated
	condition.
	(extract_range_from_unary_expr_1): Avoid useless computations.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-diff
Size: 1941 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120105/26f550f7/attachment.bin>


More information about the Gcc-patches mailing list