This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, Fortran] Fix some string temporaries
On Tue, Jul 19, 2016 at 2:27 PM, Thomas Koenig <tkoenig@netcologne.de> wrote:
> Hi Mikael,
>
>> Then handle the GFC_DEP_ERROR here. Or initialize fin_dep with
>> GFC_DEP_NODEP at the beginning, as you prefer.
>> OK with either (and the unreachable assertions).
>
>
> Here is the pacth the way I committed it.
>
> Thanks for the review and the comments.
>
> Regards
>
> Thomas
>
> 2016-07-19 Thomas Koenig <tkoenig@gcc.gnu.org>
>
> PR fortran/71902
> * dependency.c (gfc_check_dependency): Use dep_ref. Handle case
> if identical is true and two array element references differ.
> (gfc_dep_resovler): Move most of the code to dep_ref.
> (dep_ref): New function.
> * frontend-passes.c (realloc_string_callback): Name temporary
> variable "realloc_string".
>
> 2016-07-19 Thomas Koenig <tkoenig@gcc.gnu.org>
>
>
> PR fortran/71902
> * gfortran.dg/dependency_47.f90: New test.
This caused:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71961
--
H.J.