[Patch, fortran] PR99602 - [11 regression] runtime error: pointer actual argument not associated

Paul Richard Thomas paul.richard.thomas@gmail.com
Tue Mar 16 16:42:23 GMT 2021


Hi Everybody,

Although this is 'obvious' I thought that I should post it because I
believe that it was triggered by the fix for PR99602 but I just do not have
the bandwidth at the moment to test that. The ChangeLog together with the
patch is more than sufficient explanation.

Regtests OK on FC33/x86_64. OK for 11-branch?

Paul

Fortran: Fix runtime errors for class actual arguments [PR99602].

2021-03-16  Paul Thomas  <pault@gcc.gnu.org>

gcc/fortran
PR fortran/99602
* trans-array.c (gfc_conv_procedure_call): For class formal
arguments, use the _data field attributes for runtime errors.

gcc/testsuite/
PR fortran/99602
* gfortran.dg/pr99602.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr99602.f90
Type: text/x-fortran
Size: 1838 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20210316/c6fa555d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit.diff
Type: text/x-patch
Size: 2371 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20210316/c6fa555d/attachment-0001.bin>


More information about the Fortran mailing list