Index: flang/lib/Evaluate/intrinsics-library.cpp =================================================================== --- flang/lib/Evaluate/intrinsics-library.cpp +++ flang/lib/Evaluate/intrinsics-library.cpp @@ -295,6 +295,7 @@ /// Define libm extensions /// Bessel functions are defined in POSIX.1-2001. +#ifndef _AIX template <> struct HostRuntimeLibrary { using F = FuncPointer; using FN = FuncPointer; @@ -309,6 +310,7 @@ static constexpr HostRuntimeMap map{table}; static_assert(map.Verify(), "map must be sorted"); }; +#endif template <> struct HostRuntimeLibrary { using F = FuncPointer;