<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/122132>122132</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Flang] crash with "nonscalar intrinsic argument"
</td>
</tr>
<tr>
<th>Labels</th>
<td>
flang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
k-arrows
</td>
</tr>
</table>
<pre>
Some test programs in https://github.com/rzurob/llvm-test-suite/tree/ibm_fortran_tests/Fortran/IBM/execute/F2003/OO_poly/intrinsics crash with flang.
Example:
https://godbolt.org/z/66cMK1WeY
This example is taken from the following:
https://github.com/rzurob/llvm-test-suite/blob/ibm_fortran_tests/Fortran/IBM/execute/F2003/OO_poly/intrinsics/merge/array001.f03
Related issue: https://github.com/llvm/llvm-project/issues/94144
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyskk9r3DwQxj-NfBEx0kjejQ8-bMgreCkh0BZKT4tsj201srWM5Gw2n77I23-UUkrpSYjRM_PTM4-N0Y0LYsOqO1bdF3ZNU6Dm6cYShXMs2tBfmndhRp4wJn6iMJKdI3cLn1I6RaYODAwDM7o0rW3ZhZmBodeVQsvAeP8832TlTVxdQgYmEebDtfNxCJTILsdcjwyMud4ZmP_vHhgYfMFu3UQGhFAMzOPj8RT8JeuXRG6Jrou8IxsnfnZp4oO3y1hyJg5MHP57sfPJYyYUh59gQ98Gn8pAIwPzysDsdt3DG_kBP1617ycXOV4bcBd5sk-48IHCzNOEfAjeh7Nbxl82_0MnWr8V_p0TDMyMNOZnlshehJDlINT1R2_R24Q9dzGu2ZPfrS-zfkU-UfiEXcqDsjIPqbXUuugb1deqtgU2cq92qpJa62Jq9vt62EtZ170Wet_2g9ayQ4ttr1ENfVe4BgRUQopbWVVC6_JW9fWgQLWDqKW0PdMCZ-t8mQHyjoptdCMBpILC2xZ93AILsG2cAeTsUrMRt-sYmRbexRS_t0gu-S3lZlNU9z_mhgEsYYmd9Zb4N0O5pXGdcUkMoFjJN39v2Rf05wY-BwAA__-1ch9T">