This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r275587 - in /trunk/gcc: ChangeLog match.pd tes...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 10 Sep 2019 08:15:49 -0000
- Subject: r275587 - in /trunk/gcc: ChangeLog match.pd tes...
Author: jakub
Date: Tue Sep 10 08:15:46 2019
New Revision: 275587
URL: https://gcc.gnu.org/viewcvs?rev=275587&root=gcc&view=rev
Log:
PR middle-end/91680
* match.pd ((A / (1 << B)) -> (A >> B)): Allow widening cast from
the shift type to type.
* gcc.dg/tree-ssa/pr91680.c: New test.
* g++.dg/torture/pr91680.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/torture/pr91680.C
trunk/gcc/testsuite/gcc.dg/tree-ssa/pr91680.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/match.pd
trunk/gcc/testsuite/ChangeLog