[Fortran, Patch, pr67538, v1] ICE with invalid source allocation

Jerry DeLisle jvdelisle@charter.net
Sun Apr 3 19:23:00 GMT 2016


On 04/03/2016 09:13 AM, Andre Vehreschild wrote:
> Hi all,
> 
> the attached patch checks that for F2008-style allocate(arr1, source=s)
> the expression in s is array valued, when arr1 has no array spec and
> emits an error message saying:
> 
> Array specification or array-valued SOURCE= expression required in ALLOCATE statement at (1)
> 
> This fixes the ICE.
> 
> Bootstrapped and regtests ok on x86_64-linux-gnu/F23. Ok for trunk?
> 
> Regards,
> 	Andre
> 

Yes, OK, thanks for patches.

Jerry



More information about the Gcc-patches mailing list