aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJørgen Kvalsvik <j@lambda.is>2024-04-05 16:01:14 +0200
committerJørgen Kvalsvik <j@lambda.is>2024-04-06 13:08:56 +0200
commit888bf719728e9ab1da22900d39956e0d80889e30 (patch)
tree4f7c8784b0eb5bfcc396110775c5f90c9c6eb70f
parent4b02dd48f531ea88587edd2b75b6e5243b4389e8 (diff)
downloadgcc-888bf719728e9ab1da22900d39956e0d80889e30.zip
gcc-888bf719728e9ab1da22900d39956e0d80889e30.tar.gz
gcc-888bf719728e9ab1da22900d39956e0d80889e30.tar.bz2
Remove unecessary and broken MC/DC compile test
The __sigsetjmp test was added as a regression test in an early iteration of the MC/DC support, as it caused an internal compiler error. This was triggered by a code path which did not make it through to the final revision. Since this test really only worked on systems with __sigsetjmp, and does not serve a purpose any more it can be removed. gcc/testsuite/ChangeLog: * gcc.misc-tests/gcov-19.c: Remove test.
-rw-r--r--gcc/testsuite/gcc.misc-tests/gcov-19.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/testsuite/gcc.misc-tests/gcov-19.c b/gcc/testsuite/gcc.misc-tests/gcov-19.c
index 17f1fb4..b83a385 100644
--- a/gcc/testsuite/gcc.misc-tests/gcov-19.c
+++ b/gcc/testsuite/gcc.misc-tests/gcov-19.c
@@ -869,17 +869,6 @@ dest:
goto * 0;
}
-int __sigsetjmp ();
-
-/* This should compile, but not called. */
-void
-mcdc021c ()
-{
- while (x) /* conditions(0/2) true(0) false(0)*/
- /* conditions(end) */
- __sigsetjmp ();
-}
-
/* If edges are not properly contracted the a && id (b) will be interpreted as
two independent expressions. */
void