Re: compiler warnings with gcc 4.8 and -Og

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: compiler warnings with gcc 4.8 and -Og
Дата
Msg-id 852626.1654146598@sss.pgh.pa.us
обсуждение исходный текст
Ответ на compiler warnings with gcc 4.8 and -Og  (Justin Pryzby <pryzby@telsasoft.com>)
Ответы Re: compiler warnings with gcc 4.8 and -Og  (Daniel Gustafsson <daniel@yesql.se>)
Re: compiler warnings with gcc 4.8 and -Og  (Matthias van de Meent <boekewurm+postgres@gmail.com>)
Re: compiler warnings with gcc 4.8 and -Og  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Justin Pryzby <pryzby@telsasoft.com> writes:
> forking: <20220302205058.GJ15744@telsasoft.com>: Re: Adding CI to our tree
> On Wed, Mar 02, 2022 at 02:50:58PM -0600, Justin Pryzby wrote:
>> BTW (regarding the last patch), I just noticed that -Og optimization can cause
>> warnings with gcc-4.8.5-39.el7.x86_64.

I'm a little dubious about whether -Og is a case we should pay special
attention to?  Our standard optimization setting for gcc is -O2, and
once you go away from that there are any number of weird cases that
may or may not produce warnings.  I'm not entirely willing to buy
the proposition that we must suppress warnings on
any-random-gcc-version combined with any-random-options.

            regards, tom lane



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [PATCH] Fix pg_upgrade test from v10
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: Multi-Master Logical Replication