https://gcc.gnu.org/g:3758cd182ea4424fe4af4ad456e35302e73f804d

commit r16-7509-g3758cd182ea4424fe4af4ad456e35302e73f804d
Author: Andrew Pinski <[email protected]>
Date:   Fri Feb 13 19:54:15 2026 -0800

    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:
---
 gcc/testsuite/g++.dg/warn/uninit-pr95825-1.C | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/g++.dg/warn/uninit-pr95825-1.C 
b/gcc/testsuite/g++.dg/warn/uninit-pr95825-1.C
index 01a9b26a1f21..2f33edddee7f 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

Reply via email to