[C PATCH, v3] Fix for redeclared enumerator initialized with different type [PR115109]
Joseph Myers
josmyers@redhat.com
Mon Jun 17 18:54:26 GMT 2024
On Sat, 15 Jun 2024, Martin Uecker wrote:
> The patch fails on arm because the tests make assumptions
> about enums that are not true everywhere. Should we just
> limit the tests to x86?
For compilation tests, using -fno-short-enums should work. That won't
work for link / execute tests, but in those cases you can use { target { !
short_enums } }. (If there are other issues beyond a short-enums default,
other effective-targets may be needed.)
--
Joseph S. Myers
josmyers@redhat.com
More information about the Gcc-patches
mailing list