https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124543
--- Comment #6 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Created attachment 64038 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64038&action=edit Revised test case fixing some errors found. Regarding an unconnected unit with INQUIRE by UNIT. If it is not connected it is undefined meaning we dont touch the variable. "The scalar-default-char-variable in the NAME= specifier is assigned the value of the name of the file if the file has a name; otherwise, it becomes undefined." There were a few places where we did not set the respective inquire variables or did not handle uncinnected files or units. With the updated case I now get: # of passes : 130 # of failures: 0 I will attach that test case here. I am preparing a new test for the test suite and will post the patch in a liitle while.
