[Bug sanitizer/91389] [7/8/9/10 Regression] error: control reaches end of non-void function with -fsanitize=thread since r219201

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 8 07:36:00 GMT 2019


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

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 46688
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46688&action=edit
Original test-case

I'm fine with the approach to remove a dead code. However, I can't easily find
what to change in the original source file. The warning location does not help
much.


More information about the Gcc-bugs mailing list