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 fortran/33105] New: F2003: Support is_iostat_end & is_iostat_eor intrinsics


I don't fully understand why having IOSTAT_END/EOR of the module
ISO_Fortran_ENV is not enough, but is_iostat_end and is_iostat_eor intrinsics
belong to the Fortran 2003 standard.

Test case:

! { dg-do run }
! Test for the Fortran 2003 intrinsics is_iostat_end & is_iostat_eor
!
program test_f2003
use iso_Fortran_env
implicit none
if(.not.is_iostat_end(IOSTAT_END).or.is_iostat_end(0)) call abort()
if(.not.is_iostat_eor(IOSTAT_EOR).or.is_iostat_end(0)) call abort()
end program test_f2003


-- 
           Summary: F2003: Support is_iostat_end & is_iostat_eor intrinsics
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org
OtherBugsDependingO 20585
             nThis:


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


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