aboutsummaryrefslogtreecommitdiff
path: root/setjmp
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@ezchip.com>2014-12-30 14:11:13 -0500
committerChris Metcalf <cmetcalf@ezchip.com>2014-12-30 14:11:13 -0500
commit1ff950ad20111b591ad1312df4d802de9d1f1b1e (patch)
tree6634ad2285443326d46d32a27f5d0d568ea5452e /setjmp
parentMention i386 memcpy with SSE2 unaligned load/store (diff)
downloadglibc-1ff950ad20111b591ad1312df4d802de9d1f1b1e.tar.gz
glibc-1ff950ad20111b591ad1312df4d802de9d1f1b1e.tar.bz2
glibc-1ff950ad20111b591ad1312df4d802de9d1f1b1e.zip
Fix some warnings in the absence of FP round/exception support
Due to tile missing a bunch of FP exception and rounding support, the tests generate warnings. These changes fix the warnings by just not compiling some unused functions, and adding some attribute ((unused)) tags.
Diffstat (limited to 'setjmp')
-rw-r--r--setjmp/tst-setjmp-fp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/setjmp/tst-setjmp-fp.c b/setjmp/tst-setjmp-fp.c
index d84c47ed5c..8cdb5356a1 100644
--- a/setjmp/tst-setjmp-fp.c
+++ b/setjmp/tst-setjmp-fp.c
@@ -22,7 +22,7 @@
#include <stdio.h>
#include <stdlib.h>
-static jmp_buf env;
+static jmp_buf __attribute__ ((unused)) env;
static int result = 0;
#if defined FE_TONEAREST && defined FE_TOWARDZERO