This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/33055] ignoring iostat= with -fdefault-integer-8



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]