[Patch, fortran] PR99602 - [11 regression] runtime error: pointer actual argument not associated
Paul Richard Thomas
paul.richard.thomas@gmail.com
Fri Mar 26 06:58:38 GMT 2021
This patch is straightforward but the isolation of the problem was rather
less so. Many thanks to Juergen for testcase reduction.
Regtested on FC33/x86_64 - OK for master?
Paul
Fortran: Fix problem with runtime pointer chack [PR99602].
2021-03-26 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran/ChangeLog
PR fortran/99602
* trans-expr.c (gfc_conv_procedure_call): Use the _data attrs
for class expressions and detect proc pointer evaluations by
the non-null actual argument list.
gcc/testsuite/ChangeLog
PR fortran/99602
* gfortran.dg/pr99602.f90: New test.
* gfortran.dg/pr99602a.f90: New test.
* gfortran.dg/pr99602b.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr99602a.f90
Type: text/x-fortran
Size: 1941 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210326/566c3c57/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr99602.f90
Type: text/x-fortran
Size: 2068 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210326/566c3c57/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr99602b.f90
Type: text/x-fortran
Size: 1927 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210326/566c3c57/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit.diff
Type: text/x-patch
Size: 2561 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210326/566c3c57/attachment-0003.bin>
More information about the Gcc-patches
mailing list