projects
/
test_jj.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
504dae1
)
mips: testsuite: enforce -ffat-lto-objects for pr102024-4.c
author
Xi Ruoyao
<xry111@mengyan1223.wang>
Wed, 6 Apr 2022 22:38:47 +0000
(06:38 +0800)
committer
Xi Ruoyao
<xry111@mengyan1223.wang>
Wed, 13 Apr 2022 01:28:05 +0000
(09:28 +0800)
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.
gcc/testsuite/gcc.target/mips/pr102024-4.c
patch
|
blob
|
history
diff --git
a/gcc/testsuite/gcc.target/mips/pr102024-4.c
b/gcc/testsuite/gcc.target/mips/pr102024-4.c
index
2147cc7
..
ea49e89
100644
(file)
--- 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];