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

2016-04-04 Thread Andre Vehreschild
Hi Jerry, thanks for the review. Committed as r234714. Regards, Andre On Sun, 3 Apr 2016 12:23:08 -0700 Jerry DeLisle wrote: > On 04/03/2016 09:13 AM, Andre Vehreschild wrote: > > Hi all, > > > > the attached patch checks that for F2008-style allocate(arr1,

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

2016-04-03 Thread Jerry DeLisle
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=

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

2016-04-03 Thread Andre Vehreschild
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.