public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-8179] PR testsuite/100073 - test case gcc.dg/pr86058.c fails on arm, powerpc64
@ 2021-04-14 16:45 Martin Sebor
  0 siblings, 0 replies; only message in thread
From: Martin Sebor @ 2021-04-14 16:45 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:785209fc464ee3efec2b2a8e8244b7292c251ad8

commit r11-8179-g785209fc464ee3efec2b2a8e8244b7292c251ad8
Author: Martin Sebor <msebor@redhat.com>
Date:   Wed Apr 14 10:43:22 2021 -0600

    PR testsuite/100073 - test case gcc.dg/pr86058.c fails on arm, powerpc64
    
    gcc/testsuite/ChangeLog:
            * gcc.dg/pr86058.c: Limit to just x86_64.

Diff:
---
 gcc/testsuite/gcc.dg/pr86058.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/pr86058.c b/gcc/testsuite/gcc.dg/pr86058.c
index 0b030b04acf..e39b7207b82 100644
--- a/gcc/testsuite/gcc.dg/pr86058.c
+++ b/gcc/testsuite/gcc.dg/pr86058.c
@@ -1,8 +1,9 @@
 /* PR middle-end/86058 - TARGET_MEM_REF causing incorrect message for
    -Wmaybe-uninitialized warning
-   { dg-do compile } 
+   The test fails on a number of non-x86_64 targets due to pr100073.
+   { dg-do compile { target x86_64-*-* } }
    { dg-options "-O2 -Wuninitialized -Wmaybe-uninitialized" } */
-    
+
 extern void foo (int *);
 
 void zip (int *out, int indx)
@@ -10,9 +11,9 @@ void zip (int *out, int indx)
   int arr[10];
 
   for (int i = 0; i < indx; ++i)
-    out[i] = arr[i] + 1;  // { dg-warning "'arr\\\[i]' may be used uninitialized" "pr?????" { xfail *-*-* } }
+    out[i] = arr[i] + 1;  // { dg-warning "'arr\\\[i]' may be used uninitialized" "pr99944" { xfail *-*-* } }
                           // { dg-warning "'arr' may be used uninitialized" "actual" { target *-*-* } .-1 }
-  
+
   foo (arr);
   foo (out);
 }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-14 16:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-14 16:45 [gcc r11-8179] PR testsuite/100073 - test case gcc.dg/pr86058.c fails on arm, powerpc64 Martin Sebor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).