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