Re: [HACKERS] "may be unused" warnings for gcc

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [HACKERS] "may be unused" warnings for gcc
Дата
Msg-id 20170222031722.kof3yzn5jfnf6jy4@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: [HACKERS] "may be unused" warnings for gcc  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: [HACKERS] "may be unused" warnings for gcc  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
On 2017-02-21 17:20:44 -0500, Peter Eisentraut wrote:
> 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.

I've not run comparisons this year, but late last year I was seeing > 5%
< 10% benefits - that seems plenty enough to care.

- Andres



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: [HACKERS] Statement timeout behavior in extended queries
Следующее
От: Ashutosh Bapat
Дата:
Сообщение: Re: [HACKERS] foreign partition DDL regression tests