On Fri, Nov 10, 2017 at 04:35:56PM -0500, Fritz Reese wrote: > My mistake, the patch file should not have the random changes to > libiberty/functions.texi. Not sure how that ended up there. > > > > PR fortran/82886 > > gcc/fortran/ > > * gfortran.h (gfc_build_init_expr): New prototype. > > * invoke.texi (finit-derived): Update documentation. > > * expr.c (gfc_build_init_expr): New, from > > gfc_build_default_init_expr. > > (gfc_build_default_init_expr): Redirect to > > gfc_build_init_expr(,,false) > > (component_initializer): Force building initializers using > > gfc_build_init_expr(,,true). > > > > PR fortran/82886 > > * gcc/testsuite/gfortran.dg/init_flag_16.f03: New testcase.
Patch looks good to me. Thanks for the patch. PS: can you look at the patch I posted yesterday about a kludge. -- Steve