Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jun 2017 06:35:40 +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-10@freebsd.org
Subject:   svn commit: r319379 - stable/10/lib/msun/tests
Message-ID:  <201706010635.v516ZeUN076970@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Thu Jun  1 06:35:40 2017
New Revision: 319379
URL: https://svnweb.freebsd.org/changeset/base/319379

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/10/lib/msun/tests/fma_test.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/lib/msun/tests/fma_test.c
==============================================================================
--- stable/10/lib/msun/tests/fma_test.c	Thu Jun  1 06:35:37 2017	(r319378)
+++ stable/10/lib/msun/tests/fma_test.c	Thu Jun  1 06:35:40 2017	(r319379)
@@ -498,11 +498,12 @@ main(int argc, char *argv[])
 		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.v516ZeUN076970>