This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] Fix PR 71783
- From: Jerry DeLisle <jvdelisle at charter dot net>
- To: Thomas Koenig <tkoenig at netcologne dot de>, "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: Sat, 9 Jul 2016 13:28:46 -0700
- Subject: Re: [patch, fortran] Fix PR 71783
- Authentication-results: sourceware.org; auth=none
- References: <57815B80.4010008@netcologne.de>
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.