aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2009-06-19 15:53:07 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2009-06-19 15:53:07 +0000
commit50ae5feab3e1ab395d895829877ffc1dd9ec3d06 (patch)
tree3134cc6d661fa1f03b53e1dfbb67f13892e896a9 /gcc
parenteb6f9a86c5a7406cabd069093d34d435cf92bd13 (diff)
downloadgcc-50ae5feab3e1ab395d895829877ffc1dd9ec3d06.zip
gcc-50ae5feab3e1ab395d895829877ffc1dd9ec3d06.tar.gz
gcc-50ae5feab3e1ab395d895829877ffc1dd9ec3d06.tar.bz2
* rtl.h (SUBREG_PROMOTED_UNSIGNED_P): Add cast to int.
From-SVN: r148712
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/rtl.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bab05f5..154a8de 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2009-06-19 Ian Lance Taylor <iant@google.com>
+ * rtl.h (SUBREG_PROMOTED_UNSIGNED_P): Add cast to int.
+
+2009-06-19 Ian Lance Taylor <iant@google.com>
+
* ggc-page.c (ggc_pch_write_object): Initialize emptyBytes.
* sdbout.c (sdb_debug_hooks): Initialize non-SDB_DEBUGGING_INFO
version.
diff --git a/gcc/rtl.h b/gcc/rtl.h
index de9d9a8..637c227 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1120,7 +1120,7 @@ do { \
} while (0)
#define SUBREG_PROMOTED_UNSIGNED_P(RTX) \
((RTL_FLAG_CHECK1("SUBREG_PROMOTED_UNSIGNED_P", (RTX), SUBREG)->volatil) \
- ? -1 : (RTX)->unchanging)
+ ? -1 : (int) (RTX)->unchanging)
/* Access various components of an ASM_OPERANDS rtx. */