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

2016-12-08 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78737 --- Comment #3 from Jerry DeLisle --- I am not sure what you are expecting. The module has an empty main program and nothing allocated to link to.. Since the interface is abstract it creates nothing until it is used I think. $ gfc pr78737.f03 /

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

2016-12-08 Thread damian at sourceryinstitute dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78737 --- Comment #2 from Damian Rouson --- Upon further investigation, the workaround mentioned in the final line of the original report appears not to work. The only workaround I have come up with is to make the "object" type non-abstract, which the

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

2016-12-08 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78737 --- Comment #1 from Jerry DeLisle --- I cc'ed Paul on this one. Not sure what is going on here, but I will be looking at it.