diff options
author | Christophe Lyon <christophe.lyon@foss.st.com> | 2021-07-05 11:33:45 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@foss.st.com> | 2021-07-05 11:41:21 +0000 |
commit | 0ea47850bbb38ea81a34c503533d4dd0f3391f19 (patch) | |
tree | 733ee78e3ca5b462f06b04199ce9115b902b00b9 /gcc | |
parent | 88ada5c051c49a1f03602df747a9e6dae675c68e (diff) | |
download | gcc-0ea47850bbb38ea81a34c503533d4dd0f3391f19.zip gcc-0ea47850bbb38ea81a34c503533d4dd0f3391f19.tar.gz gcc-0ea47850bbb38ea81a34c503533d4dd0f3391f19.tar.bz2 |
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-3.c b/gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-3.c index 440623c3..5e68416 100644 --- a/gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-3.c +++ b/gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-3.c @@ -15,7 +15,7 @@ */ /* { dg-do compile } */ -/* { dg-options "-O0 -gbtf -dA" } */ +/* { dg-options "-O0 -gbtf -dA -fno-short-enums" } */ /* Enum with 4 members. */ /* { dg-final { scan-assembler-times "\[\t \]0x6000004\[\t \]+\[^\n\]*btt_info" 1 } } */ |