Re: [PATCH V2 1/2] uapi: Define GENMASK_U128

From: Arnd Bergmann
Date: Wed Jul 31 2024 - 13:17:19 EST


On Wed, Jul 31, 2024, at 18:38, Yury Norov wrote:

> OK then, I see. So, is that a GCC bug or intentional behavior?

I just double-checked to see what is in C23 and found that
it indeed defines a 'wb' and 'wbu' suffix for arbitrarily
sized integers. This is supported by gcc-14 and clang-15
or higher on 64-bit architectures.

It's too early to rely on those versions though, as gcc-14
was only just released.

Arnd