Re: [PATCH] rs6000: Use ULL on big hexadecimal literal

2019-11-18 Thread Segher Boessenkool
On Tue, Nov 12, 2019 at 09:52:43PM +, Segher Boessenkool wrote: > C++98 does not have long long int, and does not use (unsigned) long > long int for hexadecimal literals. So let's use an ULL suffix here, > which is still not strict C++98, but which works with more compilers. > > Tested etc.;

Re: [PATCH] rs6000: Use ULL on big hexadecimal literal

2019-11-13 Thread Segher Boessenkool
On Wed, Nov 13, 2019 at 09:15:38AM +0100, Richard Henderson wrote: > On 11/12/19 10:52 PM, Segher Boessenkool wrote: > > C++98 does not have long long int, and does not use (unsigned) long > > long int for hexadecimal literals. So let's use an ULL suffix here, > > which is still not strict C++98,

[PATCH] rs6000: Use ULL on big hexadecimal literal

2019-11-12 Thread Segher Boessenkool
C++98 does not have long long int, and does not use (unsigned) long long int for hexadecimal literals. So let's use an ULL suffix here, which is still not strict C++98, but which works with more compilers. Tested etc.; committing to trunk. Segher 2019-11-12 Segher Boessenkool * co