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] More TRUNC_MOD_EXPR folding


On 17 Jun 2005, James A. Morrison wrote:
> 2005-06-14  James A. Morrison  <phython@gcc.gnu.org>
>
>	* fold_const (fold_binary): Fold X % (2**N) to X & (2**N - 1) for
>	nonnegative values of X.

This is OK for mainline.

Thanks,

Roger
--


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