aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorPaul Thomas <pault@gcc.gnu.org>2024-04-02 15:53:29 +0100
committerPaul Thomas <pault@gcc.gnu.org>2024-04-02 15:53:29 +0100
commita7aa9455a8b9cb080649a7357b7360f2d99bcbf1 (patch)
tree692e2820491c0fdf024294faf41e8cf05f4ee165 /libgcc
parent35408b3669fac104cd380582b32e32c64a603d8b (diff)
downloadgcc-a7aa9455a8b9cb080649a7357b7360f2d99bcbf1.zip
gcc-a7aa9455a8b9cb080649a7357b7360f2d99bcbf1.tar.gz
gcc-a7aa9455a8b9cb080649a7357b7360f2d99bcbf1.tar.bz2
Fortran: Add error for subroutine passed to a variable dummy [PR106999]
2024-04-02 Paul Thomas <pault@gcc.gnu.org> gcc/fortran PR fortran/106999 * interface.cc (gfc_compare_interfaces): Add error for a subroutine proc pointer passed to a variable formal. (compare_parameter): If a procedure pointer is being passed to a non-procedure formal arg, and there is an an interface, use gfc_compare_interfaces to check and provide a more useful error message. gcc/testsuite/ PR fortran/106999 * gfortran.dg/pr106999.f90: New test.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions