From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10070 invoked by alias); 1 Apr 2013 17:10:25 -0000 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 Received: (qmail 9985 invoked by uid 48); 1 Apr 2013 17:10:14 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56731] [4.7 Regression] [OOP] ICE on (wrongly) referencing polymorphic array in select type Date: Mon, 01 Apr 2013 17:10: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: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: janus at gcc dot gnu.org X-Bugzilla-Status: NEW 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 X-SW-Source: 2013-04/txt/msg00025.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56731 --- Comment #8 from janus at gcc dot gnu.org 2013-04-01 17:10:13 UTC --- (In reply to comment #1) > Trunk gives: > > select type(an => carr%c) > 1 > Error: Component to the right of a part reference with nonzero rank must not > have the ALLOCATABLE attribute at (1) That error message was apparently fixed for CLASS components (PR53191) with this commit: http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=187192 Not sure if it's worth backporting though.