Re: strange failure in plpgsql_control tests (on fulmar, ICC 14.0.3)

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: strange failure in plpgsql_control tests (on fulmar, ICC 14.0.3)
Дата
Msg-id 20180317180436.q2ff7i33gsibqkka@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: strange failure in plpgsql_control tests (on fulmar, ICC 14.0.3)  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Список pgsql-hackers
Hi,

On 2018-03-17 18:55:11 +0100, Tomas Vondra wrote:
> Not sure, but the backbranches seem to be working fine, and the commit
> that triggers the issue is from December 31.

Well, that added the test.  Are you saying that if you execute similar
code on an older branch it doesn't fail?


> Anyway, I can confirm that the fix suggested by Tom does the trick

Could you try the attached patch, too?


I'm a bit afraid that we'll have to go a lot further if we can't make
icc do safe signed overflow in all cases. This case is easy enough to
fix, but we were lucky in a way to find it.  Given that apparently we
know that ICC also optimizes based on overflow sematics it seems we
should really work towards making all of the backend safe with that :(.


- Andres

Вложения

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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: strange failure in plpgsql_control tests (on fulmar, ICC 14.0.3)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: strange failure in plpgsql_control tests (on fulmar, ICC 14.0.3)