[flang-commits] [flang] [flang] Add ability to have special allocator for descriptor data (PR #100690)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Fri Jul 26 08:35:46 PDT 2024


================
@@ -50,7 +51,9 @@ RT_API_ATTRS void Descriptor::Establish(TypeCode t, std::size_t elementBytes,
       GetDimension(j).SetByteStride(0);
     }
   }
-  raw_.f18Addendum = addendum;
+  if (addendum) {
+    raw_.extra = raw_.extra | 1;
----------------
klausler wrote:

Please abstract this part into a member function that does `raw_.extra |= 1`.

https://github.com/llvm/llvm-project/pull/100690


More information about the flang-commits mailing list