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

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

https://gcc.gnu.org/g:dd6dbbb5111fba960ad0ee7999a225783e0ae80e

commit r15-5628-gdd6dbbb5111fba960ad0ee7999a225783e0ae80e
Author: Paul Thomas <pa...@gcc.gnu.org>
Date:   Sun Nov 24 08:50:58 2024 +0000

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

    2024-11-24  Paul Thomas  <pa...@gcc.gnu.org>

    gcc/fortran/ChangeLog

            PR fortran/117730
            * class.cc (add_proc_comp): Only reject a non_overridable if it
            has no overridden procedure and the component is already
            present in the vtype.
            PR fortran/84674
            * resolve.cc (resolve_fl_derived): Do not build a vtable for a
            derived type extension that is completely empty.

    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.

Reply via email to