https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117730
--- Comment #6 from anlauf at gcc dot gnu.org ---
I looked at the fortran dump, and also at the verbose asm, comparing
with and w/o non_overridable.
module2 has permuted(?) vtab entries:
@@ -32,10 +32,10 @@
.quad 0
# _deallocate:
.quad 0
-# calc:
- .quad __module2_MOD_child2_calc
# reset:
.quad __module1_MOD_child_reset
+# calc:
+ .quad __module2_MOD_child2_calc
.text
.globl __module2_MOD___copy_module2_Child2
.type __module2_MOD___copy_module2_Child2, @function
Could that be related to child_reset being invoked, although it should not?