summary refs log tree commit diff
path: root/soft-fp/getf2.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-10-12 12:21:04 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-10-12 12:21:04 +0000
commit98998e9f518e3b76c2bf63f825f930bd7f6486f1 (patch)
tree9ac82ed24f925dcf2228e284666ca7939de62f71 /soft-fp/getf2.c
parent8edc4a11cfbfd65a86696264f20e2d6d22edff54 (diff)
downloadglibc-98998e9f518e3b76c2bf63f825f930bd7f6486f1.tar.gz
glibc-98998e9f518e3b76c2bf63f825f930bd7f6486f1.tar.xz
glibc-98998e9f518e3b76c2bf63f825f930bd7f6486f1.zip
soft-fp: add missing FP_INIT_EXCEPTIONS and FP_INIT_ROUNDMODE calls.
Diffstat (limited to 'soft-fp/getf2.c')
-rw-r--r--soft-fp/getf2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/soft-fp/getf2.c b/soft-fp/getf2.c
index 705d48b905..d9cb26de07 100644
--- a/soft-fp/getf2.c
+++ b/soft-fp/getf2.c
@@ -37,6 +37,7 @@ CMPtype __getf2(TFtype a, TFtype b)
   FP_DECL_Q(A); FP_DECL_Q(B);
   CMPtype r;
 
+  FP_INIT_EXCEPTIONS;
   FP_UNPACK_RAW_Q(A, a);
   FP_UNPACK_RAW_Q(B, b);
   FP_CMP_Q(r, A, B, -2);