From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2153) id 27D743857001; Wed, 27 Jul 2022 10:04:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 27D743857001 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jakub Jelinek To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-1854] testsuite: Add -Wno-psabi to pr94920 tests [PR94920] X-Act-Checkin: gcc X-Git-Author: Jakub Jelinek X-Git-Refname: refs/heads/master X-Git-Oldrev: 3044a7a824981496875acc6debf467fb904c55f2 X-Git-Newrev: 0bc1566dec0cab9410723c96d2ef3280fdab8e8e Message-Id: <20220727100412.27D743857001@sourceware.org> Date: Wed, 27 Jul 2022 10:04:12 +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, 27 Jul 2022 10:04:12 -0000 https://gcc.gnu.org/g:0bc1566dec0cab9410723c96d2ef3280fdab8e8e commit r13-1854-g0bc1566dec0cab9410723c96d2ef3280fdab8e8e Author: Jakub Jelinek Date: Wed Jul 27 12:02:12 2022 +0200 testsuite: Add -Wno-psabi to pr94920 tests [PR94920] These tests fail on ia32, because we get -Wpsabi warnings. Fixed by adding -Wno-psabi. The pr94920.C test still fails the ABS_EXPR scan-tree-dump though, I think we'll need to add vect options and use vect_int effective target or something similar. 2022-07-27 Jakub Jelinek PR tree-optimization/94920 * g++.dg/pr94920.C: Add -Wno-psabi to dg-options. * g++.dg/pr94920-1.C: Add dg-additional-options -Wno-psabi. Diff: --- gcc/testsuite/g++.dg/pr94920-1.C | 1 + gcc/testsuite/g++.dg/pr94920.C | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/pr94920-1.C b/gcc/testsuite/g++.dg/pr94920-1.C index 6c6483eab2d..f8fa14a537a 100644 --- a/gcc/testsuite/g++.dg/pr94920-1.C +++ b/gcc/testsuite/g++.dg/pr94920-1.C @@ -1,4 +1,5 @@ /* PR tree-optimization/94920 */ +/* { dg-additional-options "-Wno-psabi" } */ /* { dg-do run } */ #include "pr94920.C" diff --git a/gcc/testsuite/g++.dg/pr94920.C b/gcc/testsuite/g++.dg/pr94920.C index 925ec4f42f1..126b00478d2 100644 --- a/gcc/testsuite/g++.dg/pr94920.C +++ b/gcc/testsuite/g++.dg/pr94920.C @@ -1,6 +1,6 @@ /* PR tree-optimization/94920 */ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-optimized" } */ +/* { dg-options "-O2 -Wno-psabi -fdump-tree-optimized" } */ typedef int __attribute__((vector_size(4*sizeof(int)))) vint;