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 83012, rejects-valid regression with contiguous pointer


Hi Thomas,

This is OK.

Thanks

Paul


On 17 November 2017 at 17:38, Thomas Koenig <tkoenig@netcologne.de> wrote:
> Hello world,
>
> the attached patch fixes the PR by looking at the function interface if
> one exists.
>
> Regression-tested. OK for trunk?
>
> Regards
>
>         Thomas
>
> 2017-11-17  Thomas Koenig  <tkoenig@gcc.gnu.org>
>
>         PR fortran/83012
>         * expr.c (gfc_is_simply_contiguous): If a function call through a
>         class variable is done through a reference, check the function's
>         interface.
>
> 2017-11-17  Thomas Koenig  <tkoenig@gcc.gnu.org>
>
>         PR fortran/83012
>         * gfortran.dg/contiguous_5.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]