Hi Olaf,

On 16/06/2021 17:02, Olaf Hering wrote:
Am Wed, 16 Jun 2021 15:50:24 +0100
schrieb Andrew Cooper <[email protected]>:

          new_max |= new_max >> 32;

Lazy compiler? I hoped this is a compile-time constant, which evaluates to zero 
in 32bit builds.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4210, this seems to be a known issue on GCC.


     if ( sizeof(unsigned long) > 4 )

I guess a #ifdef as it is done in old code must be done.

Olaf


Cheers,

--
Julien Grall

Reply via email to