From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3437 invoked by alias); 5 May 2009 18:12:43 -0000 Received: (qmail 3374 invoked by uid 48); 5 May 2009 18:12:25 -0000 Date: Tue, 05 May 2009 18:12:00 -0000 Message-ID: <20090505181225.3373.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/40011] Problems with -fwhole-file In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pault 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: 2009-05/txt/msg00362.txt.bz2 ------- Comment #13 from pault at gcc dot gnu dot org 2009-05-05 18:12 ------- (In reply to comment #12) ...snip... > [ibook-dhum] f90/bug% a.out > 42 > 42 > Abort > This turns out to be the same bug as that which caused the segfault in gas_dyn.f90. Use associated procedures need to be excluded from the part of the patch in trans-decl.c. Once this is done, the whole polyhedron suite compiles and runs at any level of optimization. The updated patch is regtesting right now. It still needs module procedures to be incorporated but it is nearly there. I have been thinking hard about type cheating - I am likely to allow it for std-f77 and legacy, to warn with other standards and fail with -pedantic. However, I am open to better proposals. I have not checked yet whether type cheating references to a procedure need a double declaration or not (ie. to avoid typing troubles in the back end). Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40011