https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127210
Mikael Morin <mikael at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2026-09-04
Keywords| |rejects-valid
Status|UNCONFIRMED |NEW
CC| |mikael at gcc dot gnu.org
--- Comment #1 from Mikael Morin <mikael at gcc dot gnu.org> ---
Indeed the order of typebound components in the vtype is not completely
deterministic.
It's easy to fix, but it's an ABI break, which we are very reluctant to do.
A workaround for you would be using a separate extension module where the new
code would be put:
module extension_module
use shared_module
interface shared_i1
module procedure shared_i1_bar
end interface
contains
subroutine shared_i1_bar( arg1,arg2 )
integer, intent(in) :: arg1,arg2
print*,"shared_i1_bar"
end subroutine
end module