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.26.9000-820-g01e659e


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  01e659e71123290472b691ff94e7ba10e1f25031 (commit)
      from  5c60afdd675bc530039a631501fae3db0cce1e7e (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=01e659e71123290472b691ff94e7ba10e1f25031

commit 01e659e71123290472b691ff94e7ba10e1f25031
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Nov 24 21:22:34 2017 +0000

    Fix gen-tgmath-tests.py for _Float64, _Float64x testing.
    
    math/gen-tgmath-tests.py was missing a create_type argument when
    creating the internal types for combinations of long double with
    _Float64 and _Float64x, so resulting in output that did not compile
    when glibc support for those types was enabled.  This patch adds the
    missing argument so that the tests properly compile in that case.
    
    Tested for x86_64, including in conjunction with _Float64x support
    patches.
    
    	* math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
    	for combinations of long double with _Float64 and _Float64x.

diff --git a/ChangeLog b/ChangeLog
index 70e9a00..2a65383 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2017-11-24  Joseph Myers  <joseph@codesourcery.com>
 
+	* math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
+	for combinations of long double with _Float64 and _Float64x.
+
 	* bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
 	(__DECL_SIMD_cosf32): Likewise.
 	(__DECL_SIMD_cosf64): Likewise.
diff --git a/math/gen-tgmath-tests.py b/math/gen-tgmath-tests.py
index 88307a7..55e9acc 100755
--- a/math/gen-tgmath-tests.py
+++ b/math/gen-tgmath-tests.py
@@ -203,11 +203,11 @@ class Type(object):
         # Internal types represent the combination of long double with
         # _Float64 or _Float64x, for which the ordering depends on
         # whether long double has the same format as double.
-        Type.create_type('long_double_Float64', 'LDBL_MANT_DIG',
+        Type.create_type('long_double_Float64', None, 'LDBL_MANT_DIG',
                          complex_name='complex_long_double_Float64',
                          condition='defined HUGE_VAL_F64', order=(6, 7),
                          internal=True)
-        Type.create_type('long_double_Float64x', 'FLT64X_MANT_DIG',
+        Type.create_type('long_double_Float64x', None, 'FLT64X_MANT_DIG',
                          complex_name='complex_long_double_Float64x',
                          condition='defined HUGE_VAL_F64X', order=(7, 7),
                          internal=True)

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

Summary of changes:
 ChangeLog                |    3 +++
 math/gen-tgmath-tests.py |    4 ++--
 2 files changed, 5 insertions(+), 2 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]