]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: gcc.dg/debug/btf/btf-bitfields-3.c requires -fno-short-enums PR debug...
authorChristophe Lyon <christophe.lyon@foss.st.com>
Mon, 5 Jul 2021 11:33:45 +0000 (11:33 +0000)
committerChristophe Lyon <christophe.lyon@foss.st.com>
Mon, 5 Jul 2021 11:41:21 +0000 (11:41 +0000)
commit0ea47850bbb38ea81a34c503533d4dd0f3391f19
tree733ee78e3ca5b462f06b04199ce9115b902b00b9
parent88ada5c051c49a1f03602df747a9e6dae675c68e
testsuite: gcc.dg/debug/btf/btf-bitfields-3.c requires -fno-short-enums PR debug/101321

arm-eabi uses -fshort-enums by default while arm-linux-gnueabi* do not,
like most (all?) other targets, but this test relies -fno-short-enums.
Fix it by forcing -fno-short-enums.

2021-07-05  Christophe Lyon  <christophe.lyon@foss.st.com>

PR debug/101321
gcc/testsuite/
* gcc.dg/debug/btf/btf-bitfields-3.c: Add -fno-short-enums.
gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-3.c