r114112 - in /trunk/gcc: ChangeLog fold-const.c...

rguenth@gcc.gnu.org rguenth@gcc.gnu.org
Thu May 25 12:39:00 GMT 2006


Author: rguenth
Date: Thu May 25 12:39:52 2006
New Revision: 114112

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114112
Log:
2006-05-25  Richard Guenther  <rguenther@suse.de>

	PR middle-end/27743
	* fold-const.c (fold_binary): Do not look at the stripped
	op0 for (a OP c1) OP c2 to a OP (c1+c2) shift optimization.

	* gcc.dg/torture/pr27743.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr27743.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list