[Committed] PR fortran/88138 -- can't initialize a derived type

Steve Kargl sgk@troutmask.apl.washington.edu
Sun Dec 16 03:35:00 GMT 2018


I've committed the attached patch after testing on i586-*-freebsd
and x86_64-*-freebsd.

2019-12-15  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/88138
	* decl.c (variable_decl): Check that a derived isn't being assigned
	an incompatible entity in an initialization.
 
2019-12-15  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/88138
	* gfortran.dg/pr88138.f90: new test.
-- 
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr88138.diff
Type: text/x-diff
Size: 1548 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20181216/07f3235c/attachment.bin>


More information about the Fortran mailing list