This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, fortran] Fix PR 83540


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]