https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86481
--- Comment #1 from Rich Townsend <townsend at astro dot wisc.edu> --- As addenda: *) I also see the problem on gfortran 8.1 *) It doesn't seem to matter whether bar_t is a subclass of foo_t. This choice was based on the code I developed the test case for, but removing the extends(foo_t) clause from the definition of bar_t leads to the same outcome. cheers, Rich