<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/123960>123960</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[flang][debug] Compiler take extremely long time to finish
</td>
</tr>
<tr>
<th>Labels</th>
<td>
flang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
abidh
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
abidh
</td>
</tr>
</table>
<pre>
The linaro reported an issue in https://linaro.atlassian.net/browse/LLVM-1528 where [this file](https://github.com/fujitsu/compiler-test-suite/blob/main/Fortran/0394/0394_0031.f90) from the fujitso testsuite will fail to compile after PR#122770. I looked at it and it seems that compiler is not crashing or stuck. The file has a lot of cyclic derived types and it is taking long time to finish with -g. The code is quite contrived but the compilation time should be reduced.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx8kkGL3DoMxz-NcxETHGeTmRxyePuWwIN9UErptTiOEmvHsae2stP59sWTWUqh9CRhpJ_0l_86JVo8Yi-aZ6GUHmmyQinRvBR6Yxtif38qxjDd-i8WwZHXMUDES4iME2gPlNKGQB4s8yWJ-h-hBqGGvbLU7PIQ7UuPLNQwxnBNKNTw-vr1_0PVqBNcLUYE0TyzpQQzORTNi1Cn33kLsd3G0oRVqGHe3ojTJtRgwnohh_HAmPiQNuIMH10YhRpWTV6oYQiRo86ZrLunR_gmZV2VcyeF6mCOYQW2CDs4QKbdYXAl52DW5IADPKaBnhkjfPosVF0pdTzKEv4DF8I5n4SBGLSfckiIawK2mj96I1ACHxhM1MmSXyBESLyZcwn5wlk_WJ1AgwsMYQZzM44MTBjpHSfg2wXTB58SsD5nigt-AaYV854zeUoWrsQWDssONmHCXP_9LssEzztv3Pgufd9PMwW_c5INm5tgRIg4bQanspj6eurqThfYV8f62LRVd6oL20ucWjmqqpmPpj01aPSsOjxhi1qddHsqqFdSNbJSqmplq-qyHs2MzSy1bOvaVFI8SVw1udK597UMcSnuvuorVXetLJwe0aWHTWen_fKwaexzw2HcliSepKPE6ReCid3d23tH8yKa5wnHLafw78d_sD4j4A-OuKK7_emQxRZd_xc75oGPcLjE8IYmW_0uIAk1PDS89-pnAAAA__9C3ySq">