]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/33142 (wrong code with VRP through ABS_EXPR)
authorRichard Guenther <rguenther@suse.de>
Wed, 22 Aug 2007 08:43:53 +0000 (08:43 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 22 Aug 2007 08:43:53 +0000 (08:43 +0000)
commit7dcb868d0f7e253ddcc3f94e29f9a2dc26f0aea6
tree0b2eddead07bb4c31bb8f38df6182c4910d638de
parent5c14fee18208f625ddb32d1576ab954caa122803
re PR tree-optimization/33142 (wrong code with VRP through ABS_EXPR)

2007-08-22  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/33142
* tree-vrp.c (extract_range_from_unary_expr): Compare with
TYPE_MIN/MAX_VALUE using tree_int_cst_equal.

* gcc.c-torture/execute/pr33142.c: New testcase.

From-SVN: r127691
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr33142.c [new file with mode: 0644]
gcc/tree-vrp.c