summaryrefslogtreecommitdiff
path: root/test/setjmp
diff options
context:
space:
mode:
Diffstat (limited to 'test/setjmp')
-rw-r--r--test/setjmp/jmpbug.c1
-rw-r--r--test/setjmp/sigjmpbug.c1
-rw-r--r--test/setjmp/tst-setjmp.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/test/setjmp/jmpbug.c b/test/setjmp/jmpbug.c
index 4337e527a..da087a724 100644
--- a/test/setjmp/jmpbug.c
+++ b/test/setjmp/jmpbug.c
@@ -7,6 +7,7 @@
int ret;
int verbose;
+__attribute__ ((__noreturn__))
static void
sub5 (jmp_buf buf)
{
diff --git a/test/setjmp/sigjmpbug.c b/test/setjmp/sigjmpbug.c
index 8c3be1cee..5b1718185 100644
--- a/test/setjmp/sigjmpbug.c
+++ b/test/setjmp/sigjmpbug.c
@@ -7,6 +7,7 @@
int ret;
int verbose;
+__attribute__ ((__noreturn__))
static void
sub5 (jmp_buf buf)
{
diff --git a/test/setjmp/tst-setjmp.c b/test/setjmp/tst-setjmp.c
index 35d9638ad..f0feb99a8 100644
--- a/test/setjmp/tst-setjmp.c
+++ b/test/setjmp/tst-setjmp.c
@@ -23,6 +23,7 @@
static jmp_buf env;
static int last_value = -1, lose = 0;
+__attribute__ ((__noreturn__))
static void
jump (int val)
{