]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/msp430/msp430.c
Merge from trunk.
[thirdparty/gcc.git] / gcc / config / msp430 / msp430.c
index daff4ae1623e0f54400d7b00cb3586a045d1c341..e3f6712596aa362080f08a3b9c9eb7a281a691ee 100644 (file)
@@ -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,