https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100132
--- Comment #8 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:8c583871e70f5530907d22a21b0f1d1e7b90e224 commit r10-11015-g8c583871e70f5530907d22a21b0f1d1e7b90e224 Author: José Rui Faustino de Sousa <jrfso...@gmail.com> Date: Mon Sep 19 22:00:45 2022 +0200 Fortran: Fix function attributes [PR100132] gcc/fortran/ChangeLog: PR fortran/100132 * trans-types.c (create_fn_spec): Fix function attributes when passing polymorphic pointers. gcc/testsuite/ChangeLog: PR fortran/100132 * gfortran.dg/PR100132.f90: New test. (cherry picked from commit be60aa5b608b5f09fadfeff852a46589ac311a42)