https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100132
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:cd13cc012e0bca927f97f618ab54c8d365883bbc commit r11-10286-gcd13cc012e0bca927f97f618ab54c8d365883bbc 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)