On Fri, Feb 4, 2022 at 12:50 PM Jakub Jelinek <ja...@redhat.com> wrote: > > 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.
I think uint32_t always is 32-bit in practice, compared to unsigned int which is not. Richard. > Jakub >