http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47978
--- Comment #4 from janus at gcc dot gnu.org 2011-09-10 11:30:21 UTC --- Relevant F08 standard quote: 4.5.7.3 Type-bound procedure overriding 1 If a specific type-bound procedure specified in a type definition has the same binding name as a type-bound procedure from the parent type then the binding specified in the type definition overrides the one from the parent type. 2 The overriding and overridden type-bound procedures shall satisfy the following conditions. * Either both shall have a passed-object dummy argument or neither shall. If the overridden type-bound procedure is pure then the overriding one shall also be pure. * Either both shall be elemental or neither shall. * They shall have the same number of dummy arguments. * Passed-object dummy arguments, if any, shall correspond by name and position. * Dummy arguments that correspond by position shall have the same names and characteristics, except for the type of the passed-object dummy arguments. * Either both shall be subroutines or both shall be functions having the same result characteristics (12.3.3). * If the overridden type-bound procedure is PUBLIC then the overriding one shall not be PRIVATE.