diff mbox series

[committed] Trivial fix to gil-1.c when analyzer is not enabled

Message ID ce925959-cb9a-adce-e09b-1ed982accc66@gmail.com
State New
Headers show
Series [committed] Trivial fix to gil-1.c when analyzer is not enabled | expand

Commit Message

Jeff Law Oct. 20, 2021, 4:28 a.m. UTC
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 <jeffreyalaw@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 mbox series

Patch

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"