This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] fold-const.c: Bring fold_negate_const() from tree-ssa.


On Fri, 19 Mar 2004, Kazu Hirata wrote:
> Attached is a patch to bring fold_negate_const() from tree-ssa.
>
> 2004-03-19  Kazu Hirata  <kazu@cs.umass.edu>
>
> 	* fold-const.c (negate_expr): Move the handling of constants
> 	...
> 	(fold_negate_const): ... here.
>

This is OK for mainline.


> If this is OK, I am planning to bring three more functions (and its
> children) one by one, namely
>
>   fold_abs_const(),
>   fold_relational_const(), and
>   fold_relational_hi_lo().

Preapproved, but be sure to check with a bootstrap before committing.
Some of the tree-ssa fold changes have had supporting modifications to
tree.c and elsewhere that may also need to come across.

Thanks for taking care of this.

Roger
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]