https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100110
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:714b85f6fce0448b9d4d5e5d21152a3478b27422 commit r10-10106-g714b85f6fce0448b9d4d5e5d21152a3478b27422 Author: Paul Thomas <pa...@gcc.gnu.org> Date: Tue Apr 20 07:30:07 2021 +0100 Fortran: Fix host associated PDT entity initialization 2021-04-20 Paul Thomas <pa...@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. (cherry picked from commit 67378cd63d62bf0c69e966d1d202a1e586550a68)