[flang-commits] [PATCH] D106820: [flang] Fix runtime ICE with maxloc and scalar result
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Mon Jul 26 12:41:25 PDT 2021
klausler added inline comments.
================
Comment at: flang/runtime/reduction-templates.h:209
+ result.GetLowerBounds(at);
INTERNAL_CHECK(at[0] == 1);
using CppType = CppTypeFor<CAT, KIND>;
----------------
`INTERNAL_CHECK(result.rank() == 0 || at[0] == 1);`
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106820/new/
https://reviews.llvm.org/D106820
More information about the flang-commits
mailing list