summaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorstuart <stuart@138bc75d-0d04-0410-961f-82ee72b054a4>2006-08-01 16:17:53 +0000
committerstuart <stuart@138bc75d-0d04-0410-961f-82ee72b054a4>2006-08-01 16:17:53 +0000
commit02fd0f2d021f3791e6cade7aa4890e547478336d (patch)
tree0404f507b2c1b0a334fec96e68cd3a10c4e8d0cd /gcc/rtl.h
parent89c3081174ed442982c691a186dc9c64418e17ac (diff)
downloadgcc-02fd0f2d021f3791e6cade7aa4890e547478336d.tar.gz
* rtl.h (UINTVAL) New.
* config/rs6000/rs6000.c (SMALL_INT) Use it. * testsuite/gcc.dg/20060801-1.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115855 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 42c4db6524a..75a89b63df1 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -996,6 +996,7 @@ enum label_kind
/* For a CONST_INT rtx, INTVAL extracts the integer. */
#define INTVAL(RTX) XCWINT(RTX, 0, CONST_INT)
+#define UINTVAL(RTX) ((unsigned HOST_WIDE_INT) INTVAL (RTX))
/* For a CONST_DOUBLE:
For a VOIDmode, there are two integers CONST_DOUBLE_LOW is the