From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7856) id 33FCC3858D28; Wed, 13 Apr 2022 01:28:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 33FCC3858D28 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Xi Ruoyao To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-8127] mips: testsuite: enforce -ffat-lto-objects for pr102024-4.c X-Act-Checkin: gcc X-Git-Author: Xi Ruoyao X-Git-Refname: refs/heads/master X-Git-Oldrev: 504dae1d379c8f2488bb9d1aa68af27177e714d8 X-Git-Newrev: bb50967fa4ea83ba1f3b3e25561eaa2b7fe5cd64 Message-Id: <20220413012839.33FCC3858D28@sourceware.org> Date: Wed, 13 Apr 2022 01:28:39 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2022 01:28:39 -0000 https://gcc.gnu.org/g:bb50967fa4ea83ba1f3b3e25561eaa2b7fe5cd64 commit r12-8127-gbb50967fa4ea83ba1f3b3e25561eaa2b7fe5cd64 Author: Xi Ruoyao Date: Thu Apr 7 06:38:47 2022 +0800 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. Diff: --- gcc/testsuite/gcc.target/mips/pr102024-4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/mips/pr102024-4.c b/gcc/testsuite/gcc.target/mips/pr102024-4.c index 2147cc769d0..ea49e890ee5 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];