From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1468 invoked by alias); 26 Jul 2010 17:02:39 -0000 Received: (qmail 32431 invoked by uid 48); 26 Jul 2010 17:02:12 -0000 Date: Mon, 26 Jul 2010 17:02:00 -0000 Message-ID: <20100726170212.32429.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/40873] -fwhole-file -fwhole-program: Wrong decls cause too much to be optimized away In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dominiq at lps dot ens dot fr" 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: 2010-07/txt/msg02891.txt.bz2 ------- Comment #24 from dominiq at lps dot ens dot fr 2010-07-26 17:02 ------- With the patch in comment #23, the polyhedron tests gas_dyn.f90 and test_fpu.f90 do not link and compiling the test in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31867#c6 gives an ICE (Segmentation fault). Otherwise all the other polyhedron tests compile with -O3 -g -fwhole-program and I did not see any miscompilation, regtested without regression. Nice work! thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40873