https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116386
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|false-positive |[12/13/14/15 Regression] |-Werror=return-type when |false-positive |compiling with |-Werror=return-type when |-fsanitize=thread |compiling with | |-fsanitize=thread since | |r5-6111-gfca4adf2095dfc See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=64265 Known to work| |4.9.4 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- r5-6111-gfca4adf2095dfc BUT -finstrument-functions causes the warning way earlier since GCC 4.4.x.