This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]