From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1505 invoked by alias); 15 Mar 2014 10:56:55 -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 1460 invoked by uid 48); 15 Mar 2014 10:56:51 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/60529] [4.9 Regression] [OOP] ICE with allocatable sub-component Date: Sat, 15 Mar 2014 10:56: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-Version: 4.9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-03/txt/msg01233.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60529 --- Comment #2 from Dominique d'Humieres --- r206362 (2014-01-06) is OK, r206567 (2014-01-12) gives the ICE. > Probably caused by the finalization implementation? Author: janus Date: Mon Jan 6 23:21:39 2014 New Revision: 206379 URL: http://gcc.gnu.org/viewcvs?rev=206379&root=gcc&view=rev Log: 2014-01-06 Janus Weil PR fortran/59589 * class.c (comp_is_finalizable): New function to dermine if a given component is finalizable. (finalize_component, generate_finalization_wrapper): Use it. 2014-01-06 Janus Weil PR fortran/59589 * gfortran.dg/class_allocate_16.f90: New. Added: trunk/gcc/testsuite/gfortran.dg/class_allocate_16.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/class.c trunk/gcc/testsuite/ChangeLog is in the range.