This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] Fix PR 83540
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: Thomas Koenig <tkoenig at netcologne dot de>
- Cc: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 26 Dec 2017 16:19:10 +0000
- Subject: Re: [patch, fortran] Fix PR 83540
- Authentication-results: sourceware.org; auth=none
- References: <098a8857-fcef-9506-baa4-c3645e7397ba@netcologne.de>
OK - thanks for the patch.
Paul
On 26 December 2017 at 12:12, Thomas Koenig <tkoenig@netcologne.de> wrote:
> Hello world,
>
> this rather self-explanatory patch makes sure we don't get an error
> using reallocation on assignment for inlining matmul when
> we don't have reallocation on assignment.
>
> Regression-tested. OK for trunk?
>
> Regards
>
> Thomas
>
> 2017-12-25 Thomas Koenig <tkoenig@gcc.gnu.org>
>
> PR fortran/83540
> * frontend-passes.c (create_var): If an array to be created
> has unknown size and -fno-realloc-lhs is in effect,
> return NULL.
>
> 2017-12-25 Thomas Koenig <tkoenig@gcc.gnu.org>
>
> PR fortran/83540
> * gfortran.dg/inline_matmul_20.f90: New test.
--
"If you can't explain it simply, you don't understand it well enough"
- Albert Einstein