This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31295] New: Uninitialized variable in libgfortran's _gfortran_eoshift0_4
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Mar 2007 14:18:35 -0000
- Subject: [Bug fortran/31295] New: Uninitialized variable in libgfortran's _gfortran_eoshift0_4
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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