[flang-commits] [PATCH] D104731: [flang] [NFC] Repair build with GCC 7.3

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue Jun 22 11:34:11 PDT 2021


klausler created this revision.
klausler added a reviewer: mstorsjo.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
klausler requested review of this revision.

Work around two problems with GCC 7.3.
One is its inability to implement "constexpr operator=(...) = default;"
in a class with a std::optional<> component; another is a legitimate-
looking warning about an unused variable.


https://reviews.llvm.org/D104731

Files:
  flang/include/flang/Evaluate/type.h
  flang/lib/Evaluate/formatting.cpp
  flang/lib/Evaluate/type.cpp
  flang/lib/Semantics/check-declarations.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104731.353730.patch
Type: text/x-patch
Size: 4423 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20210622/c928faa2/attachment.bin>


More information about the flang-commits mailing list