From owner-svn-src-head@FreeBSD.ORG Mon Nov 4 18:15:46 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1AB371F0; Mon, 4 Nov 2013 18:15:46 +0000 (UTC) (envelope-from sbruno@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 06D4C281A; Mon, 4 Nov 2013 18:15:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA4IFjZH081493; Mon, 4 Nov 2013 18:15:45 GMT (envelope-from sbruno@svn.freebsd.org) Received: (from sbruno@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA4IFjwO081492; Mon, 4 Nov 2013 18:15:45 GMT (envelope-from sbruno@svn.freebsd.org) Message-Id: <201311041815.rA4IFjwO081492@svn.freebsd.org> From: Sean Bruno Date: Mon, 4 Nov 2013 18:15:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r257645 - head/gnu/lib/libgcc X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Nov 2013 18:15:46 -0000 Author: sbruno Date: Mon Nov 4 18:15:45 2013 New Revision: 257645 URL: http://svnweb.freebsd.org/changeset/base/257645 Log: Quiesce warning around gcc_assert() for an inline macro that uses a static variable. This code has been moved around in gcc, but is still in use in the latest trunk version of the compiler. gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:208:36: warning: static variable 'dwarf_reg_size_table' is used in an inline function with external linkage [-Wstatic-in-inline] gcc_assert (index < (int) sizeof(dwarf_reg_size_table)); Modified: head/gnu/lib/libgcc/Makefile Modified: head/gnu/lib/libgcc/Makefile ============================================================================== --- head/gnu/lib/libgcc/Makefile Mon Nov 4 18:14:50 2013 (r257644) +++ head/gnu/lib/libgcc/Makefile Mon Nov 4 18:15:45 2013 (r257645) @@ -27,6 +27,17 @@ CFLAGS+= -DIN_GCC -DIN_LIBGCC2 -D__GCC_F -I${GCCDIR}/config -I${GCCDIR} -I. \ -I${.CURDIR}/../../usr.bin/cc/cc_tools +# Added to quiesce warning around gcc_assert() for an inline macro that uses +# a static variable. This code has been moved around in gcc, but is still in +# use in the latest trunk version of the compiler. +# +# gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:208:36: +# warning: static variable 'dwarf_reg_size_table' is used in an inline +# function with external linkage [-Wstatic-in-inline] +# gcc_assert (index < (int) sizeof(dwarf_reg_size_table)); +# ^ +CFLAGS+= -Wno-static-in-inline + LDFLAGS+= -nodefaultlibs LDADD+= -lc