[PATCH] PR fortran/85798 -- Check for allocatable components in data statement

Steve Kargl sgk@troutmask.apl.washington.edu
Fri Dec 21 06:22:00 GMT 2018


On Sun, Dec 16, 2018 at 11:04:44AM -0800, Steve Kargl wrote:
> The attached patch has been tested on i586-*-freebsd and x86_64-*-freebsd.
> If a data-statement-object is a component of a derived type, it checks if
> that component is allocatable.
> 
> 2018-12-16  Steven G . Kargl  <kargl@gcc.gnu.org>
> 
> 	PR fortran/85798
> 	* decl.c (gfc_match_data): If a component of a derived type entity
> 	appears in data statement, check that does not have the allocatable
> 	attribute.
>  
> 2018-12-16  Steven G . Kargl  <kargl@gcc.gnu.org>
> 
> 	PR fortran/85798
> 	* gfortran.dg/pr85798.f90: New test.
> 

Ping.

-- 
Steve



More information about the Fortran mailing list