From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12362 invoked by alias); 20 Jan 2013 17:31:50 -0000 Received: (qmail 12303 invoked by uid 48); 20 Jan 2013 17:31:27 -0000 From: "mikael at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/54107] [4.8 Regression] Memory hog with abstract interface Date: Sun, 20 Jan 2013 17:31: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: mikael at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 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: 2013-01/txt/msg01899.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54107 --- Comment #10 from Mikael Morin 2013-01-20 17:31:24 UTC --- Created attachment 29228 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29228 Not working patch This patch implements comment #9. It fails on proc_decl* and proc_ptr* and cray_pointer_9 unfortunately. I investigated the last failure and the outcome is this: if the dummy arguments are not present in the procedure symbol, then the array spec and the character length shall be taken out of it as well, as they contain expressions that may refer to the dummy arguments. This makes the approach really too intrusive.