<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/55825>55825</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [flang][Fortran 2003] unimplemented semantic checks: type bound procedure 2
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            flang:frontend
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
            PeixinQiao
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          PeixinQiao
      </td>
    </tr>
</table>

<pre>
    ```
subroutine s()
  interface
    subroutine real_info()
    end
  end interface
  type mt
   contains
    procedure :: info => real_info
  end type
  type mt2
    type(mt) :: t1(2)
  end type
  type mt3
    type(mt2) :: t2(2)
  end type
  type mt4
    type(mt3) :: t3(2)
  end type
  type(mt4) :: t(2)

  call sub1(t%t3%t2%t1%info)
end
```
```
$ flang-new -fc1 test.f90 

fatal internal error: PASS argument missing at /home/.../llvm-project/flang/lib/Evaluate/characteristics.cpp(478)
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
```
Temprorily assign this to myself. Please feel free to take up this when anyone has time to do it. I will say here if I start working on this.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJydVMFu2zAM_RrnQtRwZKtJDj5kaAIM2CFDdx9kmY61yJIhyc3y96PspPHaDigGCLZMke_xkZQrW1_K5DG7ruwpybZ-qJwdgjIIPmHrhG0mO4AyAV0jJN4MADNnh0L_VKaxfwcBoKlvH7R9jxIuPUIXXgOkNUEo4-8IvbMS68EhJPmWFkQa2j8l-W7GOyOJmG_w2R1vPGVr4mSbG2RYkoXNEv8HTP4BDJvjsM_hFB_g5HOc_BM4Y1Qxj_or6OYqhdaxVVEiefCIzWOiPKrmU9OuMa_dejMWbz9ZAY0W5vhg8AwPjVxCQB_SZpPBnLwRQeip54Y26Jx1MdHD9vkZhDsOHZoAnfJemSOIAAnbt7YjZfs0Temp9Uv3QAPwCyWlvh85o1lV9Ny9CD2IEL1lK5yQRKN8UNKnsu9JbbG6z-Lh2277vIt16FQAAdVwpOHprQsQLLQh9D5Wke1pHVVohyqVtrum8D4TSnlAuiF7EONUSz3UCKFFkE74FiohT4FSwvTDAv7AjrCc0hcQJP5oKFT5mEl38aibFA4ahUdoEDU0DjGeBXFCGPrJ99yiIfKLpdvXCopV3ehUW1Ahha9wVrHv4gIt0t1RDZl8EKT3bN0p1ttOrOmiLvN6k2_EIqigsUz4l6nQ_Im2eyqREwZYluVkgcGortcYO4c1eOyEoZKDbFGe_DiFccQrO1Bd7leXLQany_8vM-drxhdtWdcrVq1W62yzysWSFTkWTOJyzeuaFzzPFlpUqH3UkDA2yci3jaO_SpxtxkjCQpUsYyx7zOhVsIyncsn5av0oc-SrWmxkUmSkS-k0ppNad1y4csyMpsbToaYx8_fDqYWIV9YDqt_KfFfCXvnEEFrryrt9MeoqR1F_AIBRq9U">