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.16-ports-merge-845-g8212326


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  82123268ac12b7e37c04ea6347a555f679f95704 (commit)
      from  d981452619691984caff7a6f8024acc82f1a6f78 (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://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=82123268ac12b7e37c04ea6347a555f679f95704

commit 82123268ac12b7e37c04ea6347a555f679f95704
Author: Chris Metcalf <cmetcalf@tilera.com>
Date:   Thu Dec 6 10:42:06 2012 -0500

    Fix warnings from generic _FPU_GETCW

diff --git a/ChangeLog b/ChangeLog
index 5375211..36b2bb0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
+
+	* sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
+	0, not just to plain "0" as a statement.
+	(_FPU_SETCW): Define to (void) (cw), rather than doing nothing
+	with cw.
+
 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
 
 	* NEWS: Use sourceware.org in Bugzilla URL.
diff --git a/sysdeps/generic/fpu_control.h b/sysdeps/generic/fpu_control.h
index b9134eb..5039052 100644
--- a/sysdeps/generic/fpu_control.h
+++ b/sysdeps/generic/fpu_control.h
@@ -1,5 +1,5 @@
 /* FPU control word definitions.  Stub version.
-   Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -29,8 +29,8 @@
 typedef unsigned int fpu_control_t;
 
 /* Macros for accessing the hardware control word.  */
-#define _FPU_GETCW(cw) 0
-#define _FPU_SETCW(cw) do { } while (0)
+#define _FPU_GETCW(cw) (cw) = 0
+#define _FPU_SETCW(cw) (void) (cw)
 
 /* Default control word set at startup.  */
 extern fpu_control_t __fpu_control;

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

Summary of changes:
 ChangeLog                     |    7 +++++++
 sysdeps/generic/fpu_control.h |    6 +++---
 2 files changed, 10 insertions(+), 3 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]