[all-commits] [llvm/llvm-project] e3b2f1: [flang] [NFC] Repair build with GCC 7.3

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Jun 22 13:52:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3b2f1b6823f4f06da222545857809e6ee7962b6
      https://github.com/llvm/llvm-project/commit/e3b2f1b6823f4f06da222545857809e6ee7962b6
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-06-22 (Tue, 22 Jun 2021)

  Changed paths:
    M flang/include/flang/Evaluate/type.h
    M flang/lib/Evaluate/formatting.cpp
    M flang/lib/Evaluate/type.cpp
    M flang/lib/Semantics/check-declarations.cpp

  Log Message:
  -----------
  [flang] [NFC] Repair build with GCC 7.3

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.

Differential Revision: https://reviews.llvm.org/D104731




More information about the All-commits mailing list