* tree-vrp.c (simplify_min_or_max_using_ranges): New.
commitcd7d0303369acfa1592576143f67a6d1d619d2ee
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Aug 2015 13:08:23 +0000 (12 13:08 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Aug 2015 13:08:23 +0000 (12 13:08 +0000)
treecc3b5adfb47fbb84706ba2a55f6f8b493af361a5
parent7ad1d78d497a5fcac4b475ba312f4a48f539823f
* tree-vrp.c (simplify_min_or_max_using_ranges): New.
(simplify_stmt_using_ranges): Simplify MIN and MAX exprs.

testsuite/
* gcc.dg/vrp-min-max-1.c: New.
* gcc.dg/vrp-min-max-2.c: New.

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