Richi has asked the we break the wide-int patch so that the individual port and
front end maintainers can review their parts without have to go through the
entire patch. This patch covers the msp430 port.
Ok?
* config/msp430/msp430.c
(msp430_attr): Use wide-int interfaces.
diff --git a/gcc/config/msp430/msp430.c b/gcc/config/msp430/msp430.c
index daff4ae..e3f6712 100644
--- a/gcc/config/msp430/msp430.c
+++ b/gcc/config/msp430/msp430.c
@@ -1085,7 +1085,7 @@ msp430_attr (tree * node,
break;
case INTEGER_CST:
- if (TREE_INT_CST_LOW (value) > 31)
+ if (wi::gtu_p (value, 31))
/* Allow the attribute to be added - the linker script
being used may still recognise this value. */
warning (OPT_Wattributes,