pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Andres Freund <andres@anarazel.de>
To: pgsql-hackers@postgresql.org
Subject: Re: "may be unused" warnings for gcc
Date: Tue, 21 Feb 2017 17:20:44 -0500
Message-ID: <d7d56258-a632-43e9-fdf2-4d35e257c8ad@2ndquadrant.com> (raw)
In-Reply-To: <20170220144118.qqq3zp2lnuq52e4c@alap3.anarazel.de>
References: <20170220144118.qqq3zp2lnuq52e4c@alap3.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

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



view thread (5+ messages)  latest in thread

Message-ID: <d7d56258-a632-43e9-fdf2-4d35e257c8ad@2ndquadrant.com>
Permalink:  ../d7d56258-a632-43e9-fdf2-4d35e257c8ad@2ndquadrant.com/
Also on:    postgresql.org/message-id/d7d56258-a632-43e9-fdf2-4d35e257c8ad@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, andres@anarazel.de
  Subject: Re: "may be unused" warnings for gcc
  In-Reply-To: <d7d56258-a632-43e9-fdf2-4d35e257c8ad@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox