Segfault connected to procedure pointer in nvfortran

We encountered a segfault in this minimal example:

bug.F90 (709 Bytes)

Tested an encountered in versions 19.10, 20.7, 20.9 and 21.1

It’s not a priority for us, since we decided on a different design, but still wanted to report the bug.

Thanks Jonas. I submitted an issue report (TPR #30176) and sent it to engineering for review.

-Mat