------- Comment #2 from jvdelisle at gcc dot gnu dot org  2007-08-14 05:25 
-------
This makes some sense:  The following reduced case works fine with
-fdefault-integer-8 with iostat given and gives an error without it.  I could
argue that this is OK.  I have not dug into the standard on this, but I will.

      integer i
      logical l
      i = 0
      inquire (unit=-42, exist=l, iostat=i)
      if (l) call abort
      end

If this behavior is too weird, we can disable the check for inquire.  More
later...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33055

Reply via email to