https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126116
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jvdelisle at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |jvdelisle at gcc dot
gnu.org
--- Comment #2 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
A user is not allowed to use a negative unit number outside of that generated
using newunit. My thinking is we should throw an error on this code. I will put
this on my list to fix.
In otherwords, the example is invalid fortran. We should handle it better.