This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]