[gcc r16-9413] testsuite: fix Wuninitialized-pr107919-1.C

Andrea Pinski via Gcc-cvs <[email protected]>
Newsgroups gmane.comp.gcc.cvs
Message-ID <[email protected]>
https://gcc.gnu.org/g:05d40a17be78b129705baeb1d74eba9e17499e58

commit r16-9413-g05d40a17be78b129705baeb1d74eba9e17499e58
Author: Marek Polacek <[email protected]>
Date:   Fri May 15 18:39:52 2026 -0400

    testsuite: fix Wuninitialized-pr107919-1.C
    
    gcc/testsuite/ChangeLog:
    
            * g++.dg/warn/Wuninitialized-pr107919-1.C: Fix a dg-bogus.
    
    (cherry picked from commit 2bdddfa9e31918fcb1829070866e9428c3606def)

Diff:
---
 gcc/testsuite/g++.dg/warn/Wuninitialized-pr107919-1.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/g++.dg/warn/Wuninitialized-pr107919-1.C b/gcc/testsuite/g++.dg/warn/Wuninitialized-pr107919-1.C
index b3ed4628bdda..931b4648e00c 100644
--- a/gcc/testsuite/g++.dg/warn/Wuninitialized-pr107919-1.C
+++ b/gcc/testsuite/g++.dg/warn/Wuninitialized-pr107919-1.C
@@ -14,4 +14,4 @@ void do_something(void* storage)
   std::swap(event, swappedValue);
 }
 
-// { dg-bogus "may be used uninitialized" "" 0 }
+// { dg-bogus "may be used uninitialized" "" { target *-*-* } 0 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.