This patch series enables GCC (and clang) checking for invalid pointers and undefined behavior in checked builds. Most of the latter turned out to be left-shifting of signed integers which are undefined behavior, but generally behave correctly AFAICT.