On Fri, Feb 04, 2022 at 12:14:33PM +0100, Richard Biener via Gcc-patches wrote:
> +#define MAGIC 0x80000000
> 
> I _think_ writing the constant this way requires

Perhaps use (~(uint32_t)0 / 2 + 1) as MAGIC instead?
Then it doesn't actually require that uint32_t actually is exactly 32 bits.
On the other side the regex checks for the exact 32-bit constant.

        Jakub

Reply via email to