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]

r223366 - in /trunk/gcc: ChangeLog match.pd tes...


Author: jakub
Date: Tue May 19 13:54:32 2015
New Revision: 223366

URL: https://gcc.gnu.org/viewcvs?rev=223366&root=gcc&view=rev
Log:
	PR tree-optimization/66187
	* match.pd ((bit_and (plus/minus (convert @0) (convert @1)) mask)):
	Pass TYPE_SIGN to tree_int_cst_min_precision.  If
	!TYPE_OVERFLOW_WRAPS, ensure @4 is non-negative.

	* gcc.c-torture/execute/pr66187.c: New test.
	* gcc.dg/pr66187-1.c: New test.
	* gcc.dg/pr66187-2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr66187.c
    trunk/gcc/testsuite/gcc.dg/pr66187-1.c
    trunk/gcc/testsuite/gcc.dg/pr66187-2.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]