diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2021-03-28 16:48:27 +0100 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2021-03-28 19:39:50 +0100 |
commit | 297363774e6a5dca2f46a85ab086f1d9e59431ac (patch) | |
tree | 396b7b7ff01733f9a5d5a51d9218d6ff67d433b1 /gcc/fold-const.c | |
parent | 5a5d23010ab8ecbefd443054d9a3ec227aceb976 (diff) | |
download | gcc-297363774e6a5dca2f46a85ab086f1d9e59431ac.zip gcc-297363774e6a5dca2f46a85ab086f1d9e59431ac.tar.gz gcc-297363774e6a5dca2f46a85ab086f1d9e59431ac.tar.bz2 |
Fortran: Fix problem with runtime pointer check [PR99602].
2021-03-28 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.
* gfortran.dg/pr99602c.f90: New test.
* gfortran.dg/pr99602d.f90: New test.
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions