From: Ian Lance Taylor Date: Fri, 19 Jun 2009 15:53:07 +0000 (+0000) Subject: * rtl.h (SUBREG_PROMOTED_UNSIGNED_P): Add cast to int. X-Git-Tag: releases/gcc-4.5.0~5102 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=50ae5feab3e1ab395d895829877ffc1dd9ec3d06;p=thirdparty%2Fgcc.git * rtl.h (SUBREG_PROMOTED_UNSIGNED_P): Add cast to int. From-SVN: r148712 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bab05f5bf798..154a8de51bf7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2009-06-19 Ian Lance Taylor + + * rtl.h (SUBREG_PROMOTED_UNSIGNED_P): Add cast to int. + 2009-06-19 Ian Lance Taylor * ggc-page.c (ggc_pch_write_object): Initialize emptyBytes. diff --git a/gcc/rtl.h b/gcc/rtl.h index de9d9a80753d..637c227ec124 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. */