* Vincent Lefevre <vincent@vinc17.net>, 2014-04-14, 12:56:
IMHO, in general, for security, it is better to run code with a sanitizer (such as "clang -fsanitize=undefined -fno-sanitize-recover", assuming that the code does not use floating point),
gcc has also -ftrapv, which might be what you want. -- Jakub Wilk