From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14197 invoked by alias); 26 Jul 2010 21:00:39 -0000 Received: (qmail 13897 invoked by uid 48); 26 Jul 2010 21:00:20 -0000 Date: Mon, 26 Jul 2010 21:00:00 -0000 Message-ID: <20100726210020.13896.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/msg02906.txt.bz2 ------- Comment #26 from dominiq at lps dot ens dot fr 2010-07-26 21:00 ------- The patch in comment #25 fixes the ICE for PR 31867 comment 6, but causes also several regressions with "... must have an explicit interface" errors: FAIL: gfortran.dg/allocatable_function_1.f90 (test for excess errors) FAIL: gfortran.dg/allocatable_function_3.f90 (test for excess errors) FAIL: gfortran.dg/char_result_3.f90 (test for excess errors) FAIL: gfortran.dg/char_result_4.f90 (test for excess errors) FAIL: gfortran.dg/f2c_6.f90 (test for excess errors) FAIL: gfortran.dg/import6.f90 (test for excess errors) FAIL: gfortran.dg/pointer_check_6.f90 (test for excess errors) FAIL: gfortran.dg/value_tests_f03.f90 (test for excess errors) FAIL: gfortran.fortran-torture/execute/entry_7.f90 compilation -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40873