https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81241
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jvdelisle at gcc dot gnu.org --- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- We had to do significant changes to support DTIO and internal units. A stack is used to hold unit information as execution passes between parent and child I/O statements. That bug was discovered and fixed by Jim. So I hope you can try 7.2 or latest trunk, 8.0 and confirm.