On Fri, Nov 10, 2017 at 6:40 PM, Steve Kargl <s...@troutmask.apl.washington.edu> wrote: > 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.
Thanks, committed as r254648. > PS: can you look at the patch I posted yesterday about a kludge. > I will look into it. Please hold off on committing until I get a chance to review if it is not urgent - I think some better handling can be done there. --- Fritz Reese