https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117730

--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Paul Thomas <pa...@gcc.gnu.org>:

https://gcc.gnu.org/g:1572e634dec4a09593f68645939b5b5043de8de6

commit r14-11091-g1572e634dec4a09593f68645939b5b5043de8de6
Author: Paul Thomas <pa...@gcc.gnu.org>
Date:   Sun Dec 15 14:48:59 2024 +0000

    Fortran: Fix non_overridable typebound proc problems [PR84674/117730].

    2024-12-15  Paul Thomas  <pa...@gcc.gnu.org>

    gcc/fortran/ChangeLog

            PR fortran/117730
            PR fortran/84674
            * class.cc (add_proc_comp): If the present typebound procedure
            component is abstract, unconditionally check the replacement.
            Only reject a non_overridable if it has no overridden procedure
            and the component is already present in the vtype.

    gcc/testsuite/ChangeLog

            PR fortran/117730
            * gfortran.dg/pr117730_a.f90: New test.
            * gfortran.dg/pr117730_b.f90: New test.

            PR fortran/84674
            * gfortran.dg/pr84674.f90: New test.
  • [Bug fortran/117730] Wrong code... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to