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/34956] New: -fbounds-check: bounds_check_9.f90: Use of uninitialized memory


The following only fails if -fbounds-check are turned on.

./bounds_check_9.f90
==29980== Conditional jump or move depends on uninitialised value(s)
==29980==    at 0x4008BD: __sub_mod_MOD_sub (bounds_check_9.f90:23)
==29980==    by 0x400C72: MAIN__ (bounds_check_9.f90:34)
[...]

./bounds_check_fail_2.f90
==29996== Conditional jump or move depends on uninitialised value(s)
==29996==    at 0x4008BD: __sub_mod_MOD_sub (bounds_check_fail_2.f90:24)
==29996==    by 0x400C72: MAIN__ (bounds_check_fail_2.f90:35)
==29996==    by 0x400D1B: main (fmain.c:21)
[...]


-- 
           Summary: -fbounds-check: bounds_check_9.f90: Use of uninitialized
                    memory
           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=34956


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