<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/64427>64427</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[libc++][test] std/containers/views/mdspan/mdspan/conversion.pass.cpp Fails on PowerPC targets
</td>
</tr>
<tr>
<th>Labels</th>
<td>
libc++
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
amy-kwan
</td>
</tr>
</table>
<pre>
This test was introduced in https://reviews.llvm.org/D154367.
Assertion seen:
```
Command Output (stdout):
--
$ ":" "COMPILED WITH"
$ "/home/amyk/llvm/community/build/bootstrap/stage1/build/./bin/clang++" "/home/amyk/llvm/community/llvm-project/libcxx/test/std/containers/views/mdspan/mdspan/conversion.pass.cpp" "-pthread" "--target=powerpc64le-unknown-linux-gnu" "-nostdinc++" "-I" "/home/amyk/llvm/community/build/bootstrap/stage1/build/include/c++/v1" "-I" "/home/amyk/llvm/community/build/bootstrap/stage1/build/include/powerpc64le-unknown-linux-gnu/c++/v1" "-I" "/home/amyk/llvm/community/llvm-project/libcxx/test/support" "-std=c++26" "-Werror" "-Wall" "-Wctad-maybe-unsupported" "-Wextra" "-Wshadow" "-Wundef" "-Wunused-template" "-Wno-unused-command-line-argument" "-Wno-attributes" "-Wno-pessimizing-move" "-Wno-noexcept-type" "-Wno-atomic-alignment" "-Wno-reserved-module-identifier" "-Wno-user-defined-literals" "-Wno-tautological-compare" "-Wsign-compare" "-Wunused-variable" "-Wunused-parameter" "-Wunreachable-code" "-Wno-unused-local-typedef" "-Wno-local-type-template-args" "-Wno-c++11-extensions" "-Wno-unknown-pragmas" "-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER" "-D_LIBCPP_ENABLE_EXPERIMENTAL" "-Werror=thread-safety" "-Wuser-defined-warnings" "-lc++experimental" "-nostdlib++" "-L" "/home/amyk/llvm/community/build/bootstrap/stage1/build/./lib/powerpc64le-unknown-linux-gnu" "-Wl,-rpath,/home/amyk/llvm/community/build/bootstrap/stage1/build/./lib/powerpc64le-unknown-linux-gnu" "-lc++" "-o" "/home/amyk/llvm/community/build/bootstrap/stage1/build/runtimes/runtimes-bins/test/std/containers/views/mdspan/mdspan/Output/conversion.pass.cpp.dir/t.tmp.exe"
$ ":" "EXECUTED AS"
$ "/usr/bin/python3.8" "/home/amyk/llvm/community/llvm-project/libcxx/test/../utils/run.py" "--execdir" "/home/amyk/llvm/community/build/bootstrap/stage1/build/runtimes/runtimes-bins/test/std/containers/views/mdspan/mdspan/Output/conversion.pass.cpp.dir" "--" "/home/amyk/llvm/community/build/bootstrap/stage1/build/runtimes/runtimes-bins/test/std/containers/views/mdspan/mdspan/Output/conversion.pass.cpp.dir/t.tmp.exe"
# command stderr:
t.tmp.exe: /home/amyk/llvm/community/llvm-project/libcxx/test/std/containers/views/mdspan/mdspan/conversion.pass.cpp:87: void test_conversion(FromMDS) [ToMDS = std::mdspan<const int, std::extents<int>, std::layout_left, conv_test_accessor_c<int, false, true, true, true>>, FromMDS = std::mdspan<int, std::extents<int>, std::layout_left, conv_test_accessor_nc<int, true, true>>]: Assertion `to_mds.data_handle() == from_mds.data_handle()' failed.
error: command failed with exit status: 250
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzUV1tv27gS_jX0iyBBonzLgx8UyzoNkLRGk4P2PBmUOLZ5SpECOfRlf_2CsiLbSRbtboPdLWBYJGeG882FHA6zVmwUwIyMbskoHzCHW21mrD6G3_ZMDUrNj7OnrbABgsVgz2wgFBrNXQU8ECrYIjaWpBmhBaGFgZ2AvY2k3NWRNhtCizwZDdPxJCJxTuLs9J9ZCwaFVoEFUF76RBzH3a-dznVdM8WDTw4bhwGhU4tcOyT0phcJw06UDgNCaQuE-tH808Py7n6RB1_unj54yhUbLba6BkILVh-_EVp4vIQWla5rpwQeCS1KJyT3X63RomENoYVFtoHkghj5sVBeVDK1IfS2_dEfVeKXwsbo_0OFfirK6nAgtP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