From owner-svn-src-all@FreeBSD.ORG Sun Mar 15 08:13:09 2009 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0838E106564A; Sun, 15 Mar 2009 08:13:09 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (77-93-215-190.static.masterinter.net [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id B2F1D8FC0C; Sun, 15 Mar 2009 08:13:08 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 91E2A9CB115; Sun, 15 Mar 2009 09:12:52 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B9uZej33Dfi6; Sun, 15 Mar 2009 09:12:40 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id C9AA29CB125; Sun, 15 Mar 2009 09:12:40 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id n2F8Ce1b040216; Sun, 15 Mar 2009 09:12:40 +0100 (CET) (envelope-from rdivacky) Date: Sun, 15 Mar 2009 09:12:40 +0100 From: Roman Divacky To: David Schultz Message-ID: <20090315081240.GB39715@freebsd.org> References: <200903141936.n2EJaDM5006130@svn.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200903141936.n2EJaDM5006130@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r189824 - in head/contrib/gcc: . doc X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2009 08:13:09 -0000 On Sat, Mar 14, 2009 at 07:36:13PM +0000, David Schultz wrote: > Author: das > Date: Sat Mar 14 19:36:13 2009 > New Revision: 189824 > URL: http://svn.freebsd.org/changeset/base/189824 > > Log: > Make gcc use C99 inline semantics in c99 and gnu99 mode. This was the > original intent, but the functionality wasn't implemented until after > gcc 4.2 was released. However, if you compiled a program that would > behave differently before and after this change, gcc 4.2 would have > warned you; hence, everything currently in the base system is > unaffected by this change. This patch also adds additional warnings > about certain inline function-related bogosity, e.g., using a > static non-const local variable in an inline function. > > These changes were merged from a snapshot of gcc mainline from March > 2007, prior to the GPLv3 switch. I then ran the regression test suite > from a more recent gcc snapshot and fixed the important bugs it found. > I also squelched the following warning unless -pedantic is specified: > > foo is static but used in inline function bar which is not static > > This is consistent with LLVM's behavior, but not consistent with gcc 4.3. thnx a lot for doing this! just a quick question - what is the fallback strategy for ports that will die on this? roman