https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66163
Jan Hubicka <hubicka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Yes, ubsan should have flag to check that for methods the THIS parameter is non-NULL and that all REFERENCE_TYPE parameters are non-NULL, too. It should be easy excercise to get implemented :)