From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7874 invoked by alias); 10 Oct 2015 11:24:52 -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 7808 invoked by uid 48); 10 Oct 2015 11:24:48 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/58315] [4.9/5 Regression] Excessive memory use with -g Date: Sat, 10 Oct 2015 11:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: memory-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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: 2015-10/txt/msg00777.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58315 --- Comment #36 from Alexandre Oliva --- Created attachment 36472 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36472&action=edit backported patch for the 4.9 branch Chris, retbnd is of no concern, nothing equivalent existed back then. call_stmt was called gimple_call. Here's a backported patch, barely tested. Please let me know how it goes for you.