svn commit: r319378 - stable/11/lib/msun/tests
Ngie Cooper
ngie at FreeBSD.org
Thu Jun 1 06:35:39 UTC 2017
Author: ngie
Date: Thu Jun 1 06:35:37 2017
New Revision: 319378
URL: https://svnweb.freebsd.org/changeset/base/319378
Log:
MFC r319157:
fma_test: mute a warning about unreachable code on amd64 by restructuring
the #ifdef block to only handle the rest of the logic in the loop in the
#else case.
CID: 1346844
Modified:
stable/11/lib/msun/tests/fma_test.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/lib/msun/tests/fma_test.c
==============================================================================
--- stable/11/lib/msun/tests/fma_test.c Thu Jun 1 06:34:35 2017 (r319377)
+++ stable/11/lib/msun/tests/fma_test.c Thu Jun 1 06:35:37 2017 (r319378)
@@ -498,11 +498,12 @@ main(void)
printf("ok %d # SKIP testcase fails assertion on "
"amd64\n", j);
continue;
-#endif
+#else
printf("rmode = %d\n", rmodes[i]);
fesetround(rmodes[i]);
test_infinities();
printf("ok %d - fma infinities\n", j);
+#endif
}
fesetround(FE_TONEAREST);
More information about the svn-src-stable-11
mailing list