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/31298] New: Uninitialized variable in f951 (in read_module)


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


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