[all-commits] [llvm/llvm-project] a9795b: [flang] Disable -Wmaybe-uninitialized for GCC

Tim Keith via All-commits all-commits at lists.llvm.org
Tue Aug 11 07:20:49 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a9795b6f639f976e2d6f690066c61f890eed534f
      https://github.com/llvm/llvm-project/commit/a9795b6f639f976e2d6f690066c61f890eed534f
  Author: Tim Keith <tkeith at nvidia.com>
  Date:   2020-08-11 (Tue, 11 Aug 2020)

  Changed paths:
    M flang/CMakeLists.txt

  Log Message:
  -----------
  [flang] Disable -Wmaybe-uninitialized for GCC

According to llvm/cmake/config-ix.cmake, gcc's potentially uninitialized
use analysis has lots of false positives. We are encountering one in
flang/lib/Lower/CharacterExpr.cpp.

That warning is disabled for gcc in in-tree builds; this does the same
thing for out-of-tree builds.

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




More information about the All-commits mailing list