OK - thanks for the patch.

Paul


On 26 December 2017 at 12:12, Thomas Koenig <tkoe...@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  <tkoe...@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  <tkoe...@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

Reply via email to