[PATCH] D142279: [cmake] Use LLVM_ENABLE_ASSERTIONS to enable assertions in libstdc++

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 26 02:47:32 PST 2023


foad added subscribers: jeanPerier, clementval, vzakhari.
foad added a comment.

In D142279#4072070 <https://reviews.llvm.org/D142279#4072070>, @foad wrote:

> @sscalpone could you help look at the flang failures? On my own machine with a Release+Asserts build I see:
>
>   Failed Tests (10):
>     Flang :: Fir/non-trivial-procedure-binding-description.f90
>     Flang :: HLFIR/no_reassoc-codegen.fir
>     Flang :: Lower/OpenMP/omp-parallel-lastprivate-clause-scalar.f90
>     Flang :: Lower/allocatable-assignment.f90
>     Flang :: Lower/array-expression.f90
>     Flang :: Lower/forall/character-1.f90
>     Flang :: Runtime/no-cpp-dep.c
>     Flang :: Semantics/OpenACC/acc-canonicalization-validity.f90
>     flang-Unit :: Frontend/./FlangFrontendTests/5/7
>     flang-Unit :: Frontend/./FlangFrontendTests/6/7

@vzakhari @clementval @jeanPerier could any of you help look at these Flang failures please? If you use libstdc++ you should be able to reproduce them in a Debug build (or a Release build with LLVM_ENABLE_ASSERTIONS=ON) by setting CMAKE_CXX_FLAGS=-D_GLIBCXX_ASSERTIONS.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142279/new/

https://reviews.llvm.org/D142279



More information about the llvm-commits mailing list