mizvekov added a comment. In D111283#3786610 <https://reviews.llvm.org/D111283#3786610>, @vhscampos wrote:
> For reference, another small reproducer of the crash, but with a different > stack trace than the first example posted here: > > // Must compile with -std=c++03 to crash > #include <algorithm> > > int main(int, char**) > { > int i[3] = {1, 2, 3}; > int j[3] = {4, 5, 6}; > std::swap(i, j); > > return 0; > } > > Compile with -std=c++03 to reproduce the assertion failure. > We found it by running the libcxx tests. Thanks. Is this a different crash, or is It the same unreachable firing as the one @alexfh reported? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D111283/new/ https://reviews.llvm.org/D111283 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits