From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25219 invoked by alias); 27 Nov 2012 15:51:00 -0000 Received: (qmail 25161 invoked by uid 48); 27 Nov 2012 15:50:44 -0000 From: "bonzini at gnu dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/55489] [4.7/4.8 regression] insane PRE memory usage with PIE (translate.i) Date: Tue, 27 Nov 2012 15:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Keywords: memory-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: bonzini at gnu dot org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.3 X-Bugzilla-Changed-Fields: Known to work Summary Known to fail 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/msg02541.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55489 Paolo Bonzini changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work|4.8.0 | Summary|[4.7 regression] insane PRE |[4.7/4.8 regression] insane |memory usage with PIE |PRE memory usage with PIE |(translate.i) |(translate.i) Known to fail| |4.8.0 --- Comment #1 from Paolo Bonzini 2012-11-27 15:50:44 UTC --- Strictly not a regression, because the underlying bug is present since always. But something between 4.4.6 and 4.7.2 caused memory usage to become much worse. Also, marking it as not-working in 4.8 because the allocation of reg_known_value is wrong: vec_alloc (reg_known_value, maxreg - FIRST_PSEUDO_REGISTER); and that's what causes the bug to be latent: set_reg_known_value becomes a no-op, and get_reg_known_value always returns NULL.