]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Remove unecessary and broken MC/DC compile test
authorJørgen Kvalsvik <j@lambda.is>
Fri, 5 Apr 2024 14:01:14 +0000 (16:01 +0200)
committerJørgen Kvalsvik <j@lambda.is>
Sat, 6 Apr 2024 11:08:56 +0000 (13:08 +0200)
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.

gcc/testsuite/gcc.misc-tests/gcov-19.c

index 17f1fb4e9230b075eddce72ae51d42f514a59301..b83a38531ba363044f3691b48d0fd626788e4edf 100644 (file)
@@ -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