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

Steve Kargl sgk@troutmask.apl.washington.edu
Sat Dec 22 20:08:00 GMT 2018


On Thu, Dec 20, 2018 at 05:00:19PM -0800, Steve Kargl wrote:
> 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.
> 

Committed.

-- 
Steve



More information about the Gcc-patches mailing list