]> gcc.gnu.org Git - gcc.git/commit
Fortran: Defined operators with unlimited polymorphic args [PR98498]
authorPaul Thomas <pault@gcc.gnu.org>
Fri, 3 Nov 2023 07:11:12 +0000 (07:11 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Fri, 3 Nov 2023 07:11:12 +0000 (07:11 +0000)
commit8c8ad4e3533b8590ce063386b8b32f6fce1c3942
tree4216998de8d89936f01c7b0b8c6c7b8db8de76ec
parentc3847ca0571e5ace2f1d6e3baed67fee13d9f93d
Fortran: Defined operators with unlimited polymorphic args [PR98498]

2023-11-03  Paul Thomas  <pault@gcc.gnu.org>

gcc/fortran
PR fortran/98498
* interface.cc (upoly_ok): Defined operators using unlimited
polymorphic formal arguments must not override the intrinsic
operator use.

gcc/testsuite/
PR fortran/98498
* gfortran.dg/interface_50.f90: New test.
gcc/fortran/interface.cc
gcc/testsuite/gfortran.dg/interface_50.f90 [new file with mode: 0644]
This page took 0.06677 seconds and 5 git commands to generate.