https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82064
janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-09-02 CC| |janus at gcc dot gnu.org Summary|[OOP] multiple incompatible |[7/8 Regression] [OOP] |definitions of extended |multiple incompatible |derived type via module use |definitions of extended | |derived type via module use Ever confirmed|0 |1 --- Comment #2 from janus at gcc dot gnu.org --- (In reply to Daan van Vugt from comment #0) > In the attached zip file are the files needed to reproduce. > Run `make` to create `test_sep` from test_sep.f90 which prints ERR twice on > my machine. > Putting all the modules and the program together in one file yields a > program that prints OK twice. (test.f90) I can confirm that behavior with gfortran 7.1 and trunk. Earlier versions (e.g. 6.3 and 5.1) seem to print OK twice with both variants.