[Bug fortran/84674] [7/8/9 Regression] Derived type name change makes a program segfault, removing non_overridable helps

daraja at web dot de gcc-bugzilla@gcc.gnu.org
Tue Sep 25 13:32:00 GMT 2018


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

--- Comment #5 from Libavius <daraja at web dot de> ---
(In reply to Libavius from comment #4)

> There are two ways to get this program to work, which are both quite weird:
> 1. remove "non_overridable" from line 14 in module1.f90
> old: procedure, pass, non_overridable :: get => child_get
> new: procedure, pass :: get => child_get

Sorry for this, I meant line 13:
old: procedure, pass, non_overridable :: reset => child_reset
new: procedure, pass :: reset => child_reset


More information about the Gcc-bugs mailing list