This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31298] New: Uninitialized variable in f951 (in read_module)
- 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 15:15:29 -0000
- Subject: [Bug fortran/31298] New: Uninitialized variable in f951 (in read_module)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
valgrind finds when compiling gfortran.dg/use_6.f90
the following unitinitalized variables:
==29473== Conditional jump or move depends on uninitialised value(s)
==29473== at 0x43DD76: read_module (module.c:733)
==29473== by 0x43E664: gfc_use_module (module.c:4201)
==29473== by 0x443DC7: accept_statement (parse.c:1256)
==29473== by 0x444854: parse_spec (parse.c:1902)
==29473== by 0x445C95: parse_progunit (parse.c:2901)
==29473== by 0x445F01: gfc_parse_file (parse.c:3239)
==29473== by 0x46423D: gfc_be_parse_file (f95-lang.c:307)
==29473== by 0x679573: toplev_main (toplev.c:1050)
==29473== by 0x52BE943: (below main) (in /lib64/libc-2.5.so)
Analogusly for use_5.f90.
--
Summary: Uninitialized variable in f951 (in read_module)
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=31298