<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/55510>55510</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Clang crash starting from 81904454f7cdebe
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
m-gupta
</td>
</tr>
</table>
<pre>
@Kmeakin Can you please check?
reduced test case:
```
__int128 a, i;
b, j, l, c, q, r, s, t, u, v, x, y, m;
char f, k, w;
long n, o, p;
aa(*, char *ab, ac, ad, unsigned long ae) {
a = ac + (__int128)ae;
b = a >> 64;
*ab = b;
}
af(*ag, *ab, ac, long ad) {
i = ac * ad >> 4;
*ag = *ab = j;
}
ah() {
char z;
long ai;
aa(m, &k, f, o, c);
aa(ah, &z, k, p, l);
af(q, &r, n, 18446744073709551615);
{
int *d = s, *e = t;
*d = i;
*e = j;
}
af(u, &ai, n, 18446744069414584320);
aj(v);
{
int g = ai;
unsigned h = s;
a = v + (__int128)g + h;
b = a >> 64;
char *e = b;
a = t + q;
b = a;
*e = r + h;
*e = b;
}
x = y + z;
}
```
Compile as:
clang -Os -c test.c -target "aarch64-linux-gnu" -Wno-error -Wno-error=implicit-function-declaration -fcommon -fPIC
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyFVU1zmzAQ_TVw0eDhQ2A4cHDseqbTQ3vrsSOEACV8RQgnzq_vaiEYE087Q54l7Wrf29VKybr8mlrU_dEI9iJbcmQtuXYj6WvBBkF4JfiLFZwt92S5hwmVyEcucqLFoAkHLys4rO1W5M4fTv_8ka32_Jgwyz8SaQVP03pmps8GagPcwKsBZWAwoA2MBi4G3g1cDTRLFF4xRQqz9mLgbTHUXVuS1qx1BvrFwEBHbPkHJDW7YcxQDEMNLEfWdpBlC1liHCYsPyHWfg5BCCNWcIINsPkJ_uLPJMENfIPFL5v8AL_BRyK6siEv2rNl1dqfZpXFpJKVRs1G4qQp32iSN00HsH5ybilLdLuRPz8gr5D8LjqW6mMVaxIhVytY2WbSG-FxFEv9QXeydTU06PuxnF8_98OdrynF6-yKzYHH6sWURntK3X2wd5Mw9CIvvN-4Ug_VabVJOsech7moAmd6tYfcnOR2WWzqZRhOdyrHWSWU5YvMKKEeDWMa-O4mP7gE8eU_0qdTY_ealiat5qzWxqlFLw86tMS16s77X41KlnsiNu1649EY8_VRzMdlVA9EPGRY1fgdjVfc-fG1bTcPz4THrullLQgblmeK1wxa1_k5EOJwgu_YjhNHM1UKk4fPmOJVRJ1atuO7U7ZwrD5xfredI5Tq1GoIemTT15JL7RRjy7XsWicXwKCYGROn4F3T4ODX96Odp0GeBAmztdS1SI-ohCs2VGQAfi1hWqiuIbGXuJSGtNjzXGTCHlWdVlr3mIV_hq-UuhqzHYSHSV1fPn-cXnXPgsPbeZbDMAro9XMI18O1qzSmeeCFScD8sBB-nhR7CB9QyjNKk4gVds0yUQ-pFT5Byq14IxgCxlZ4smXqu77vmpsGdy7wdmHsBVkm4iJ3wzgLQvg_Ihom653RsetUaasUJWVjOYCxloMebkY2YPsKpIP4bNRVp9LGKcdeMxupU5T-FwUoti0">