diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2024-11-24 08:50:58 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2024-11-24 08:50:58 +0000 |
commit | dd6dbbb5111fba960ad0ee7999a225783e0ae80e (patch) | |
tree | 4859fa586938a82e1b43bd56c372f5419baf3278 /gcc/function.cc | |
parent | bbe9ff74c86904e1e6be81aa099b6298e386fc9f (diff) | |
download | gcc-dd6dbbb5111fba960ad0ee7999a225783e0ae80e.zip gcc-dd6dbbb5111fba960ad0ee7999a225783e0ae80e.tar.gz gcc-dd6dbbb5111fba960ad0ee7999a225783e0ae80e.tar.bz2 |
Fortran: Fix non_overridable typebound proc problems [PR84674/117730].
2024-11-24 Paul Thomas <pault@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.
Diffstat (limited to 'gcc/function.cc')
0 files changed, 0 insertions, 0 deletions