r235323 - in /trunk/gcc: ChangeLog match.pd tes...
glisse@gcc.gnu.org
glisse@gcc.gnu.org
Thu Apr 21 09:32:00 GMT 2016
Author: glisse
Date: Thu Apr 21 09:32:32 2016
New Revision: 235323
URL: https://gcc.gnu.org/viewcvs?rev=235323&root=gcc&view=rev
Log:
max(INT_MIN, x) -> x
2016-04-21 Marc Glisse <marc.glisse@inria.fr>
gcc/
* match.pd (min(int_max, x), max(int_min, x)): New transformations.
gcc/testsuite/
* gcc.dg/tree-ssa/minmax-1.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/tree-ssa/minmax-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/match.pd
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list