[Bug testsuite/101321] gcc.dg/debug/btf/btf-bitfields-3.c fail on arm-eabi

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 5 09:07:28 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101321

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|debug                       |testsuite

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>The new test gcc.dg/debug/btf/btf-bitfields-3.c fails on arm-eabi, but works on arm-linux-gnueabi:


So on arm-eabi -fshort-enum is default while on arm-linux-gnueabi it is not.

So the testcase needs to have -fno-short-enum added to it.


More information about the Gcc-bugs mailing list