public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Xi Ruoyao <xry111@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-8127] mips: testsuite: enforce -ffat-lto-objects for pr102024-4.c Date: Wed, 13 Apr 2022 01:28:39 +0000 (GMT) [thread overview] Message-ID: <20220413012839.33FCC3858D28@sourceware.org> (raw) https://gcc.gnu.org/g:bb50967fa4ea83ba1f3b3e25561eaa2b7fe5cd64 commit r12-8127-gbb50967fa4ea83ba1f3b3e25561eaa2b7fe5cd64 Author: Xi Ruoyao <xry111@mengyan1223.wang> 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];
reply other threads:[~2022-04-13 1:28 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220413012839.33FCC3858D28@sourceware.org \ --to=xry111@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).