https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88138
--- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Dec 15 23:57:03 2018 New Revision: 267180 URL: https://gcc.gnu.org/viewcvs?rev=267180&root=gcc&view=rev Log: 2018-12-15 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/88138 * decl.c (variable_decl): Check that a derived isn't being assigned an incompatible entity in an initialization. 2018-12-15 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/88138 * gfortran.dg/pr88138.f90: new test. Added: branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr88138.f90 Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/decl.c branches/gcc-7-branch/gcc/testsuite/ChangeLog