diff options
author | David Truby <david.truby@arm.com> | 2024-10-16 14:49:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-16 14:49:30 +0100 |
commit | 91b5bef358e6763c5e18e34b1bc37e64114b3e04 (patch) | |
tree | 4cac79cc2fe0d1c074846254fdf5ce94d869a558 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | ab2b17512cda90305d5bea77b8e8fa119ab78f25 (diff) | |
download | llvm-91b5bef358e6763c5e18e34b1bc37e64114b3e04.zip llvm-91b5bef358e6763c5e18e34b1bc37e64114b3e04.tar.gz llvm-91b5bef358e6763c5e18e34b1bc37e64114b3e04.tar.bz2 |
[flang] Tighten requirements on some glibc float128 functions (#110651)
j0l, j1l, jnl, y0l, y1l and ynl are glibc extensions rather than
standard POSIX functions, and so are not available in every Linux libc.
This patch checks if `__GLIBC__` and `_GNU_SOURCE` are defined before
using
these functions.
This patch allows the float128 runtime to build with musl libc on Linux.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions