Date: Thu, 1 Jun 2017 06:35:38 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r319378 - stable/11/lib/msun/tests Message-ID: <201706010635.v516ZcLh076923@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706010635.v516ZcLh076923>