From owner-freebsd-arch@FreeBSD.ORG Sat Mar 7 11:19:45 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 282F11065675 for ; Sat, 7 Mar 2009 11:19:45 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.9.129]) by mx1.freebsd.org (Postfix) with ESMTP id E43E78FC23 for ; Sat, 7 Mar 2009 11:19:44 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id C089B73098; Sat, 7 Mar 2009 12:24:49 +0100 (CET) Date: Sat, 7 Mar 2009 12:24:49 +0100 From: Luigi Rizzo To: arch@FreeBSD.ORG Message-ID: <20090307112449.GB45088@onelab2.iet.unipi.it> References: <20090307103138.GA34456@zim.MIT.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090307103138.GA34456@zim.MIT.EDU> User-Agent: Mutt/1.4.2.3i 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 11:19:45 -0000 On Sat, Mar 07, 2009 at 05:31:38AM -0500, 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. > > http://www.freebsd.org/~das/c99inline.diff ... > What do people think about this? would you be able to provide a short summary of how the C99 and GNU99 semantics differ, so that people will have a easier time figuring out how to handle the change ? Especially, is there anything that a developer should worry about, or except from some corner cases the switch will (and should) be completely transparent to the average developer without a specific interest in compilers ? I know what I am asking is probably in the diff you supplied, but it's a bit difficult to follow there thanks luigi