[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
Fri Nov 19 16:04:33 PST 2021


klausler created this revision.
klausler added a reviewer: Renaud-K.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
klausler requested review of this revision.

It was X= in the intrinsics table.


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.388659.patch
Type: text/x-patch
Size: 670 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20211120/fee1e772/attachment-0001.bin>


More information about the flang-commits mailing list