Ramana Radhakrishnan <ramana....@googlemail.com> writes:
> diff --git a/gcc/ChangeLog b/gcc/ChangeLog
> index 354cdb9..8ef9a0f 100644
> --- a/gcc/ChangeLog
> +++ b/gcc/ChangeLog
> @@ -1,3 +1,8 @@
> +2014-05-08  Ramana Radhakrishnan  <ramana.radhakrish...@arm.com>
> +
> +     * wide-int.cc (UTItype): Define.
> +     (UDWtype): Define for appropriate W_TYPE_SIZE.
> +
>  2014-05-08  Alan Modra  <amo...@gmail.com>
>  
>       PR target/60737
> diff --git a/gcc/wide-int.cc b/gcc/wide-int.cc
> index 69a15bc..3552e03 100644
> --- a/gcc/wide-int.cc
> +++ b/gcc/wide-int.cc
> @@ -34,6 +34,12 @@ typedef unsigned HOST_WIDE_INT UWtype;
>  typedef unsigned int UQItype __attribute__ ((mode (QI)));
>  typedef unsigned int USItype __attribute__ ((mode (SI)));
>  typedef unsigned int UDItype __attribute__ ((mode (DI)));
> +typedef unsigned int UTItype __attribute__ ((mode (TI)));
> +#if W_TYPE_SIZE == 32
> +# define UDWtype       UDItype
> +#elif W_TYPE_SIZE == 64
> +# define UDWtype       UTItype
> +#endif
>  #include "longlong.h"
>  #endif

OK, thanks.  Technically the W_TYPE_SIZE == 32 should be dead now that
HWI is always 64 bits, but there's still a debate about whether wide-int
should continue using HOST_WIDE_INT/int64_t or something else, so I think
it would be best to keep it.

Richard

Reply via email to