<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/94994>94994</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-repl value unit test fails on 32 bit Arm
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
DavidSpickett
</td>
</tr>
</table>
<pre>
Since https://github.com/llvm/llvm-project/pull/89811 landed one of the unit tests has been failing on Arm 32 bit:
```
******************** TEST 'Clang-Unit :: Interpreter/./ClangReplInterpreterTests/10/26' FAILED ********************
Script(shard):
--
GTEST_OUTPUT=json:/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests-Clang-Unit-2678467-10-26.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=26 GTEST_SHARD_INDEX=10 /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests
--
Script:
--
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests --gtest_filter=InterpreterTest.Value
--
../llvm/clang/unittests/Interpreter/InterpreterTest.cpp:293: Failure
Expected equality of these values:
V1.getInt()
Which is: 0
42
```
It does not fail on AArch64. It does fail under qemu emulation too, but with different results. Which points to some UB in the program.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzMVVGPozYQ_jXOywhkDCHwwAN3hF6kVa_aJNe-rQxMwLeOzdom2_v3lYHd7a0qVde-nGTJwh57vvk-zwe3VvQKsSDbD2RbbfjkBm2Kit9EdxxF-4jObRrdfSuOQrUIg3OjJXFJWE1Y3Qs3TE3Y6ithtZS3lykYjf6KrSOsHicpCauzPIsikFx12IFWCPoCbkCYlHDg0DoLA7fQICq4cCGF6kErKM0VYgaNcD4nrQgtSUrXsXyy_z7gtD-egLDdR8lVH5w9Fp8nLuGgHJrRoENDWB0SVs8x9zjKv22dPHDC6ogSVrOUsB3U5eFuX8H_gbUUdmyNGB1hmR246QjLXxkIgmX-xcN_-Hw-_XY-kbj6arValBn0FQmrXfvcB80kZNdoL8WzNo9zOe1cLjfXWxY8TaJ9JKy2jvcY-VNaS_sSRFjtFXJrnT_ASvDGacDSXZakuyCiAUtDjxMW7MdP57q-25O4ouvK6fOpvHs4firvqyOJK5a-Rpb31cPh12r_B4mriMJPUub3iqyavRfqJ8EKQdD7Yw8XIX14XL2LCL9wOeH32MPwrbX_Pf_7C9txJHHJ8tj3VM2FnMx6__7PEVuHHeDTxKVw31ZHsAg3j8K-sgjwJQp7dAflu8E3wroM8Psg2gGEjwX6spywfzSKg4NOowWl3ewws72Uph3SJISXzXljUh0aeMLrBHidJHdCK3BaE_YRmsnBs3ADdOJyQYPKgUE7SWfDFc2ohXIWnAarrwjnDyDUbHWj0b3h13DTFXGXxznfYBHtoozGUZZGm6FIWcw5o7jdNgmPsx1ts22ab7Nox_Nul102omCUJTSNaLSlSZSHPLrEO0R6YXwb0aYhCcUrFzL0goXa9Bth7YRFnuR5spG8QWlnp2ds1ZJ50zfFbNrN1FuSUCmss283OOEkFsv7NDjKRZ434545s57Nxai9Z28mI4sf_lXMWP2bWuDeCvZXAAAA__8vUhF3">