[Bug fortran/87908] ICE in check_interface0, at fortran/interface.c:1841
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 24 07:01:38 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87908
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Paul Thomas <pault@gcc.gnu.org>:
https://gcc.gnu.org/g:e77daa57300ba2cb116af8dd24f58cad00dc669c
commit r16-4069-ge77daa57300ba2cb116af8dd24f58cad00dc669c
Author: Paul Thomas <pault@gcc.gnu.org>
Date: Wed Sep 24 08:01:23 2025 +0100
Fortran: Fix ICE in check_interface [PR87908]
2025-09-24 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran
PR fortran/87908
* interface.cc (check_interface0): If a vtable is found in the
interface list, check that it is either a subroutine or a
function. Let resolve.cc do any further checking.
gcc/testsuite/
PR fortran/87908
* gfortran.dg/pr87908.f90: New test.
More information about the Gcc-bugs
mailing list