From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6126 invoked by alias); 24 Apr 2007 14:27:29 -0000 Received: (qmail 6071 invoked by uid 48); 24 Apr 2007 14:27:19 -0000 Date: Tue, 24 Apr 2007 14:27:00 -0000 Message-ID: <20070424142719.6070.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/29975] [meta-bugs] ICEs with CP2K In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jv244 at cam dot ac dot uk" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-04/txt/msg01767.txt.bz2 ------- 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