[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v20210616 00/36] leftover from 2020

Hi Olaf,

On 16/06/2021 17:02, Olaf Hering wrote:
Am Wed, 16 Jun 2021 15:50:24 +0100
schrieb Andrew Cooper <andrew.cooper3@xxxxxxxxxx>:

          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.



Julien Grall



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.