aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorStuart Hastings <stuart@apple.com>2006-08-01 16:17:53 +0000
committerStuart Hastings <stuart@gcc.gnu.org>2006-08-01 16:17:53 +0000
commit4fbbe6941cb824dc2defe3172263efac648ec27a (patch)
tree0404f507b2c1b0a334fec96e68cd3a10c4e8d0cd /gcc/rtl.h
parent6193b8b7edb139ddf475352a0822482f16be4a2d (diff)
downloadgcc-4fbbe6941cb824dc2defe3172263efac648ec27a.zip
gcc-4fbbe6941cb824dc2defe3172263efac648ec27a.tar.gz
gcc-4fbbe6941cb824dc2defe3172263efac648ec27a.tar.bz2
* rtl.h (UINTVAL) New.
* config/rs6000/rs6000.c (SMALL_INT) Use it. * testsuite/gcc.dg/20060801-1.c: New. From-SVN: r115855
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 42c4db6..75a89b6 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