From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13440 invoked by alias); 19 Dec 2011 15:52:35 -0000 Received: (qmail 13429 invoked by uid 22791); 19 Dec 2011 15:52:34 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_NL X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 19 Dec 2011 15:52:21 +0000 From: "danlnagle at me dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/51605] internal compiler error gfc_trans_block_construct, at fortran/trans-stmt.c:984 Date: Mon, 19 Dec 2011 15:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: danlnagle at me dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2011-12/txt/msg02132.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51605 --- Comment #11 from Dan Nagle 2011-12-19 15:51:40 UTC --- Hi, I can confirm that changing the label of the select type to integer_or_logical_or_error removes the ICE. I did so at lines 9325 and 13536 in the original source. The new label is a better description of the purpose of the select type anyway. Thanks, everyone! The new version of coco has some (I think anyway) good new features, and some older stuff removed, as per requests. So it's very good to have gfortran on the list of compilers known to work. The new coco is in testing now, but I hope to be able to distribute it RSN. On Dec 19, 2011, at 08:17 , burnus at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51605 > > --- Comment #9 from Tobias Burnus 2011-12-19 13:17:15 UTC --- > Dan: Your program should work (with 4.6.2 - or with 4.7 + my patch) if you > either change either the SELECT TYPE label or the subroutine name from > "integer_or_logical" to something else. > > * * * > > Reduced test case for the ICE: > > contains > subroutine foo > BLOCK_NAME: block > end block BLOCK_NAME > end subroutine foo > > subroutine BLOCK_NAME() > end subroutine BLOCK_NAME > > subroutine bar() > end subroutine bar > end > > -- > Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug.