summaryrefslogtreecommitdiff
path: root/gcc/basic-block.h
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-07-10 19:25:58 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-07-10 19:25:58 +0000
commitdc48b5ed21b4fa3eeaf6f0bfff8a5ac24883de00 (patch)
tree7dd21d62671d5ce207b2bd3c648cb1f3519e8f86 /gcc/basic-block.h
parent1118c86b06f7b79dbebc754a5323a8ce1959001b (diff)
downloadgcc-dc48b5ed21b4fa3eeaf6f0bfff8a5ac24883de00.tar.gz
(REGSET_ELT_TYPE): Make unsigned to avoid signed arithmetic overflow.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4900 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/basic-block.h')
-rw-r--r--gcc/basic-block.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h
index fb0d10eed13..b1bc002000f 100644
--- a/gcc/basic-block.h
+++ b/gcc/basic-block.h
@@ -26,7 +26,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
that the initial part of a regset that contains information on the
hard registers is the same format as a HARD_REG_SET. */
-#define REGSET_ELT_TYPE HOST_WIDE_INT
+#define REGSET_ELT_TYPE unsigned HOST_WIDE_INT
/* Define the type for a pointer to a set with a bit for each
(hard or pseudo) register. */