[C patch]: check type directly

Nathan Sidwell nathan@codesourcery.com
Thu Aug 5 08:40:00 GMT 2004


Richard Henderson wrote:
> On Wed, Aug 04, 2004 at 02:32:13PM +0100, Nathan Sidwell wrote:
> 
>>!       if ((unsigned HOST_WIDE_INT)TREE_INT_CST_HIGH (upper) > high
>>! 	  || ((unsigned HOST_WIDE_INT)TREE_INT_CST_HIGH (upper) == high
>>! 	      && TREE_INT_CST_LOW (upper) >= low))
> 
> 
> We've got this in several places, not least INT_CST_LT and
> INT_CST_LT_UNSIGNED.  It would be nice to unify them.
good point, I'll make a note to get to it.

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk




More information about the Gcc-patches mailing list