This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29975] [meta-bugs] ICEs with CP2K
- From: "jv244 at cam dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Apr 2007 14:27:19 -0000
- Subject: [Bug fortran/29975] [meta-bugs] ICEs with CP2K
- References: <bug-29975-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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