Re: Clang 3.3 findings and Illegal Shifts

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Clang 3.3 findings and Illegal Shifts
Дата
Msg-id 20131113073525.GB5666@awork2.anarazel.de
обсуждение исходный текст
Ответ на Clang 3.3 findings and Illegal Shifts  (Jeffrey Walton <noloader@gmail.com>)
Ответы Re: Clang 3.3 findings and Illegal Shifts
Список pgsql-bugs
On 2013-11-12 19:58:31 -0500, Jeffrey Walton wrote:
> Here are Clang 3.3 findings regarding illegal shifts. The code will be
> subject to removal by the compiler and optimizer (and linker if LTO is
> used).

> /home/jwalton/postgresql-9.3.1/src/test/regress/./tmp_check/data/base/1
> ... localtime.c:127:20: runtime error: left shift of negative value -1

Those all seem to be runtime errors, so they aren't likely to be removed
by the compiler. That's not to say they shouldn't be looked at though.

Greetings,

Andres Freund

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #8587: quantile segfaults when quantile out of [0;1] range
Следующее
От: Jeffrey Walton
Дата:
Сообщение: be-secure.c and SSL/TLS