From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12236 invoked by alias); 26 Jul 2010 13:25:55 -0000 Received: (qmail 11517 invoked by uid 48); 26 Jul 2010 13:25:42 -0000 Date: Mon, 26 Jul 2010 13:25:00 -0000 Message-ID: <20100726132542.11516.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: "burnus at gcc dot gnu dot org" 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/msg02854.txt.bz2 ------- Comment #23 from burnus at gcc dot gnu dot org 2010-07-26 13:25 ------- Created an attachment (id=21315) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21315&action=view) New trans-decl.c patch - seems to work well New patch. Found the problem with the help of Jakub (thanks!); not yet regtested but it works with the previously failing examples. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40873