[Bug fortran/47552] New: CTIME: Valgrind warning "depends on uninitialised value"
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 31 13:37:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47552
Summary: CTIME: Valgrind warning "depends on uninitialised
value"
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: burnus@gcc.gnu.org
CC: jb@gcc.gnu.org
The following does not seem to be a regression and it only occurs with the
function version and not with the subroutine version.
character(len=20) :: str
! OK:
!call ctime(time8(),str)
! Valgrind issue (2x line 7):
! Conditional jump or move depends on uninitialised value
str = ctime(time8()) ! << this line
print *, str
end
More information about the Gcc-bugs
mailing list