[flang-commits] [flang] 511ac6f - [flang] Silence new build warning
peter klausler via flang-commits
flang-commits at lists.llvm.org
Mon Aug 9 11:57:54 PDT 2021
Author: peter klausler
Date: 2021-08-09T11:57:45-07:00
New Revision: 511ac6f8b4a0ca0178104bc57e960a846f4867b3
URL: https://github.com/llvm/llvm-project/commit/511ac6f8b4a0ca0178104bc57e960a846f4867b3
DIFF: https://github.com/llvm/llvm-project/commit/511ac6f8b4a0ca0178104bc57e960a846f4867b3.diff
LOG: [flang] Silence new build warning
Some build environments complain about unused data members in some
C++ translations of Fortran derived types; those members don't really
need to be present, so remove them.
Fix pushed w/o review to get build bots running again.
Added:
Modified:
flang/runtime/type-info.h
Removed:
################################################################################
diff --git a/flang/runtime/type-info.h b/flang/runtime/type-info.h
index ef28536a03d4b..4e9a100fe8d75 100644
--- a/flang/runtime/type-info.h
+++ b/flang/runtime/type-info.h
@@ -175,7 +175,6 @@ class SpecialBinding {
// When false, the user derived type I/O subroutine must have been
// called via a generic interface, not a generic TBP.
std::uint8_t isArgDescriptorSet_{0};
- std::uint8_t __padding0_[6];
ProcedurePointer proc_{nullptr};
};
@@ -282,7 +281,6 @@ class DerivedType {
bool noInitializationNeeded_{false};
bool noDestructionNeeded_{false};
bool noFinalizationNeeded_{false};
- bool __padding0_[4];
};
} // namespace Fortran::runtime::typeInfo
More information about the flang-commits
mailing list