gcc/gcc ChangeLog fold-const.c

sayle@gcc.gnu.org sayle@gcc.gnu.org
Mon Jul 1 13:59:00 GMT 2002


CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	sayle@gcc.gnu.org	2002-07-01 13:59:02

Modified files:
	gcc            : ChangeLog fold-const.c 

Log message:
	PR opt/4046
	* fold-const.c (fold) [COND_EXPR]: Simplify A ? 0 : 1 to !A,
	A ? B : 0 to A && B and A ? B : 1 into !A || B if both A and
	B are truth values.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.14754&r2=1.14755
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fold-const.c.diff?cvsroot=gcc&r1=1.214&r2=1.215



More information about the Gcc-cvs mailing list