Hello,

Martin Uecker <uec...@tugraz.at> writes:

> 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.

I manually triggered a couple of our CI loops testing bare-metal
arm-eabi, and this patch doesn't introduce any regressions and fixes the
following failures:

Running gcc:gcc.dg/dg.exp ...
FAIL: gcc.dg/c23-tag-enum-6.c (test for errors, line 10)
FAIL: gcc.dg/c23-tag-enum-6.c (test for errors, line 13)
FAIL: gcc.dg/c23-tag-enum-7.c (test for excess errors)
FAIL: gcc.dg/pr115109.c (test for excess errors)

Thanks!

-- 
Thiago

Reply via email to