https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61933

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-08-28
     Ever confirmed|0                           |1

--- Comment #2 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
The specific case should be caught at compile time like this as well as
runtime.

$ gfc pr61933.f90 
pr61933.f90:7.69:

   INQUIRE(UNIT=-1,EXIST=file_exists, iostat=istat, iomsg=errormess) 
                                                                     1
Error: UNIT in INQUIRE statement at (1) must be positive

Reply via email to