<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/56553>56553</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[bug?] The assumed type and derived type with kind parameter in Fortran 2003 intrinsic module procedure C_LOC
</td>
</tr>
<tr>
<th>Labels</th>
<td>
flang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
PeixinQiao
</td>
</tr>
</table>
<pre>
As Fortran 2018 18.2.3.6, see the following:
Argument: X shall have either the POINTER or TARGET attribute. It shall not be a coindexed object. It shall
be a variable with interoperable type and kind type parameters, an assumed-type variable, or a nonpolymorphic
variable that has no length type parameter. If it is allocatable, it shall be allocated. If it is a pointer, it shall be
associated. If it is an array, it shall be contiguous and have nonzero size. It shall not be a zero-length string.
Should the assumed type and derived type with kind parameter be supported in LLVM Flang?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJydUt1vmzAQ_2vg5VRETEjIAw9Z20yVurXbomlvk7EP8ObYyDZp079-h5M0XbWnScjIvo_fx11j5aFee9hYFxw3wPJZBbMqY1mRLRJ2DR4RQo_QWq3tkzJdUqyT_CbJT-fadeMOTaBn-AG-51pDz_cIqKjMxdrHh7vP29uvYB1s118_3m6Bh-BUMwbM4C6cqowN0CBwEFYZic8owTa_UIRLzhEyJu25U7zRCE-EA8oEdHZAF5_CYaAUI-E3NTreBu74DinJT6JIKPeeeMurGD03m2JEkhMXM1h92Fk39EocYV8RQ88DafSUBRpNR_h_YxDhFlQA5YFIW8HDubk6i500HEMo36bDYKOWd8lHBsTZCvW-hLQ4xw_v2wtrgupGO_poRZwJyXohn8Crl386PwWvTpI8Tch02dtZf-vtqGUc6cm-i9USndqfH-JMovmvnkwAfhwG2jPKUgbu779_go3m00ZtUlkXclWseBpU0Fgn5YdmnAJJeQPb_8IjiMtS58W0IiTIKwE7K0ca4-CsQDk6hOuf9w_X6eh03Ycw-GnD2Ya-jtqOTSbsji5a78-_KyqdFpOuingh7dSmXJRlkfb1arVYrtq8EoxxURR51S5x3i4WuKhKFC1LNW9Q-0lhwlgb9TNGMlNVs5yxfDkrZ1WxnM0yrKr5nMm5bCsUjWDJPMcdVzqbOGTWdamrIx2yylNQKx_8JUiWqc5gNHPqz8fQW1c_onpW5oviNo3k68j8D2qAXMI">