egcs/gcc ChangeLog fold-const.c testsuite/Chan ...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Fri Feb 23 04:29:00 GMT 2001


CVSROOT:	/cvs/gcc
Module name:	egcs
Branch: 	gcc-3_0-branch
Changes by:	jakub@gcc.gnu.org	2001-02-23 04:29:49

Modified files:
	gcc            : ChangeLog fold-const.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.c-torture/execute: 20010222-1.c 

Log message:
	* fold-const.c (extract_muldiv) [case PLUS_EXPR]: If not MULT_EXPR,
	check if either operand is divisible by C.
	(multiple_of_p): Handle LSHIFT_EXPR with small constant shift.
	If type is signed, consider negative numbers as well.
	
	* gcc.c-torture/execute/20010222-1.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.9240.2.57&r2=1.9240.2.58
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/fold-const.c.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.146.2.1&r2=1.146.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.1074.2.12&r2=1.1074.2.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/testsuite/gcc.c-torture/execute/20010222-1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=NONE&r2=1.1.2.1



More information about the Gcc-cvs mailing list