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

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] "may be unused" warnings for gcc
Дата
Msg-id 15fb2350-b8b8-e188-278f-0b34fdee5210@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: [HACKERS] "may be unused" warnings for gcc  (Andres Freund <andres@anarazel.de>)
Ответы Re: [HACKERS] "may be unused" warnings for gcc  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On 2/21/17 22:17, Andres Freund wrote:
> I've not run comparisons this year, but late last year I was seeing > 5%
> < 10% benefits - that seems plenty enough to care.

You mean the 5-minute benchmarks on my laptop are not representative? ;-)

Here is a patch that I had lying around that clears the compiler
warnings under -O3 for me.  It seems that they are a subset of what you
are seeing.  Plausibly, as compilers are doing more analysis in larger
scopes, we can expect to see more of these.

-- 
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

Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: [HACKERS] remove deprecated COMMENT ON RULE syntax
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Replication vs. float timestamps is a disaster