https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85851
Fritz Reese <foreese at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Last reconfirmed|2018-05-20 00:00:00 |2018-5-21 Depends on| |82972 Assignee|unassigned at gcc dot gnu.org |foreese at gcc dot gnu.org --- Comment #2 from Fritz Reese <foreese at gcc dot gnu.org> --- Probable duplicate of pr82972 and pr83088. Sorry I have not tracked this issue down yet. My solution for -finit-derived requires special consideration for the iso-c-binding structures such as c_ptr since the structure intialization expression currently generated is invalid for those structures. Something in the middle-end changed with 8.x that has further invalidated my solution for -finit-derived. I am [still] working on this and a few other issues with -finit-derived. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82972 [Bug 82972] [8/9 Regression] ICE with -finit-derived in gfc_conv_structure, at fortran/trans-expr.c:7733 (and others)