From owner-freebsd-arch@FreeBSD.ORG Sun May 13 11:42:21 2007 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 17A4416A407 for ; Sun, 13 May 2007 11:42:21 +0000 (UTC) (envelope-from bde@zeta.org.au) Received: from mailout2.pacific.net.au (mailout2-3.pacific.net.au [61.8.2.226]) by mx1.freebsd.org (Postfix) with ESMTP id CF83D13C448 for ; Sun, 13 May 2007 11:42:20 +0000 (UTC) (envelope-from bde@zeta.org.au) Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.2.162]) by mailout2.pacific.net.au (Postfix) with ESMTP id F013B119001; Sun, 13 May 2007 21:42:11 +1000 (EST) Received: from besplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailproxy1.pacific.net.au (Postfix) with ESMTP id 36A648C04; Sun, 13 May 2007 21:42:18 +1000 (EST) Date: Sun, 13 May 2007 21:42:18 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: "Sean C. Farley" In-Reply-To: <20070512170535.A7595@thor.farley.org> Message-ID: <20070513212509.Y70611@besplex.bde.org> References: <20070504213312.GA33163@nagual.pp.ru> <20070504174657.D1343@thor.farley.org> <20070505213202.GA49925@nagual.pp.ru> <20070505163707.J6670@thor.farley.org> <20070505221125.GA50439@nagual.pp.ru> <20070506091835.A43775@besplex.bde.org> <20070508162458.G6015@baba.farley.org> <20070508222521.GA59534@nagual.pp.ru> <20070509200000.B56490@besplex.bde.org> <20070510184447.H4969@baba.farley.org> <20070511083502.GJ54713@elvis.mu.org> <20070511181141.P9004@baba.farley.org> <20070512170748.msq4hriby804skcg@webmail.leidinger.net> <20070512170535.A7595@thor.farley.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Alexander Leidinger , arch@freebsd.org Subject: Re: HEADS DOWN X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 May 2007 11:42:21 -0000 On Sat, 12 May 2007, Sean C. Farley wrote: > On Sat, 12 May 2007, Alexander Leidinger wrote: > >> Quoting "Sean C. Farley" (from Fri, 11 May 2007 >> 18:21:09 -0500 (CDT)): >> >>> It seems that __attribute__((pure)) is not supported by the Intel >>> compiler. Would my strlen() be of any use when libc is compiled with >>> it? >> >> That's one reason we have cdefs.h, so you can use appropriate macros >> instead of using __attribute__((foo)) directly. > > Actually, what I meant was that strlen() has the pure attribute via > __pure, and cdefs.h shows that the Intel compiler is not able to make > use of it. cdefs.h really shouldn't have __pure. __pure was __pure2 in FreeBSD-1/gcc-1. __pure2 exists because the the syntax for it is incompatible with the syntax for the FreeBSD-1 __pure, not because it is purer than gcc's pure = the FreeBSD_current __pure. The syntax is incompatible because gcc-1 didn't have __attribute__(()). gcc-1 and most of gcc-2 also didn't have `pure' to cause confusion with FreeBSD's __pure*. Bruce