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