Compiling testsuite/gfortran.dg/unf_io_convert_3.f90 and running valgrind a.out
shows the following diagnostic:

==2411== Syscall param write(buf) points to uninitialised byte(s)
==2411==    at 0x5606730: write (in /lib64/libc-2.6.so)
==2411==    by 0x4EBEFB0: do_write (unix.c:365)
==2411==    by 0x4EBF054: fd_flush (unix.c:415)
==2411==    by 0x4EB2480: _gfortran_st_backspace (file_pos.c:230)
==2411==    by 0x400AF5: MAIN__ (unf_io_convert_3.f90:9)
==2411==    by 0x400D7B: main (fmain.c:22)
==2411==  Address 0x40508B4 is 156 bytes inside a block of size 8,344 alloc'd
==2411==    at 0x4C21D06: malloc (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==2411==    by 0x4E3E518: _gfortrani_get_mem (memory.c:53)
==2411==    by 0x4EBFA79: fd_to_stream (unix.c:1072)
==2411==    by 0x4EB8A20: _gfortrani_new_unit (open.c:381)
==2411==    by 0x4EB90B9: _gfortran_st_open (open.c:566)
==2411==    by 0x400A6A: MAIN__ (unf_io_convert_3.f90:7)
==2411==    by 0x400D7B: main (fmain.c:22)


-- 
           Summary: "Syscall param write(buf) points to uninitialised
                    value": unf_io_convert_3.f90
           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


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

Reply via email to