OSDN Git Service

2011-10-17 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Oct 2011 12:22:54 +0000 (12:22 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Oct 2011 12:22:54 +0000 (12:22 +0000)
commit81e042f91f0516d8c87f14abfbb4317885412a3a
treec4d0d2f384a38c365c5371e2b67503ad50a6fb57
parent1ae3520e0d4d2a5693961919636474de0a4faef6
2011-10-17  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/50729
* tree-vrp.c (extract_range_from_unary_expr_1): Remove
redundant test.
(simplify_conversion_using_ranges): Properly test the
intermediate result.

* gcc.dg/torture/pr50729.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180087 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr50729.c [new file with mode: 0644]
gcc/tree-vrp.c