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] Constant fold 0 >> x.


On Mon, Oct 07, 2002 at 09:26:22PM -0600, Roger Sayle wrote:
> 	* fold-const.c (fold) [LROTATE_EXPR, RROTATE_EXPR]: Optimize
> 	left and right rotates of ~0, i.e. integer_all_onesp (arg0).
> 	[LSHIFT_EXPR, RSHIFT_EXPR]: Optimize shifts and rotates of zero.

Ok.


r~


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