diff --git a/flang/lib/Evaluate/intrinsics-library.cpp b/flang/lib/Evaluate/intrinsics-library.cpp --- a/flang/lib/Evaluate/intrinsics-library.cpp +++ b/flang/lib/Evaluate/intrinsics-library.cpp @@ -295,6 +295,8 @@ /// Define libm extensions /// Bessel functions are defined in POSIX.1-2001. +// Remove float bessel funcitons for AIX as they are not supported +#ifndef _AIX template <> struct HostRuntimeLibrary { using F = FuncPointer; using FN = FuncPointer; @@ -309,6 +311,7 @@ static constexpr HostRuntimeMap map{table}; static_assert(map.Verify(), "map must be sorted"); }; +#endif template <> struct HostRuntimeLibrary { using F = FuncPointer;