[Bug libfortran/22217] New: Z edit descriptor with negative numbers

tkoenig at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jun 28 13:45:00 GMT 2005


$ cat foo3.f90
program main
  i = -1
  print '(Z8)',i
end program main
$ gfortran foo3.f90
$ ./a.out
********
$ gfortran -v
Using built-in specs.
Target: ia64-unknown-linux-gnu
Configured with: ../gcc-4.1-20050625/configure --prefix=/home/zfkts --enable-
languages=c,f95
Thread model: posix
gcc version 4.1.0 20050625 (experimental)

The output should be

FFFFFFFF

-- 
           Summary: Z edit descriptor with negative numbers
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tkoenig at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list