]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: Fix ICE in ASSOCIATE with user defined operator [PR121060]
authorPaul Thomas <pault@gcc.gnu.org>
Wed, 16 Jul 2025 05:16:57 +0000 (06:16 +0100)
committerPaul Thomas <pault@gcc.gnu.org>
Wed, 16 Jul 2025 16:51:39 +0000 (17:51 +0100)
commit4ba8f2102fec5e04df28e912036283b67aff6c07
tree46c980ac792c2651cdffc246113db47e9c941ddb
parent746767afe3ed6edf0d17740dbcf660936c9e9c1b
Fortran: Fix ICE in ASSOCIATE with user defined operator [PR121060]

2025-07-16  Paul Thomas  <pault@gcc.gnu.org>

gcc/fortran
PR fortran/121060
* interface.cc (matching_typebound_op): Defer determination of
specific procedure until resolution by returning NULL.

gcc/testsuite/
PR fortran/121060
* gfortran.dg/associate_75.f90: New test.

(cherry picked from commit 82e912344d28cf1a69e5f8e047203ea7eb625302)
gcc/fortran/interface.cc
gcc/testsuite/gfortran.dg/associate_75.f90 [new file with mode: 0644]