https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69910
Bug ID: 69910 Summary: ICE with NEWUNIT in module Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jvdelisle at gcc dot gnu.org Target Milestone: --- This bug dates back to my original code in June of 2009. See https://groups.google.com/forum/#!topic/comp.lang.fortran/84jZg4NeUe8 Steve has provided a patch which I am now testing. Thankyou Steve.