This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31295] Uninitialized variable in libgfortran's _gfortran_eoshift0_4
- From: "tkoenig at alice-dsl dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Mar 2007 20:14:51 -0000
- Subject: [Bug fortran/31295] Uninitialized variable in libgfortran's _gfortran_eoshift0_4
- References: <bug-31295-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from tkoenig at alice-dsl dot net 2007-03-23 20:14 -------
The eoshift.f90 case is 'mostly harmless'. We are doing calculations
with the value, but don't actually use this for anything.
We can "fix" this (cosmetic fix for valgrind, really) by
setting sstride[0] to an arbitray value that would cause
a segfault if the value was actually used for anything.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31295