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

rguenth@gcc.gnu.org rguenth@gcc.gnu.org
Sat May 27 15:57:00 GMT 2006


Author: rguenth
Date: Sat May 27 15:57:36 2006
New Revision: 114158

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

	PR middle-end/27773
	* fold-const.c (fold_plusminus_mult_expr): Use fold_convert
	to produce a constant of value 1 of generic type.

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

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



More information about the Gcc-cvs mailing list