[flang-commits] [PATCH] D114296: [flang] Correct the argument keyword for AIMAG(Z=...)

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Mon Nov 22 16:13:39 PST 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rGbb0d8e4bd9bc: [flang] Correct the argument keyword for AIMAG(Z=...) (authored by klausler).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114296/new/

https://reviews.llvm.org/D114296

Files:
  flang/lib/Evaluate/intrinsics.cpp


Index: flang/lib/Evaluate/intrinsics.cpp
===================================================================
--- flang/lib/Evaluate/intrinsics.cpp
+++ flang/lib/Evaluate/intrinsics.cpp
@@ -281,7 +281,7 @@
     {"acosh", {{"x", SameFloating}}, SameFloating},
     {"adjustl", {{"string", SameChar}}, SameChar},
     {"adjustr", {{"string", SameChar}}, SameChar},
-    {"aimag", {{"x", SameComplex}}, SameReal},
+    {"aimag", {{"z", SameComplex}}, SameReal},
     {"aint", {{"a", SameReal}, MatchingDefaultKIND}, KINDReal},
     {"all", {{"mask", SameLogical, Rank::array}, OptionalDIM}, SameLogical,
         Rank::dimReduced, IntrinsicClass::transformationalFunction},


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114296.389062.patch
Type: text/x-patch
Size: 670 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20211123/ea6c8d54/attachment-0001.bin>


More information about the flang-commits mailing list