[Bug fortran/29975] [meta-bugs] ICEs with CP2K
jv244 at cam dot ac dot uk
gcc-bugzilla@gcc.gnu.org
Tue Apr 24 14:27:00 GMT 2007
------- Comment #94 from jv244 at cam dot ac dot uk 2007-04-24 15:27 -------
In fact, gfortran gives a hint here. The file that gets miscompiled produces
the following warnings:
cp2k/obj/Linux-x86-64-gfortran/sdbg> gfortran -c -O2 -g -Wall -Wextra
ai_overlap_new.f90
ai_overlap_new.f90: In function ÂoverlapÂ:
ai_overlap_new.f90:60: warning: Âoffset.8Â may be used uninitialized in this
function
ai_overlap_new.f90:60: warning: Âstride.7Â may be used uninitialized in this
function
ai_overlap_new.f90:60: warning: Âstride.5Â may be used uninitialized in this
function
ai_overlap_new.f90:60: warning: Âpab.0Â may be used uninitialized in this
function
ai_overlap_new.f90:60: warning: Âoffset.16Â may be used uninitialized in this
function
ai_overlap_new.f90:60: warning: Âstride.15Â may be used uninitialized in this
function
ai_overlap_new.f90:60: warning: Âstride.13Â may be used uninitialized in this
function
ai_overlap_new.f90:60: warning: Âstride.11Â may be used uninitialized in this
function
ai_overlap_new.f90:60: warning: Âsdab.0Â may be used uninitialized in this
function
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29975
More information about the Gcc-bugs
mailing list