couple of cosmetic fixes in tree-vrp.c

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

	* tree-vrp.c (extract_range_from_binary_expr_1): Remove duplicated
	(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: <>

More information about the Gcc-patches mailing list