re PR middle-end/49806 (FAIL: gcc.dg/tree-ssa/vrp47.c)
authorRichard Guenther <rguenther@suse.de>
Thu, 4 Aug 2011 14:11:30 +0000 (14:11 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 4 Aug 2011 14:11:30 +0000 (14:11 +0000)
commit7e29ba60f137272db19c41c09cc04921027a56b8
treefe11f322a9e6a69500c3e06d19b3c7e750d95de4
parent24558db881d2789475da76d93a4e1369502ab867
re PR middle-end/49806 (FAIL: gcc.dg/tree-ssa/vrp47.c)

2011-08-04  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/49806
* tree-vrp.c (op_with_boolean_value_range_p): New function.
(simplify_truth_ops_using_ranges): Simplify.  Allow inserting
a new statement for a final conversion to bool.

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