]> git.ipfire.org Git - thirdparty/gcc.git/commit
mips: testsuite: enforce -ffat-lto-objects for pr102024-4.c
authorXi Ruoyao <xry111@mengyan1223.wang>
Wed, 6 Apr 2022 22:38:47 +0000 (06:38 +0800)
committerXi Ruoyao <xry111@mengyan1223.wang>
Wed, 13 Apr 2022 01:28:05 +0000 (09:28 +0800)
commitbb50967fa4ea83ba1f3b3e25561eaa2b7fe5cd64
tree83862710560f8a69d7e71dc55f0f87347e3ba64d
parent504dae1d379c8f2488bb9d1aa68af27177e714d8
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.
gcc/testsuite/gcc.target/mips/pr102024-4.c