re PR tree-optimization/53986 (missing vrp on bit-mask test, LSHIFT_EXPR not handled)
authorTom de Vries <tom@codesourcery.com>
Fri, 7 Sep 2012 09:21:11 +0000 (09:21 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Fri, 7 Sep 2012 09:21:11 +0000 (09:21 +0000)
commit25722436a61aa310416ceb64254e634236442d05
treebda2e1246830004bdba5e494204e07215b78dc4d
parent7fb3b7a74699bd0dc6a1630756b4bb1ac31658a4
re PR tree-optimization/53986 (missing vrp on bit-mask test, LSHIFT_EXPR not handled)

2012-09-07  Tom de Vries  <tom@codesourcery.com>

PR tree-optimization/53986
* tree-vrp.c (extract_range_from_multiplicative_op_1): Allow
LSHIFT_EXPR.
(extract_range_from_binary_expr_1): Handle LSHIFT with constant range as
shift amount.

From-SVN: r191057
gcc/ChangeLog
gcc/tree-vrp.c