diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2025-08-11 21:34:07 +0100 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2025-08-11 21:34:07 +0100 |
commit | 2aac5a6fa777753277216b30c3d8aa0f6c277f55 (patch) | |
tree | 7f8d5cec191978363944e196fde9cb44d77e3182 /libjava/java/net/URLStreamHandler.java | |
parent | b0927c5c8c8b9afd53b820ba6a660e06ad767ce3 (diff) | |
download | gcc-2aac5a6fa777753277216b30c3d8aa0f6c277f55.zip gcc-2aac5a6fa777753277216b30c3d8aa0f6c277f55.tar.gz gcc-2aac5a6fa777753277216b30c3d8aa0f6c277f55.tar.bz2 |
Fortran: gfortran rejects procedure binding on PDT [PR121398]
2025-08-11 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran
PR fortran/121398
* resolve.cc (check_pdt_args): New function.
(check_generic_tbp_ambiguity): Use it to ensure that args to
typebound procedures that do not have the same declared type as
the containing derived type have 'pass1/2' set to null. This
avoids false ambiguity errors.
(resolve_typebound_procedure): Do not generate a wrong type
error for typebound procedures marked as pass if they are of a
different declared type to the containing pdt_type.
gcc/testsuite/
PR fortran/121398
* gfortran.dg/pdt_generic_1.f90: New test.
Diffstat (limited to 'libjava/java/net/URLStreamHandler.java')
0 files changed, 0 insertions, 0 deletions