testsuite: enable pr86058.c also on i?86-*-* [PR100073]
authorJakub Jelinek <jakub@redhat.com>
Thu, 15 Apr 2021 12:08:03 +0000 (14:08 +0200)
committerJakub Jelinek <jakub@redhat.com>
Thu, 15 Apr 2021 12:08:03 +0000 (14:08 +0200)
The test also works with -m32 or -mx32 the same as it does for -m64,
therefore it should be enabled for i?86-*-* x86_64-*-* targets,
x86_64-*-* alone is never right.

2021-04-15  Jakub Jelinek  <jakub@redhat.com>

PR testsuite/100073
* gcc.dg/pr86058.c: Enable also on i?86-*-*.

gcc/testsuite/gcc.dg/pr86058.c

index e39b720..89628c9 100644 (file)
@@ -1,7 +1,7 @@
 /* PR middle-end/86058 - TARGET_MEM_REF causing incorrect message for
    -Wmaybe-uninitialized warning
-   The test fails on a number of non-x86_64 targets due to pr100073.
-   { dg-do compile { target x86_64-*-* } }
+   The test fails on a number of non-x86 targets due to pr100073.
+   { dg-do compile { target i?86-*-* x86_64-*-* } }
    { dg-options "-O2 -Wuninitialized -Wmaybe-uninitialized" } */
 
 extern void foo (int *);