From patchwork Mon Aug 26 11:07:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Joern Rennecke X-Patchwork-Id: 269859 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "www.sourceware.org", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by ozlabs.org (Postfix) with ESMTPS id BC0712C00B7 for ; Mon, 26 Aug 2013 21:07:40 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:to:cc:subject:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=OE/2jgo8xtS7LPyg mfci7+uSay1WCh7VQD1f8pNbulVVFlb95kkARGGkpg1At4fTiYGNt9UGZFggRJpr 8pmNDZR2TeTh7k75ThAiGCx1jl0zpIOuDVORKb2yFRr+SUoIQdkVh2xSmWvyCneR na1WVOZVrJY/utktMOn7DEBXyM0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:to:cc:subject:mime-version:content-type :content-transfer-encoding; s=default; bh=wYEDssnfphAv4N47W7XdJn v50tg=; b=EeZOweWfArEio9ZZzWjH2lC2OAFzi+TyNdD48ERQ4/47zTOkDl6eZ8 f1ZQ6jixUcepwGcV0F9943ye9FEnSkv2aoZh3WUYRt46s2PgtuK4VUvYHhafUli0 Uijg6XbyjGx+TstXESnQwGzmd0o67D3RBnpZB4lJicUp4qtwJ1rd8= Received: (qmail 28859 invoked by alias); 26 Aug 2013 11:07:32 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 28848 invoked by uid 89); 26 Aug 2013 11:07:32 -0000 Received: from c62.cesmail.net (HELO c62.cesmail.net) (216.154.195.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 26 Aug 2013 11:07:32 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED, AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: c62.cesmail.net Received: from unknown (HELO delta2) ([192.168.1.50]) by c62.cesmail.net with ESMTP; 26 Aug 2013 07:07:30 -0400 Received: from cust213-dsl91-135-11.idnet.net (cust213-dsl91-135-11.idnet.net [91.135.11.213]) by webmail.spamcop.net (Horde MIME library) with HTTP; Mon, 26 Aug 2013 07:07:29 -0400 Message-ID: <20130826070729.cdddm9kednkkg48c-nzlynne@webmail.spamcop.net> Date: Mon, 26 Aug 2013 07:07:29 -0400 From: Joern Rennecke To: gcc-patches@gcc.gnu.org Cc: Uros Bizjak Subject: Committed: fix i686 bootstrap: x86_64_elf_select_section is unused MIME-Version: 1.0 User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) bootstrap for i686-pc-linux-gnu was failing with: /ssd/fsf/boot-201992/./prev-gcc/xg++ -B/ssd/fsf/boot-201992/./prev-gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -nostdinc++ -B/ssd/fsf/boot-201992/prev-i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/ssd/fsf/boot-201992/prev-i686-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -I/ssd/fsf/boot-201992/prev-i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu -I/ssd/fsf/boot-201992/prev-i686-pc-linux-gnu/libstdc++-v3/include -I/ssd/fsf/gcc/libstdc++-v3/libsupc++ -L/ssd/fsf/boot-201992/prev-i686-pc-linux-gnu/libstdc++-v3/src/.libs -L/ssd/fsf/boot-201992/prev-i686-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -c -DIN_GCC_FRONTEND -g -O2 -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../gcc/gcc -I../../gcc/gcc/cp -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include -I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/bid -I../libdecnumber -I../../gcc/gcc/../libbacktrace ../../gcc/gcc/cp/cp-gimplify.c -o cp/cp-gimplify.o ../../gcc/gcc/config/i386/i386.c:4851:1: error: ‘section* x86_64_elf_select_section(tree, int, long long unsigned int)’ defined but not used [-Werror=unused-function] committed as obvious. Index: config/i386/i386.c =================================================================== --- config/i386/i386.c (revision 201992) +++ config/i386/i386.c (working copy) @@ -4847,7 +4847,7 @@ ix86_in_large_data_p (tree exp) RELOC indicates whether forming the initial value of DECL requires link-time relocations. */ -static section * ATTRIBUTE_UNUSED +ATTRIBUTE_UNUSED static section * x86_64_elf_select_section (tree decl, int reloc, unsigned HOST_WIDE_INT align) {