From 75413d4928d6b3cf4602e9251855b3fc53730abd Mon Sep 17 00:00:00 2001 From: Chris Metcalf Date: Fri, 10 Jul 2015 16:11:40 -0400 Subject: math/test-fenvinline: avoid compiler warning On tile (and any other machine with no FP exceptions) the feenable_test() function will generate a "function defined but not used" warning because all of the callers are commented out. We already were ifdef'ing out the body of the function, so instead just ifdef out the entire function if FE_ALL_EXCEPT == 0. --- ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 0c7fc2ca92..8188ee3a20 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-07-10 Chris Metcalf + + * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]: + Comment out the whole function, not just its body. + 2015-07-10 Siddhesh Poyarekar * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex -- cgit 1.4.1