From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id B5428385735E; Thu, 16 Mar 2023 14:22:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B5428385735E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678976521; bh=jZRXJ9+IdoztK/VXfr8RX7vSZ5OTujW83DCpy8uH6IE=; h=From:To:Subject:Date:From; b=KZoQ0VpRL2XXVRusrgepZWEzc5DfUV8ShDPLi8CsMMOrfihOomgd3aR6vvz34BGkm 6GkiliLH54LRa2bMm2b1fW4n6dV1MzMcJv6/uExfyD9/I8O+rc84Ka0I4Voq9OhIXD yJ7grCZEiYhLQRmomHCvWF6JxpJC7O/02C4gxza0= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Alexandre Oliva To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/aoliva/heads/testme)] add explicit ABI and align options to pr88233.c X-Act-Checkin: gcc X-Git-Author: Alexandre Oliva X-Git-Refname: refs/users/aoliva/heads/testme X-Git-Oldrev: bc4a78ffd3a32a1e23def77fe1d5d9987b4866c9 X-Git-Newrev: 369ce4acf8a1391e72d998998491d94ee093f68f Message-Id: <20230316142201.B5428385735E@sourceware.org> Date: Thu, 16 Mar 2023 14:22:01 +0000 (GMT) List-Id: https://gcc.gnu.org/g:369ce4acf8a1391e72d998998491d94ee093f68f commit 369ce4acf8a1391e72d998998491d94ee093f68f Author: Alexandre Oliva Date: Thu Mar 18 05:35:23 2021 -0300 add explicit ABI and align options to pr88233.c We've observed failures of this test on powerpc configurations that default to different calling conventions and alignment requirements. Both settings are needed for the expectations to be met. for gcc/testsuite/ChangeLog * gcc.target/powerpc/pr88233.c: Make some alignment strictness and calling conventions assumptions explicit. Diff: --- gcc/testsuite/gcc.target/powerpc/pr88233.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/powerpc/pr88233.c b/gcc/testsuite/gcc.target/powerpc/pr88233.c index 27c73717a3f..c667a28ebfe 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr88233.c +++ b/gcc/testsuite/gcc.target/powerpc/pr88233.c @@ -1,5 +1,5 @@ /* { dg-require-effective-target lp64 } */ -/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8 -mno-strict-align -fno-reg-struct-return" } */ typedef struct { double a[2]; } A; A