[Bug libfortran/19647] New: inquire(delim=) returns garbage

Thomas dot Koenig at online dot de gcc-bugzilla@gcc.gnu.org
Wed Jan 26 21:09:00 GMT 2005


$ cat delim.f90
program main
  character(len=10) delim
  character(len=50) line
  open(10,delim='quote')
  inquire(10,delim=delim)
  print *,delim
  if (delim .ne. 'quote') call abort
end program main
$ gfortran delim.f90
$ ./a.out
 @÷@÷@
Aborted
$ gfortran -v ; gfortran -dumpmachine
Using built-in specs.
Configured with: ../gcc/configure --prefix=/home/ig25 --enable-languages=c,f95
Thread model: posix
gcc version 4.0.0 20050124 (experimental)
i686-pc-linux-gnu

-- 
           Summary: inquire(delim=) returns garbage
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Thomas dot Koenig at online dot de
                CC: gcc-bugs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list