]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* rtl.h (SUBREG_PROMOTED_UNSIGNED_P): Add cast to int.
authorIan Lance Taylor <iant@google.com>
Fri, 19 Jun 2009 15:53:07 +0000 (15:53 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 19 Jun 2009 15:53:07 +0000 (15:53 +0000)
From-SVN: r148712

gcc/ChangeLog
gcc/rtl.h

index bab05f5bf7982dbf55a2bd6e2e4db248a11b280d..154a8de51bf7ebb19b23e694847fff05b2227e39 100644 (file)
@@ -1,3 +1,7 @@
+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.
index de9d9a80753d16b148b30997185e8745bfe171f3..637c227ec1245be2bc3003ebda9d4f2df843c2c9 100644 (file)
--- 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.  */