aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.misc-tests/gcov-3.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.misc-tests/gcov-3.c')
-rw-r--r--gcc/testsuite/gcc.misc-tests/gcov-3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.misc-tests/gcov-3.c b/gcc/testsuite/gcc.misc-tests/gcov-3.c
index fcccdee..eb6e4cc 100644
--- a/gcc/testsuite/gcc.misc-tests/gcov-3.c
+++ b/gcc/testsuite/gcc.misc-tests/gcov-3.c
@@ -1,3 +1,5 @@
+/* { dg-require-effective-target label_values } */
+
/* Test Gcov with computed gotos.
This is the same as test gcc.c-torture/execute/980526-1.c */
@@ -38,10 +40,8 @@ static void do2(void){
}
int main(void){ /* count(1) */
-#ifndef NO_LABEL_VALUES
do1();
do2();
-#endif
exit(0); /* count(1) */
}