This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/82064] [7/8 Regression] [OOP] multiple incompatible definitions of extended derived type via module use
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 02 Sep 2017 19:26:23 +0000
- Subject: [Bug fortran/82064] [7/8 Regression] [OOP] multiple incompatible definitions of extended derived type via module use
- Auto-submitted: auto-generated
- References: <bug-82064-4@http.gcc.gnu.org/bugzilla/>
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.