From: Andrew Pinski Date: Sat, 14 Feb 2026 03:54:15 +0000 (-0800) Subject: testsuite: Disable uninit-pr95825-1.C if address sanitizer is not supported X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3758cd182ea4424fe4af4ad456e35302e73f804d;p=thirdparty%2Fgcc.git testsuite: Disable uninit-pr95825-1.C if address sanitizer is not supported I had forgot to check to make sure address sanitizer is supported. Disable this test case if there is no address sanitizer. Pushed as obvious after testing it. gcc/testsuite/ChangeLog: * g++.dg/warn/uninit-pr95825-1.C: Skip if no address sanitizer. --- diff --git a/gcc/testsuite/g++.dg/warn/uninit-pr95825-1.C b/gcc/testsuite/g++.dg/warn/uninit-pr95825-1.C index 01a9b26a1f2..2f33edddee7 100644 --- a/gcc/testsuite/g++.dg/warn/uninit-pr95825-1.C +++ b/gcc/testsuite/g++.dg/warn/uninit-pr95825-1.C @@ -1,5 +1,6 @@ // { dg-do compile } // { dg-options "-O1 -fsanitize=address" } +// { dg-skip-if "no address sanitizer" { no_fsanitize_address } } // PR tree-optimization/95825