]> gcc.gnu.org Git - gcc.git/commit
Fortran: Fix host associated PDT entity initialization [PR99307].
authorPaul Thomas <pault@gcc.gnu.org>
Tue, 20 Apr 2021 06:30:07 +0000 (07:30 +0100)
committerPaul Thomas <pault@gcc.gnu.org>
Tue, 20 Apr 2021 06:30:45 +0000 (07:30 +0100)
commit67378cd63d62bf0c69e966d1d202a1e586550a68
tree28e3fc924f7c7bb8db0a96db889e094a225c5f9d
parent30b11d8d1be9c683f1517472c47a3cb69df02c4f
Fortran: Fix host associated PDT entity initialization [PR99307].

2021-04-20  Paul Thomas  <pault@gcc.gnu.org>

gcc/fortran
PR fortran/100110
* trans-decl.c (gfc_get_symbol_decl): Replace test for host
association with a check that the current and symbol namespaces
are the same.

gcc/testsuite/
PR fortran/100110
* gfortran.dg/pdt_31.f03: New test.
* gfortran.dg/pdt_26.f03: Reduce 'builtin_malloc' count from 9
to 8.
gcc/fortran/trans-decl.c
gcc/testsuite/gfortran.dg/pdt_26.f03
gcc/testsuite/gfortran.dg/pdt_31.f03 [new file with mode: 0644]
This page took 0.062824 seconds and 5 git commands to generate.