The test gcc.dg/plugin/gil-1.c should be reporting UNSUPPORTED when the analyzer is not enabled, but instead it's showing up as a FAIL.  This is because it's missing an appropriate dg-require-effective-target marker.


Committed to the trunk,
Jeff
commit f36240f8c835d792f788b6724e272fc0a4a4f26f
Author: Jeff Law <jeffreya...@gmail.com>
Date:   Wed Oct 20 00:26:59 2021 -0400

    Trivial fix to gil-1.c when analyzer is not enabled
    
    gcc/testsuite
            * gcc.dg/plugin/gil-1.c: Add dg-require-effective-target marker.

diff --git a/gcc/testsuite/gcc.dg/plugin/gil-1.c 
b/gcc/testsuite/gcc.dg/plugin/gil-1.c
index 66872f07466..6cbc1971b52 100644
--- a/gcc/testsuite/gcc.dg/plugin/gil-1.c
+++ b/gcc/testsuite/gcc.dg/plugin/gil-1.c
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-fanalyzer" } */
+/* { dg-require-effective-target analyzer } */
 
 #include "gil.h"
 

Reply via email to