On Sun, 23 Jun 2024, Martin Uecker wrote:

> This fixes the test failures introduced by the fix for PR115109.
> 
> Tested on x86_64 and also tested with -m32.
> 
> 
> 
>     Fix test errors after r15-1394 for sizeof(int)==sizeof(long) [PR115545]
>     
>     Some tests added to test the type of redeclarations of enumerators
>     in r15-1394 fail on architectures where sizeof(long) == sizeof(int).
>     Adapt tests to use long long and/or accept that long long is selected
>     as type for the enumerator.
>     
>     gcc/testsuite/Changelog:
>             PR testsuite/115545
>             * gcc.dg/pr115109.c: Adapt test.
>             * gcc.dg/c23-tag-enum-6.c: Adapt test.
>             * gcc.dg/c23-tag-enum-7.c: Adapt test.

OK.

-- 
Joseph S. Myers
josmy...@redhat.com

Reply via email to