testsuite: Fix up 20050113-1.c test for i686-linux [PR105187]
authorJakub Jelinek <jakub@redhat.com>
Fri, 8 Apr 2022 07:51:02 +0000 (09:51 +0200)
committerJakub Jelinek <jakub@redhat.com>
Fri, 8 Apr 2022 07:51:02 +0000 (09:51 +0200)
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  <jakub@redhat.com>

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

index 6e36ed6..8ec4935 100644 (file)
@@ -1,4 +1,5 @@
 /* PR c/17297 */
+/* { dg-additional-options "-Wno-psabi" } */
 
 typedef float V2SF __attribute__ ((vector_size (8)));