[all-commits] [llvm/llvm-project] 9e53e7: [flang] Fix warnings from more recent GCCs (#106567)

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Sep 4 10:53:13 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e53e77265769f1916d8c4fd8ed8263798e8e815
      https://github.com/llvm/llvm-project/commit/9e53e77265769f1916d8c4fd8ed8263798e8e815
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-09-04 (Wed, 04 Sep 2024)

  Changed paths:
    M flang/include/flang/Evaluate/integer.h
    M flang/include/flang/Runtime/descriptor.h
    M flang/lib/Lower/ConvertExpr.cpp
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/lib/Semantics/tools.cpp
    M flang/unittests/Runtime/Reduction.cpp
    M flang/unittests/Runtime/Transformational.cpp

  Log Message:
  -----------
  [flang] Fix warnings from more recent GCCs (#106567)

While experimenting with some more recent C++ features, I ran into
trouble with warnings from GCC 12.3.0 and 14.2.0. These warnings looked
legitimate, so I've tweaked the code to avoid them.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list