Re: compiler warnings with gcc 4.8 and -Og

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: compiler warnings with gcc 4.8 and -Og
Дата
Msg-id B1CCBCDD-9764-49B9-81C4-A41A66B860B7@yesql.se
обсуждение исходный текст
Ответ на Re: compiler warnings with gcc 4.8 and -Og  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> On 2 Jun 2022, at 07:09, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> 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 think we should pick one level to keep warning free, and stick to that.  In
light of that, -O2 seems a lot more appealing than -Og.

--
Daniel Gustafsson        https://vmware.com/




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

Предыдущее
От: Aleksander Alekseev
Дата:
Сообщение: Re: [PATCH] Compression dictionaries for JSONB
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [PATCH] Expose port->authn_id to extensions and triggers