Since compilers (and by "compilers" I mean gcc mostly) quietly break your code behind your back, you have no way of telling whether you really fixed things or not.
Compile your test suite with -fsanitize=undefined.
Compile your test suite with -fsanitize=undefined.