[Bug c++/92289] Worse "control reaches end of non-void function" diagnostic with undefined sanitizer

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 30 17:39:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92289

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
In this particular case, there is instrumentation added because of the
-fsanitize=return for the missing return in the function and that affects the
warning location.


More information about the Gcc-bugs mailing list