From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id 74EDC3858D34; Sun, 21 Apr 2024 20:28:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 74EDC3858D34 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713731286; bh=n3grRUATgbIIx1jYzCqmlyUOhyB0fb0tOQT8S0JrzrQ=; h=From:To:Subject:Date:From; b=vcGMRcbdDB/5WdnQb8r/dYsdf9SMVM8hy8kKHxGLlapDobNZyB8oulCs/M8AhJiMx R8QHZ1ETA+vrZbIZSCV8Ja37OBZd/sLx+lsB68gw1fQuagQ5slEU77d/6uH8/SOtAk Nf+p0EtEcTzGaqnLdzbj3vv/yMi97+DATmc8eqFg= 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: fe3c0a30e72c978dcd9a70d131b2e9cb9f90e8e0 X-Git-Newrev: 89e5150772d91d129fd4a8ca6ebda3655551e546 Message-Id: <20240421202806.74EDC3858D34@sourceware.org> Date: Sun, 21 Apr 2024 20:28:06 +0000 (GMT) List-Id: https://gcc.gnu.org/g:89e5150772d91d129fd4a8ca6ebda3655551e546 commit 89e5150772d91d129fd4a8ca6ebda3655551e546 Author: Alexandre Oliva Date: Sun Apr 21 17:24:30 2024 -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