From 04ecadbeae51ac56f1a104b4858b6463b24dfaa2 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 8 Apr 2022 09:51:02 +0200 Subject: [PATCH] testsuite: Fix up 20050113-1.c test for i686-linux [PR105187] The test FAILs on i686-linux if neither MMX isn't enabled, can be also reproduced with make check-gcc check-g++ RUNTESTFLAGS='--target_board=unix/-m32/-mno-mmx/-mno-sse dg-torture.exp=20050113-1.c' on x86_64-linux. Previously the test was in gcc.c-torture/compile/ where -w is added by default. 2022-04-08 Jakub Jelinek PR c++/105187 * c-c++-common/torture/20050113-1.c: Add dg-additional-options -Wno-psabi. --- gcc/testsuite/c-c++-common/torture/20050113-1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/c-c++-common/torture/20050113-1.c b/gcc/testsuite/c-c++-common/torture/20050113-1.c index 6e36ed6..8ec4935 100644 --- a/gcc/testsuite/c-c++-common/torture/20050113-1.c +++ b/gcc/testsuite/c-c++-common/torture/20050113-1.c @@ -1,4 +1,5 @@ /* PR c/17297 */ +/* { dg-additional-options "-Wno-psabi" } */ typedef float V2SF __attribute__ ((vector_size (8))); -- 2.7.4