Message ID | 56C76410.30405@netcologne.de |
---|---|
State | New |
Headers | show |
I wrote: > So, OK for these branches? Patch at https://gcc.gnu.org/ml/gcc-patches/2016-02/msg01364.html Regards Thomas > > 2016-02-18 Thomas Koenig <tkoenig@gcc.gnu.org> > > PR fortran/68147 > PR fortran/47674 > * frontend-passes.c (realloc_string_callbac): Don't set > walk_subtrees. > > 2016-02-18 Thomas Koenig <tkoenig@gcc.gnu.org> > > PR fortran/68147 > PR fortran/47674 > * gfortran.dg/realloc_on_assign_26.f90: New test case.
On 02/28/2016 03:39 AM, Thomas Koenig wrote: > I wrote: > >> So, OK for these branches? > > Patch at > > https://gcc.gnu.org/ml/gcc-patches/2016-02/msg01364.html > > Regards > > Thomas >> >> 2016-02-18 Thomas Koenig <tkoenig@gcc.gnu.org> >> >> PR fortran/68147 >> PR fortran/47674 >> * frontend-passes.c (realloc_string_callbac): Don't set >> walk_subtrees. >> >> 2016-02-18 Thomas Koenig <tkoenig@gcc.gnu.org> >> >> PR fortran/68147 >> PR fortran/47674 >> * gfortran.dg/realloc_on_assign_26.f90: New test case. > > Fix spelling in ChangeLog of "...callback" and OK Jerry
Index: frontend-passes.c =================================================================== --- frontend-passes.c (Revision 233474) +++ frontend-passes.c (Arbeitskopie) @@ -153,7 +153,7 @@ gfc_run_passes (gfc_namespace *ns) */ static int -realloc_string_callback (gfc_code **c, int *walk_subtrees, +realloc_string_callback (gfc_code **c, int *walk_subtrees ATTRIBUTE_UNUSED, void *data ATTRIBUTE_UNUSED) { gfc_expr *expr1, *expr2; @@ -160,7 +160,6 @@ static int gfc_code *co = *c; gfc_expr *n; - *walk_subtrees = 0; if (co->op != EXEC_ASSIGN) return 0;