From d95fe8017d40a6f0df671fd3e6a5fdc5b1d5319d Mon Sep 17 00:00:00 2001 From: James Greenhalgh Date: Thu, 1 Dec 2016 15:33:29 +0000 Subject: [PATCH] [Patch testsuite obvious] Use setjmp, not sigsetjmp in gcc.dg/pr78582.c gcc/testsuite/ * gcc.dg/pr78582.c (main): Call setjmp, not sigsetjmp. From-SVN: r243116 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/pr78582.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 447d9fb4b4d..2a04091bf4b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-12-01 James Greenhalgh + + * gcc.dg/pr78582.c (main): Call setjmp, not sigsetjmp. + 2016-12-01 Richard Biener * gcc.dg/torture/alias-2.c: New testcase. diff --git a/gcc/testsuite/gcc.dg/pr78582.c b/gcc/testsuite/gcc.dg/pr78582.c index 3084e3b4bda..5284e3ffbec 100644 --- a/gcc/testsuite/gcc.dg/pr78582.c +++ b/gcc/testsuite/gcc.dg/pr78582.c @@ -10,7 +10,7 @@ int main (int argc, char argv, char env) { int a; - sigsetjmp (0, 0); + setjmp (0); argc = a = argc; reader_loop (); -- 2.30.2