[flang-commits] [PATCH] D125211: [flang] Fix windows bot after D125140

Jean Perier via Phabricator via flang-commits flang-commits at lists.llvm.org
Mon May 9 01:29:14 PDT 2022


jeanPerier created this revision.
jeanPerier added reviewers: rovka, kiranchandramohan, peixin, schweitz.
jeanPerier added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a project: All.
jeanPerier requested review of this revision.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125211

Files:
  flang/include/flang/Runtime/io-api.h


Index: flang/include/flang/Runtime/io-api.h
===================================================================
--- flang/include/flang/Runtime/io-api.h
+++ flang/include/flang/Runtime/io-api.h
@@ -123,11 +123,9 @@
 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,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125211.428001.patch
Type: text/x-patch
Size: 764 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220509/43b4635d/attachment.bin>


More information about the flang-commits mailing list