[Bug libfortran/31295] Uninitialized variable in libgfortran's _gfortran_eoshift0_4

fxcoudert at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Apr 17 21:41:00 GMT 2007



------- Comment #2 from fxcoudert at gcc dot gnu dot org  2007-04-17 22:41 -------
(In reply to comment #1)
> 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.

I'd go for (-1). Patch pre-approved.

PS: if you go for it before I have time, would you mind testing & commiting my
fix for PR31296 as well?


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |burnus at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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



More information about the Gcc-bugs mailing list