Re: BUG #5592: list of integer undefined behaviors

Поиск
Список
Период
Сортировка
От John Regehr
Тема Re: BUG #5592: list of integer undefined behaviors
Дата
Msg-id 4C588A94.2040102@cs.utah.edu
обсуждение исходный текст
Ответ на Re: BUG #5592: list of integer undefined behaviors  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
> Just to follow up: all the other ones seem to be non-problems.

Would you folks be willing to specify which arithmetic operations are
considered to be safe in the case of overflow?  Something simple like an
"INTEGER_OVERFLOW_OK" comment at the end of the line of code containing
the operation would suffice.  This would let me automatically filter out
error messages on these lines of code in the future.

John Regehr

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #5592: list of integer undefined behaviors
Следующее
От: John Regehr
Дата:
Сообщение: Re: BUG #5592: list of integer undefined behaviors