<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/153396>153396</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[LTO] Failed tests in llvm-test-suite when lto enabled using clang22
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
zhaoqi5
</td>
</tr>
</table>
<pre>
Clang version:
```
clang version 22.0.0git (https://github.com/llvm/llvm-project.git d13341db26fde0cb9764222f6d36db8b786d6119)
Target: x86_64-unknown-linux-gnu
Thread model: posix
```
Compile flags:
```
-O3 -flto=auto -fuse-ld=lld
```
Results:
```
Failed Tests (3):
test-suite :: MultiSource/UnitTests/Float/rounding/rounding.test
test-suite :: SingleSource/Regression/C/gcc-c-torture/execute/GCC-C-execute-pr17377.test
test-suite :: SingleSource/UnitTests/Float/classify.test
Total Discovered Tests: 2461
Passed: 2458 (99.88%)
Failed: 3 (0.12%)
```
Without lto, all tests pass.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUU01v2zgU_DXUhZAgPerzoIPXhvayixRJih4LSnyS2NKkyw_H6a8vqDhpkOTQAgZMk_PGnBkOd04uGrEn1T-kOiQ8-NXY_ufKzQ9ZJaMRj_1ecb3QM1onjSZsR_IdqfPrJ99Nr48pQJZn-SI9JdCu3p9cnICBwLBIv4Yxm8yRwKDU-fkrPVnzDSefxSlRMFYWYoR6FphPY9fUJQDMtWC1GNuxaWtRF0VHoCP57p7bBT1hO3pp6691mQb9XZsHnSqpwyVddIig1SIX9GgEqgg9GScvb0SQfLc3x5NUSGfFF_deZnrDaDorbwg78OANTefgMFWCsINS4j3fLbqg_AdMA5cKBb1H5110iUUtG4pSj86nLkiPNG6xHf0_KC_vTLATEhg-a-m3QQLDoAz3BAZrghZSL6-WWeSJhO_57qReFL4Q3uJi0W3JwrCPKU1TOqXeWB9sBOAFp-Dj6t_9Pt2n19_pyRYNa5o__6ePrj6p-ADnx2eWmJbxXNGDdJM5o332KfJBWRebSZ-4cyietqo2Wth1WdsSqJ5eBaVPFkcEpZRFRJ4V8AJ4k9QX6VcTPI3hwp5ypTY1jp64c1kieiY61vEE-6KpqrytyhqStW_ZOLEGCyg5sLGr2q4pK1bWJYzlNLdtInvIocrbghVFWQJkHdTYzGOZd7xgzTyRMscjlyqLNciMXRLpXMC-qBjr6kTxEZXbqgmg8YFupwQgNtX2W3fGsDhS5ko6737TeOnV1un_7m9Idbj6cVUlNd1GXyX2sKKO8ilqPkZkcFIvdKs2QBKs6v-uywSG7bIx7Kuacw-_AgAA__8Bklr_">