https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105950
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- For UBSan, you can't just compile with -fsanitize=undefined, you need to link with that flag as well.