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: [C patch]: check type directly


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



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