This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Fortran, Patch, pr67538, v1] ICE with invalid source allocation
- From: Jerry DeLisle <jvdelisle at charter dot net>
- To: Andre Vehreschild <vehre at gmx dot de>, GCC-Patches-ML <gcc-patches at gcc dot gnu dot org>, GCC-Fortran-ML <fortran at gcc dot gnu dot org>
- Date: Sun, 3 Apr 2016 12:23:08 -0700
- Subject: Re: [Fortran, Patch, pr67538, v1] ICE with invalid source allocation
- Authentication-results: sourceware.org; auth=none
- References: <20160403181326 dot 16103d56 at vepi2>
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