[Bug math/32694] wrong clang version 3.4 prereq checks in bits/floatn.h for __float128 support, should be 3.9
cvs-commit at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Sun Feb 23 05:43:59 GMT 2025
https://sourceware.org/bugzilla/show_bug.cgi?id=32694
--- Comment #5 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The release/2.41/master branch has been updated by H.J. Lu
<hjl@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2cb04444b934e000a4e36c1876ef2bf03dd80d66
commit 2cb04444b934e000a4e36c1876ef2bf03dd80d66
Author: koraynilay <koray.fra@gmail.com>
Date: Sat Feb 22 15:55:59 2025 +0100
math: Fix `unknown type name '__float128'` for clang 3.4 to 3.8.1 (bug
32694)
When compiling a program that includes <bits/floatn.h> using a clang
version
between 3.4 (included) and 3.8.1 (included), clang will fail with `unknown
type
name '__float128'; did you mean '__cfloat128'?`. This changes fixes the
clang
prerequirements macro call in floatn.h to check for clang 3.9 instead of
3.4,
since support for __float128 was actually enabled in 3.9 by:
commit 50f29e06a1b6a38f0bba9360cbff72c82d46cdd4
Author: Nemanja Ivanovic <nemanja.i.ibm@gmail.com>
Date: Wed Apr 13 09:49:45 2016 +0000
Enable support for __float128 in Clang
This fixes bug 32694.
Signed-off-by: koraynilay <koray.fra@gmail.com>
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
(cherry picked from commit 29803ed3ce420f01e7c567c97fc8945d5e5e5992)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list