From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27855 invoked by alias); 5 Nov 2012 09:37:36 -0000 Received: (qmail 27803 invoked by uid 48); 5 Nov 2012 09:37:20 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/55207] Automatic deallocation of variables declared in the main program Date: Mon, 05 Nov 2012 09:37: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: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: janus at gcc dot gnu.org 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: 2012-11/txt/msg00347.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55207 --- Comment #5 from janus at gcc dot gnu.org 2012-11-05 09:37:20 UTC --- (In reply to comment #4) > Most of them seem to be scan-tree-dump failures, except for: > > FAIL: gfortran.dg/storage_size_3.f08 -O0 execution test > > which apparently segfaults at runtime (invalid memory reference). This is due to missing vptr initialization of the variable 'y': class(t), allocatable :: y