<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/68606>68606</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Segmentation fault (core dumped)
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Bazoka13
</td>
</tr>
</table>
<pre>
Command lines:
```
$ clang -O3 -mllvm -disable-llvm-optzns -c -emit-llvm a.c -o a.bc
$ opt -passes='adce,mem2reg,newgvn,sccp' a.bc -o a.opt.bc
$ clang a.opt.bc -o a.out
$ ./a.out
Segmentation fault (core dumped)
```
Reduced code:
```C
$ cat a.c
unsigned short a;
int c ;
void foo() {
long b = 0xDE0184DCL;
long long d[4] = {};
int e = (((a << b) ) || 0);
}
int main() {
foo();
return 0;
}
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMU1GvmzwM_TXmxQKlDoXywMNX-Po0adL2C0Li0myQIBLu3e6vn6C9bbe7h0lRKtsn55waW4Vge8dcw_4I-zZRS7z4uT6qN_9d7WTSefOzbvw4KmdwsI4DyP9AtCDe70LczjWkHPWgXI_pZ4npOAwvI6bGBtUNnK5R6qf45gKmGlMebdySqDKNqUeVdfpB5KeI6aRCWFVboFIZzUDNyCPN3AM1jl_7FwfUBK0noHIjuBL5Kf5GdnV1L9xAS3wgMqDTU-or9yO7qKL1Ds9qGSICHbSfGc0yTmyAqr_24AubRbNB7Q0_uvWOaZ4sqbj-8WticduXMBgufo6oQB6vBesiaryHL94aPHsPdACqEMpbHnHwrscOQbYofrT_i90hb5tP94c3wHYZ2B9z2LcbeKUo2yfcqsjX0iqyHoUgG5ANdpvoJtxA2aBYu_D-dKW5ex6VdR9N3p0_6c0cl9mh-MjzR2cTU0tTyUolXO-KqjgUB1lScqmZVVcVpZbnSqpCammoy6tSlFoKo4VObE2C5E6IalfsKkkZ6dKcdVfoXLNUUkAueFR2yNZxzPzcJzaEheviUIgiGVTHQ9iWhMjxK25FIFp3Zq63ue6WPkAuBhtieLBEGweu_2WWkmUe6kuM07ZidAI69TZeli7TfgQ6rZS3n3Sa_TfWEei0GQlAp83orwAAAP__D30UGQ">