From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28571 invoked by alias); 16 May 2011 00:49:40 -0000 Received: (qmail 28562 invoked by uid 22791); 16 May 2011 00:49:40 -0000 X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 16 May 2011 00:49:18 +0000 Received: from eggs.gnu.org ([140.186.70.92]:45276) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QLlzq-00086F-51 for gcc-patches@gnu.org; Sun, 15 May 2011 20:49:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QLlzp-000242-0m for gcc-patches@gnu.org; Sun, 15 May 2011 20:49:18 -0400 Received: from mail-yx0-f169.google.com ([209.85.213.169]:41683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QLlzo-00023y-Uk for gcc-patches@gnu.org; Sun, 15 May 2011 20:49:16 -0400 Received: by yxt33 with SMTP id 33so1704796yxt.0 for ; Sun, 15 May 2011 17:49:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.48.28 with SMTP id v28mr3004057ybv.428.1305506955697; Sun, 15 May 2011 17:49:15 -0700 (PDT) Received: by 10.147.125.11 with HTTP; Sun, 15 May 2011 17:49:15 -0700 (PDT) In-Reply-To: <1305504836.57384542@www2.webmail.us> References: <1305504836.57384542@www2.webmail.us> Date: Mon, 16 May 2011 09:11:00 -0000 Message-ID: Subject: Re: Patch: New GTY ((atomic)) option From: Gabriel Dos Reis To: Nicola Pero Cc: "gcc-patches@gnu.org" Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.213.169 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-05/txt/msg01092.txt.bz2 On Sun, May 15, 2011 at 7:13 PM, Nicola Pero wrote: > This patch adds a new GTY option, "atomic", which is similar to the identical option you have with Boehm GC > and which can be used with pointers to inform the GC/PCH machinery that they point to an area of memory that [...] > This patch basically implements it, but at this stage requires you to explicitly tell gengtype that the > pointer is atomic (and that is safe for gengtype to ignore the memory it points to). then should you not name the attribute "ignore"? -- Gaby