From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17908 invoked by alias); 7 Apr 2011 21:33:21 -0000 Received: (qmail 17896 invoked by uid 22791); 7 Apr 2011 21:33:19 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-gw0-f47.google.com (HELO mail-gw0-f47.google.com) (74.125.83.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 07 Apr 2011 21:33:15 +0000 Received: by gwb11 with SMTP id 11so1447787gwb.20 for ; Thu, 07 Apr 2011 14:33:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.63.9 with SMTP id l9mr1227503yba.286.1302211994381; Thu, 07 Apr 2011 14:33:14 -0700 (PDT) Received: by 10.100.214.4 with HTTP; Thu, 7 Apr 2011 14:33:14 -0700 (PDT) In-Reply-To: <4D9D56F4.3050203@gmail.com> References: <4D9D56F4.3050203@gmail.com> Date: Thu, 07 Apr 2011 21:33:00 -0000 Message-ID: Subject: Re: [gc-improv] Permanent vs function RTL obstack fix From: Steven Bosscher To: Laurynas Biveinis Cc: gcc-patches@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-04/txt/msg00588.txt.bz2 On Thu, Apr 7, 2011 at 8:17 AM, Laurynas Biveinis wrote: > Fixes a bunch of C testsuite failures. Committed to gc-improv. > > 2011-04-07 =A0Laurynas Biveinis =A0 > > =A0 =A0 =A0 =A0* stmt.c (label_rtx): Allocate RTX in permanent RTL memory. That looks strange, labels should be function specific, except non-local labels. Maybe you can get away with allocating DECL_NONLOCAL labels on the permanent rtl obstack? Perhaps a third, per-translation-unit obstack is necessary? Ciao! Steven