https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68065
--- Comment #2 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- This seems like a matter for -fsanitize=undefined as I suggested in <https://gcc.gnu.org/ml/gcc-patches/2013-09/msg00948.html>.