From 1ff950ad20111b591ad1312df4d802de9d1f1b1e Mon Sep 17 00:00:00 2001 From: Chris Metcalf Date: Tue, 30 Dec 2014 14:11:13 -0500 Subject: 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. --- ChangeLog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 5780c3a..d6c2d28 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2014-12-30 Chris Metcalf + + * math/test-fenv.c (test_single_exception, set_single_exc, + feenv_nomask_test, feenv_mask_test, feexcp_nomask_test, + feexcp_mask_test, feenable_test, fe_single_test): Add + [!FE_ALL_EXCEPT] test so these routines are not compiled in the + case where they are not used. + * math/libm-test.inc: Likewise. + * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable + unused in the absence of FP rounding/exception support. + * stdio-common/tst-printf-round.c: Likewise. + * stdlib/tst-strtod-round.c: Likewise. + * stdlib/tst-strtod-underflow.c: Likewise. + 2014-12-30 Joseph Myers [BZ #17723] -- cgit v1.1