<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/69541>69541</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Assertion failure in ArrayRef.h
</td>
</tr>
<tr>
<th>Labels</th>
<td>
crash-on-valid
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ilovepi
</td>
</tr>
</table>
<pre>
At commit 1981b1b I ran into an assertion failure with the reproducer below.
I reduced it w/ `utils/creduce-clang-crash.py`, but I'm not too sure that the input file is still valid after it finished. It does still trigger the assertion though, so I've just zipped up the whole folder, including the original input file and script.
The reduced compile command is `clang -cc1 -std=c++20 soname-tests-88f64c.reduced.cpp`
[reproducer.zip](https://github.com/llvm/llvm-project/files/13035224/reproducer.zip)
Sorry, I don't have more time to investigate. I'm off for 2 weeks starting tomorrow(10/19/2023 -11/1/2023), but wanted to report this, since I didn't notice anything since that commit that looked like it should address the issue. If it still trips at HEAD, maybe it's a useful testcase, even if it isn't a valid input file.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUVMGyozYQ_Br5MgUFwtjmwMEvjiu-JvkBIQ0wu0KipMEu79enJPvV201OuWBTM0z3dLekYqTJIfai_RDtZac2nn3oyfo7rrQbvHn2Zwbtl4UY6u5UD_UANwjKATn2oByoGDEweQejIrsFhAfxDDwjBFyDN5vGAANa_yhFdRHV-fW8QcBUM0AMDyGvIA7VxmSjkFf9qhXaKjcVOqg4l-tTHCohf4NhY7gJeVzAeQb2HmKC5VlxhiW3bgwjWQSKEJmshbuyZECNjCHhjeQozmhKuDEYj59tHGiaMOQxX4vx7LdpTtDRZ-Q7wrctMvygdUUD25o_eMzeIozeGgypmZy2myE35aoPNJFT9md6yhmIOtDKv0jzd9buJY72y5pakwepnWLSKesChdY1FJGNaC5ayA8hP2QF0Tu1YMEYORan03jY6_I9rdTrmkT8CUu0H182lT9oFe1FyNPMvEbRnIW8CnmdiOdtKLVfhLxae__8Kdbgv6FmIa9pn-Rc3VRNK-VeyOu_5sruF9z8_MuH8Exa3cB4J-SRYVZ3hMUnQ2lBYA_k7hiZJsVYvo334wijDyDhgfg9uacCZ6X94kPwDyFPdZXodEJeZSUbKOo6vb9fE5t3lB7KMZoEFHD1IWWIYjabnMbEjMyLmvNMOrn25DmBvRpy7t5HJP-33n9HA5a-Y8panP1mDShjAsb4SmiMW9plzPXP5K0RFMMfv58vCX1RzyF9L-QxgoIt4rhZSK5qFTF14B0dUJ5B8cVQvYP-lbFyZ_rGdE2ndtjXh-54OLb7er-b-8OoEPWIR9N2-xEbbEZp6kMl26o5DsdmR31Sqq7qrqqaqq7KYaxOrd4bHNqjHjoj9hUuimyZslD6MO3yYv2ha_f1zqoBbcxXi5T5CBfeFZmfkDJdN6HPIRq2KYp9ZSly_BrFxBb7839uF3JwDkE9_8SxnHdbsP3_zmpmmcKaif4TAAD__-Fbp9s">