https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87884
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Martin Liška from comment #1) > In general we have issues with warnings when sanitizers are used. > Martin: What about notifying users that one should not combine sanitizers > and warnings? It's becoming a very common issue. We don't have issues with most of the warnings, the problems are mainly with late warnings, FE warnings are mostly ok. There are issues e.g. with warnings that rely on VRP where the extra runtime checks added for sanitization will cause fewer optimizations. This case is I guess about thread jumping on the NULL pointer checks.