[PATCH][4.2] Fix PR23294 (fold enhancement)

Richard Henderson rth@redhat.com
Fri Aug 26 21:09:00 GMT 2005


On Fri, Aug 26, 2005 at 03:49:45PM +0200, Richard Guenther wrote:
> 	* fold-const.c (fold_plusminus_mult_expr): New function.
> 	(fold_binary): Use to canonicalize PLUS_EXPR and MINUS_EXPR
> 	cases, remove now unnecessary code.
> 
> 	* gcc.dg/tree-ssa/pr23294.c: New testcase.

Ok.


r~



More information about the Gcc-patches mailing list