Re: [PATCH] testsuite: Fix up c2x-enum-1.c for 32-bit arches [PR107311]

2022-10-19 Thread Joseph Myers
On Wed, 19 Oct 2022, Jakub Jelinek wrote: > Hi! > > On Wed, Oct 19, 2022 at 02:57:59PM +, Joseph Myers wrote: > > I think the type checked for e5a should be conditional on __LONG_MAX__ > > > __INT_MAX__; everything else there should be OK regardless. > > So like this? > Tested on x86_64-lin

[PATCH] testsuite: Fix up c2x-enum-1.c for 32-bit arches [PR107311]

2022-10-19 Thread Jakub Jelinek via Gcc-patches
Hi! On Wed, Oct 19, 2022 at 02:57:59PM +, Joseph Myers wrote: > I think the type checked for e5a should be conditional on __LONG_MAX__ > > __INT_MAX__; everything else there should be OK regardless. So like this? Tested on x86_64-linux with -m32 and -m64, ok for trunk? 2022-10-19 Jakub Jel