Skip to content

Commit

Permalink
[flang] Silence new build warning
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
klausler committed Aug 9, 2021
1 parent 9b74924 commit 511ac6f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions flang/runtime/type-info.h
Expand Up @@ -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};
};
Expand Down Expand Up @@ -282,7 +281,6 @@ class DerivedType {
bool noInitializationNeeded_{false};
bool noDestructionNeeded_{false};
bool noFinalizationNeeded_{false};
bool __padding0_[4];
};

} // namespace Fortran::runtime::typeInfo
Expand Down

0 comments on commit 511ac6f

Please sign in to comment.