diff options
author | Xi Ruoyao <xry111@mengyan1223.wang> | 2022-04-07 06:38:47 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@mengyan1223.wang> | 2022-04-13 09:28:05 +0800 |
commit | bb50967fa4ea83ba1f3b3e25561eaa2b7fe5cd64 (patch) | |
tree | 83862710560f8a69d7e71dc55f0f87347e3ba64d /gcc | |
parent | 504dae1d379c8f2488bb9d1aa68af27177e714d8 (diff) | |
download | gcc-bb50967fa4ea83ba1f3b3e25561eaa2b7fe5cd64.zip gcc-bb50967fa4ea83ba1f3b3e25561eaa2b7fe5cd64.tar.gz gcc-bb50967fa4ea83ba1f3b3e25561eaa2b7fe5cd64.tar.bz2 |
mips: testsuite: enforce -ffat-lto-objects for pr102024-4.c
The body of func is optimized away with -flto -fno-fat-lto-objects, so
the psABI inform is not emitted, causing a test failure.
gcc/testsuite/
* gcc.target/mips/pr102024-4.c (dg-options): Add
-ffat-lto-objects.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.target/mips/pr102024-4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/mips/pr102024-4.c b/gcc/testsuite/gcc.target/mips/pr102024-4.c index 2147cc7..ea49e89 100644 --- a/gcc/testsuite/gcc.target/mips/pr102024-4.c +++ b/gcc/testsuite/gcc.target/mips/pr102024-4.c @@ -1,5 +1,5 @@ // { dg-do compile } -// { dg-options "-mabi=64 -mhard-float" } +// { dg-options "-mabi=64 -mhard-float -ffat-lto-objects" } struct __attribute__((aligned(16))) test { int x[0]; |