[flang-commits] [flang] fb5c289 - fix
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Thu Oct 6 15:22:45 PDT 2022
Author: Peter Klausler
Date: 2022-10-06T15:22:30-07:00
New Revision: fb5c2899d162e039fc92d74e8cc7706156c8173f
URL: https://github.com/llvm/llvm-project/commit/fb5c2899d162e039fc92d74e8cc7706156c8173f
DIFF: https://github.com/llvm/llvm-project/commit/fb5c2899d162e039fc92d74e8cc7706156c8173f.diff
LOG: fix
Added:
Modified:
flang/runtime/type-info.cpp
Removed:
################################################################################
diff --git a/flang/runtime/type-info.cpp b/flang/runtime/type-info.cpp
index 7413ad0fd981..ecc2bf9e28d9 100644
--- a/flang/runtime/type-info.cpp
+++ b/flang/runtime/type-info.cpp
@@ -127,7 +127,6 @@ void Component::CreatePointerDescriptor(Descriptor &descriptor,
EstablishDescriptor(descriptor, container, terminator);
if (subscripts) {
descriptor.set_base_addr(container.Element<char>(subscripts) + offset_);
- descriptor.raw().rank = 0;
} else {
descriptor.set_base_addr(container.OffsetElement<char>() + offset_);
}
More information about the flang-commits
mailing list