This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r249447 - in /trunk/gcc: ChangeLog match.pd tes...
- From: glisse at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 21 Jun 2017 11:16:27 -0000
- Subject: r249447 - in /trunk/gcc: ChangeLog match.pd tes...
Author: glisse
Date: Wed Jun 21 11:16:27 2017
New Revision: 249447
URL: https://gcc.gnu.org/viewcvs?rev=249447&root=gcc&view=rev
Log:
NOP conversions in X+CST+CST
2017-06-21 Marc Glisse <marc.glisse@inria.fr>
gcc/
* match.pd (nop_convert): New predicate.
((A +- CST1) +- CST2): Allow some NOP conversions.
gcc/testsuite/
* gcc.dg/tree-ssa/addadd.c: Un-XFAIL.
* gcc.dg/tree-ssa/addadd-2.c: New file.
Added:
trunk/gcc/testsuite/gcc.dg/tree-ssa/addadd-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/match.pd
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/tree-ssa/addadd.c