https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71069
--- Comment #3 from Eugene Zelenko <eugene.zelenko at gmail dot com> --- (In reply to Andrew Pinski from comment #2) > -fsantize=undefined will catch this at runtime. What is undefined is > passing a NULL to setData. It'll be much better to report such problems during compilation, since run-time paths depends on test cases.