https://gcc.gnu.org/g:c7b4305f9c0d23a9dfb2cf0855d345ff67e48732

commit r14-10170-gc7b4305f9c0d23a9dfb2cf0855d345ff67e48732
Author: Rainer Orth <r...@cebitec.uni-bielefeld.de>
Date:   Mon May 6 10:54:27 2024 +0200

    testsuite: c++: Skip g++.dg/analyzer on Solaris [PR111475]
    
    Almost 1400 C++ analyzer tests FAIL on Solaris.  The patch is too risky
    to apply so close to the GCC 14.1.0 release, so disable the tests on
    Solaris instead to reduce the noise.
    
    Tested on i386-pc-solaris2.11, sparc-sun-solaris2.11, and
    x86_64-pc-linux-gnu.
    
    2024-05-05  Rainer Orth  <r...@cebitec.uni-bielefeld.de>
    
            gcc/testsuite:
            PR analyzer/111475
            * g++.dg/analyzer/analyzer.exp: Disable on *-*-solaris2.*.

Diff:
---
 gcc/testsuite/g++.dg/analyzer/analyzer.exp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gcc/testsuite/g++.dg/analyzer/analyzer.exp 
b/gcc/testsuite/g++.dg/analyzer/analyzer.exp
index 863c14de057..7bbafc5bdb4 100644
--- a/gcc/testsuite/g++.dg/analyzer/analyzer.exp
+++ b/gcc/testsuite/g++.dg/analyzer/analyzer.exp
@@ -24,6 +24,11 @@ if { ![check_effective_target_analyzer] } {
     return
 }
 
+# Disable on Solaris until PR analyzer/111475 is fixed.
+if { [istarget *-*-solaris2.*] } {
+    return
+}
+
 if [info exists DEFAULT_CXXFLAGS] then {
   set save_default_cxxflags $DEFAULT_CXXFLAGS
 }

Reply via email to