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

mpolacek@gcc.gnu.org mpolacek@gcc.gnu.org
Tue Dec 16 18:29:00 GMT 2014


Author: mpolacek
Date: Tue Dec 16 18:29:01 2014
New Revision: 218787

URL: https://gcc.gnu.org/viewcvs?rev=218787&root=gcc&view=rev
Log:
	PR middle-end/64309
	* match.pd: Add ((1 << A) & 1) != 0 -> A == 0 and
	((1 << A) & 1) == 0 -> A != 0.

	* gcc.dg/pr64309.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr64309.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/match.pd
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list