wide-int, msp430
DJ Delorie
dj@redhat.com
Thu Nov 28 10:23:00 GMT 2013
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,
>
More information about the Gcc-patches
mailing list