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 71783


On 07/09/2016 01:16 PM, Thomas Koenig wrote:
> Hello world,
> 
> this patch fixes the regression by always allocating a charlen.
> 
> Why we still allocate a temporary even for obviously non-overlapping
> cases like the test case remains to be investigated. I'll open a
> separate PR for this.
> 
> Regression-tested. OK for all affected branches?
> 

Yes, OK and thanks.

Jerry

> Regards
> 
>     Thomas
> 
> 2016-07-09  Thomas Koenig  <tkoenig@gcc.gnu.org>
> 
>         PR fortran/71783
>         * frontend-passes.c (create_var):  Always allocate a charlen
>         for character variables.
> 
> 2016-07-09  Thomas Koenig  <tkoenig@gcc.gnu.org>
> 
>         PR fortran/71783
>         * gfortran.dg/dependency_46.f90:  New test.


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