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/31295] New: Uninitialized variable in libgfortran's _gfortran_eoshift0_4


Found by valgrind:
gfortran gfortran.dg/eoshift.f90
valgrind a.out

==20986== Conditional jump or move depends on uninitialised value(s)
==20986==    at 0x4EC57D7: eoshift0 (eoshift0.c:115)
==20986==    by 0x4EC5D0A: _gfortran_eoshift0_4 (eoshift0.c:251)
==20986==    by 0x4009A7: MAIN__ (in
/projects/tob/gcc/gcc/testsuite/gfortran.dg/a.out)
==20986==    by 0x400A3B: main (fmain.c:22)

Similarly for:
- zero_sized_1.f90


-- 
           Summary: Uninitialized variable in libgfortran's
                    _gfortran_eoshift0_4
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          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=31295


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