From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3099 invoked by alias); 5 Nov 2012 09:07:41 -0000 Received: (qmail 2837 invoked by uid 48); 5 Nov 2012 09:07:24 -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:07: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/msg00343.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55207 --- Comment #4 from janus at gcc dot gnu.org 2012-11-05 09:07:23 UTC --- (In reply to comment #3) > Therefore it has the same testsuite failures as the patch in > comment 1 (possibly more?). Indeed it has a few more ... FAIL: gfortran.dg/alloc_comp_basics_1.f90 -O0 scan-tree-dump-times original "builtin_free" 18 FAIL: gfortran.dg/alloc_comp_constructor_1.f90 -O0 scan-tree-dump-times original "builtin_free" 19 FAIL: gfortran.dg/allocatable_scalar_9.f90 -O0 scan-tree-dump-times original "__builtin_free" 32 FAIL: gfortran.dg/auto_dealloc_2.f90 -O scan-tree-dump-times original "__builtin_free" 3 FAIL: gfortran.dg/coarray_lib_alloc_2.f90 -O scan-tree-dump-times original "_gfortran_caf_deregister .&yy._data.token, 0B, 0B, 0.;" 1 FAIL: gfortran.dg/intent_optimize_1.f90 -O scan-tree-dump-times optimized "does_not_exist" 0 FAIL: gfortran.dg/storage_size_3.f08 -O0 execution test FAIL: gfortran.dg/extends_14.f03 -O scan-tree-dump-times original "__builtin_free" 3 FAIL: gfortran.dg/volatile4.f90 -O scan-tree-dump-not optimized "NonVolatileNotOptimizedAway" FAIL: gfortran.dg/volatile6.f90 -O scan-tree-dump-not optimized "NonVolatileNotOptimizedAway1" FAIL: gfortran.dg/move_alloc_4.f90 -O0 scan-tree-dump-times original "__builtin_free" 9 FAIL: gfortran.dg/typebound_proc_27.f03 -O0 scan-tree-dump-times original "__builtin_free" 7 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).