From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29555 invoked by alias); 7 Jul 2005 02:59:31 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 29502 invoked by uid 22791); 7 Jul 2005 02:59:26 -0000 Received: from w099.z064220152.sjc-ca.dsl.cnc.net (HELO duck.specifix.com) (64.220.152.99) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 07 Jul 2005 02:59:26 +0000 Received: from [127.0.0.1] (duck.corp.specifix.com [192.168.1.1]) by duck.specifix.com (Postfix) with ESMTP id A188941AD; Wed, 6 Jul 2005 20:00:59 -0700 (PDT) Subject: Re: named address spaces (update) From: James E Wilson To: Martin Koegler Cc: gcc@gcc.gnu.org In-Reply-To: <20050703143104.GA18820@ahab.auto.tuwien.ac.at> References: <20050629084740.GA8315@ahab.auto.tuwien.ac.at> <42C5F29E.6000004@specifixinc.com> <20050703143104.GA18820@ahab.auto.tuwien.ac.at> Content-Type: text/plain Message-Id: <1120705060.11505.147.camel@aretha.corp.specifix.com> Mime-Version: 1.0 Date: Thu, 07 Jul 2005 02:59:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2005-07/txt/msg00268.txt.bz2 On Sun, 2005-07-03 at 07:31, Martin Koegler wrote: > * need to rewrite recursivly each element of type (which my contain structures, > unions, ...) if a address space is set > In http://gcc.gnu.org/ml/gcc/2005-04/msg01438.html, this was rated as bad idea. It is possible I was wrong. Conceptually, this doesn't seem much different than existing type qualifiers const/volatile, for which case we must already have a solution. Maybe similar treatment will work for named address spaces? Otherwise, these answers all seem very reasonable. One more thing occurred to me. An official patch will also require documentation. We will need user documentation to explain the new source code constructs and their behaviour. And we will need internals documentation to explain the new macros, etc. -- Jim Wilson, GNU Tools Support, http://www.specifix.com