This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.17-831-gb8c792a


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  b8c792af85fe3ff65c0cd68e2f291072a60cd953 (commit)
      from  c91e0825251b4f57e8ce1d9d4673bee6e279e0cd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=b8c792af85fe3ff65c0cd68e2f291072a60cd953

commit b8c792af85fe3ff65c0cd68e2f291072a60cd953
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Jun 20 19:11:34 2013 +0000

    Allow fesetround failures in math/test-misc.c if ROUNDING_TESTS fails.

diff --git a/ChangeLog b/ChangeLog
index 67ccca5..314a563 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
 
+	* math/test-misc.c (main): Ignore fesetround failure when failures
+	of subsequent rounding tests would be ignored.
+
 	[BZ #15654]
 	* math/fedisblxcpt.c (fedisableexcept): Return 0.
 	* math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
diff --git a/math/test-misc.c b/math/test-misc.c
index 390415a..27d673b 100644
--- a/math/test-misc.c
+++ b/math/test-misc.c
@@ -1295,7 +1295,11 @@ main (void)
 	  if (fesetround (mode))
 	    {
 	      printf ("failed to set rounding mode to %s\n", mstr);
-	      result = 1;
+	      if (ROUNDING_TESTS (long double, mode)
+		  && ROUNDING_TESTS (double, mode))
+		result = 1;
+	      else
+		puts ("ignoring this failure");
 	      break;
 	    }
 	  d5 = ld5 * i;

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog        |    3 +++
 math/test-misc.c |    6 +++++-
 2 files changed, 8 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]