[flang-commits] [PATCH] D158957: [flang][runtime] Avoid dependency on libc++ for `std::__libcpp_verbose_abort`

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri Sep 1 11:10:27 PDT 2023


klausler added a comment.

In D158957#4634925 <https://reviews.llvm.org/D158957#4634925>, @mstorsjo wrote:

> The quoted patch doesn't make any difference.
>
> I tested compiling `flang/runtime/edit-output.cpp` with `-S -emit-llvm`, and there are references to `std::__1::__throw_bad_variant_access` in e.g. `Fortran::runtime::io::EditIntegerOutput<1>(Fortran::runtime::io::IoStatementState&, Fortran::runtime::io::DataEdit const&, Fortran::common::HostSignedIntTypeHelper<(8)*(1)>::type)`. Didn't try to look up which use in the runtime source this maps to though.

Thanks for checking.  It's too bad it didn't clear it up.  I'll look at the integer output formatting routine and see whether anything stands out.


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

https://reviews.llvm.org/D158957



More information about the flang-commits mailing list