Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgIp7-0007Fn-EM for pgsql-hackers@arkaria.postgresql.org; Tue, 21 Feb 2017 22:22:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cgIp7-0001OV-1I for pgsql-hackers@arkaria.postgresql.org; Tue, 21 Feb 2017 22:22:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cgIng-0006of-NH for pgsql-hackers@postgresql.org; Tue, 21 Feb 2017 22:20:48 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cgIne-0001Ew-Hv for pgsql-hackers@postgresql.org; Tue, 21 Feb 2017 22:20:48 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 3727E209A2; Tue, 21 Feb 2017 17:20:45 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute7.internal (MEProxy); Tue, 21 Feb 2017 17:20:45 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= smtpout; bh=oWZ4fFh0KwVUUfju9/sT3l7WTGE=; b=tT8Id3mGN67TcDGjfyz3 YIIdEpMwpnbD8AnQES+HN6PuqcoFPSMEI16ckkNw76uxDheBv8/4u7aAILEKCDqD Ule+L3cGAjeXsvxsMZsfYD2CVL5iHr9mwfPBLb0H0FL5He9BbmaPNyGHvS4iibK3 2jirse1aucvH9hkFLFR3DGc= X-ME-Sender: X-Sasl-enc: rQ36dVtpvxiz5x29IviTRgkQt/wJCvCvi6WbOX0ODBUP 1487715645 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id EF43F7E446; Tue, 21 Feb 2017 17:20:44 -0500 (EST) Subject: Re: "may be unused" warnings for gcc To: Andres Freund , pgsql-hackers@postgresql.org References: <20170220144118.qqq3zp2lnuq52e4c@alap3.anarazel.de> From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Tue, 21 Feb 2017 17:20:44 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170220144118.qqq3zp2lnuq52e4c@alap3.anarazel.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 2/20/17 09:41, Andres Freund wrote: > When building with a new-ish gcc (6.3.0 right now, but I've seen this > for a while) with optimization I get a number of warnings: These all look like related to inlining/-O3. I have attempted to fix these in the past, but I have found that -O3 doesn't get any performance improvement, so I haven't bothered lately. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers