From owner-svn-src-head@freebsd.org Sun Dec 20 04:42:56 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C73A3A40760; Sun, 20 Dec 2015 04:42:56 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9427710AE; Sun, 20 Dec 2015 04:42:56 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tBK4gtDl086416; Sun, 20 Dec 2015 04:42:55 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBK4gtEq086415; Sun, 20 Dec 2015 04:42:55 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201512200442.tBK4gtEq086415@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Garrett Cooper Date: Sun, 20 Dec 2015 04:42:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r292495 - head/tools/regression/lib/msun X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Dec 2015 04:42:56 -0000 Author: ngie Date: Sun Dec 20 04:42:55 2015 New Revision: 292495 URL: https://svnweb.freebsd.org/changeset/base/292495 Log: Initialize j so it doesn't print out a garbage index Use it consistently instead of i in the first loop MFC after: 3 days X-MFC with: 292492 Sponsored by: EMC / Isilon Storage Division Modified: head/tools/regression/lib/msun/test-fma.c Modified: head/tools/regression/lib/msun/test-fma.c ============================================================================== --- head/tools/regression/lib/msun/test-fma.c Sun Dec 20 04:41:17 2015 (r292494) +++ head/tools/regression/lib/msun/test-fma.c Sun Dec 20 04:42:55 2015 (r292495) @@ -482,13 +482,15 @@ main(int argc, char *argv[]) exit(0); #endif + j = 1; + printf("1..19\n"); for (i = 0; i < nitems(rmodes); i++, j++) { printf("rmode = %d\n", rmodes[i]); fesetround(rmodes[i]); test_zeroes(); - printf("ok %d - fma zeroes\n", i + 1); + printf("ok %d - fma zeroes\n", j); } for (i = 0; i < nitems(rmodes); i++, j++) {