From owner-freebsd-arch@FreeBSD.ORG Sat Mar 7 17:39:05 2009 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8400106566B for ; Sat, 7 Mar 2009 17:39:05 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 9C5128FC0C for ; Sat, 7 Mar 2009 17:39:05 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n27Hd5GU006582 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 7 Mar 2009 09:39:05 -0800 (PST) (envelope-from sam@freebsd.org) Message-ID: <49B2B139.6010104@freebsd.org> Date: Sat, 07 Mar 2009 09:39:05 -0800 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: arch@freebsd.org References: <20090307103138.GA34456@zim.MIT.EDU> In-Reply-To: <20090307103138.GA34456@zim.MIT.EDU> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: Subject: Re: C99 inlines 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: Sat, 07 Mar 2009 17:39:06 -0000 David Schultz wrote: > I'd like the gcc in our tree to use the C99 semantics instead of GNU > semantics for inline functions in C99 and GNU99 mode. The following > patch implements this behavior. It is based on a snapshot of the gcc > 4.3 branch from March 2007, prior to the GPLv3 switch. > Why? I can imagine it improving portability to other toolchains like LLVM, ICC, etc. I'm not opposed but seems like you should be clear. Sam