[Bug fortran/78737] [OOP] linking error with deferred, undefined user-defined derived-type I/O

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 16 12:11:00 GMT 2016


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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #27 from janus at gcc dot gnu.org ---
(In reply to janus from comment #26)
> Apart from one exception: Comment 9 is rejected with these errors:
> 
> c9.f90:28:13:
> 
>      procedure :: write_formatted
>              1
> Error: Argument ‘this’ of ‘write_formatted’ with PASS(this) at (1) must be
> of the derived-type ‘non_abstract_child2’
> 
> However, those already appear with version 6.2, and I hope they are correct.

They appear not only with 6.2, but also with all previous versions down to at
least 4.7. I'm pretty sure they are correct. Closing.


More information about the Gcc-bugs mailing list