Re: Reducing the runtime of the core regression tests

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Reducing the runtime of the core regression tests
Дата
Msg-id CAH2-WzkhSqZj+TuULXtW1oOe729xH4odxx5sA0YhgYMBjbxeUA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Reducing the runtime of the core regression tests  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On Thu, Apr 25, 2019 at 7:23 PM Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
> Maybe it takes more than -O0 in cflags to disable those, but as I said,
> the compile lines do show the -O0.

Apparently, GCC does perform some optimizations at -O0, which is
barely acknowledged by its documentation:

http://www.complang.tuwien.ac.at/kps2015/proceedings/KPS_2015_submission_29.pdf

Search the PDF for "-O0" to see numerous references to this. It seems
to be impossible to turn off all GCC optimizations.

-- 
Peter Geoghegan



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Reducing the runtime of the core regression tests
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Segfault when restoring -Fd dump on current HEAD