[Fortran, Patch, pr67538, v1] ICE with invalid source allocation
Andre Vehreschild
vehre@gmx.de
Mon Apr 4 10:33:00 GMT 2016
Hi Jerry,
thanks for the review. Committed as r234714.
Regards,
Andre
On Sun, 3 Apr 2016 12:23:08 -0700
Jerry DeLisle <jvdelisle@charter.net> wrote:
> 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
--
Andre Vehreschild * Email: vehre ad gmx dot de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit.diff
Type: text/x-patch
Size: 2577 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20160404/b9718d2a/attachment.bin>
More information about the Fortran
mailing list