[flang-commits] [flang] d38915f - [flang] Fix windows bot after D125140
Jean Perier via flang-commits
flang-commits at lists.llvm.org
Mon May 9 06:24:40 PDT 2022
Author: Jean Perier
Date: 2022-05-09T15:24:14+02:00
New Revision: d38915ffebee403dd1786ad4e165100160529939
URL: https://github.com/llvm/llvm-project/commit/d38915ffebee403dd1786ad4e165100160529939
DIFF: https://github.com/llvm/llvm-project/commit/d38915ffebee403dd1786ad4e165100160529939.diff
LOG: [flang] Fix windows bot after D125140
The ifdef is not required in the header, common::int128_t is always
defined. The function declaration must be available in lowering
regardless of the host int128_t support.
Differential Revision: https://reviews.llvm.org/D125211
Added:
Modified:
flang/include/flang/Runtime/io-api.h
Removed:
################################################################################
diff --git a/flang/include/flang/Runtime/io-api.h b/flang/include/flang/Runtime/io-api.h
index 5bdede744aa39..eca378d71ab80 100644
--- a/flang/include/flang/Runtime/io-api.h
+++ b/flang/include/flang/Runtime/io-api.h
@@ -123,11 +123,9 @@ Cookie IONAME(BeginInternalFormattedInput)(const char *internal,
enum Iostat IONAME(CheckUnitNumberInRange64)(std::int64_t unit,
bool handleError, char *ioMsg = nullptr, std::size_t ioMsgLength = 0,
const char *sourceFile = nullptr, int sourceLine = 0);
-#ifdef __SIZEOF_INT128__
enum Iostat IONAME(CheckUnitNumberInRange128)(common::int128_t unit,
bool handleError, char *ioMsg = nullptr, std::size_t ioMsgLength = 0,
const char *sourceFile = nullptr, int sourceLine = 0);
-#endif
// External synchronous I/O initiation
Cookie IONAME(BeginExternalListOutput)(ExternalUnit = DefaultUnit,
More information about the flang-commits
mailing list