OSDN Git Service

* rtl.h (SUBREG_PROMOTED_UNSIGNED_P): Add cast to int.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Jun 2009 15:53:07 +0000 (15:53 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Jun 2009 15:53:07 +0000 (15:53 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148712 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/rtl.h

index bab05f5..154a8de 100644 (file)
@@ -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.
index de9d9a8..637c227 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.  */