<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/64428>64428</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[libc++][test] std/ranges/range.factories/range.repeat.view/ctor.piecewise.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/D141699.
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/ranges/range.factories/range.repeat.view/ctor.piecewise.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/ranges/range.factories/range.repeat.view/Output/ctor.piecewise.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/ranges/range.factories/range.repeat.view/Output/ctor.piecewise.pass.cpp.dir" "--" "/home/amyk/llvm/community/build/bootstrap/stage1/build/runtimes/runtimes-bins/test/std/ranges/range.factories/range.repeat.view/Output/ctor.piecewise.pass.cpp.dir/t.tmp.exe"
# command stderr:
t.tmp.exe: /home/amyk/llvm/community/llvm-project/libcxx/test/std/ranges/range.factories/range.repeat.view/ctor.piecewise.pass.cpp:91: bool test(): Assertion `rv[0].x == 111' failed.
error: command failed with exit status: 250
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzcV1tv2zoS_jX0CyHBonzTgx8cy94GSFqjyaLdJ4MSxzK3FCmQQ1_21y9oK7Kd9KA9aHDOQQEjIYdDzsw3o7lw52SlAaZkeEeGeY973Bo75fUx-rbnulcYcZw-b6WjCA7pnjsqNVojfAmCSk23iI0j6YywJWFLCzsJexcrtatjYyvClnkySEZZFpN-Tvqz89-Zc2BRGk0dgA63z4ejfvs7beemrrkW9JPHxiMlbOJQGI-EZd2VKGqvsgEljJ0UYWE1__S4un9Y5PTL_fOHcHLDxpZbUwNhS14fvxG2DPoStixNXXst8UjYsvBSifDfGHRoeUPY0iGvILk6jMNa6nBVcV0Rdnf6sZ8VEkhRY81_ocSwlUV5OBC2DGCf5AUhlusK3Msi3vASjZVXFAsNcIwD9OF9NDZuJJSwlw7ihjsXl03TahU1uLXAxcs2Qm4rQJLmjdmDbc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