[Bug c++/59922] -finstrument-functions emit false warning "control reaches end of non-void function"

2018-11-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59922 Eric Gallager changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment

[Bug c++/59922] -finstrument-functions emit false warning "control reaches end of non-void function"

2018-05-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59922 --- Comment #4 from Eric Gallager --- Kinda more important now that -Wreturn-type is on by default

[Bug c++/59922] -finstrument-functions emit false warning "control reaches end of non-void function"

2017-08-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59922 Eric Gallager changed: What|Removed |Added Keywords||diagnostic

[Bug c++/59922] -finstrument-functions emit false warning control reaches end of non-void function

2014-01-23 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59922 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org --- There is another bug about a similar thing but with constructors/deconstructors. -finstrument-functions inserts try/finally blocks in the code and the dead code is not removed before

[Bug c++/59922] -finstrument-functions emit false warning control reaches end of non-void function

2014-01-23 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59922 --- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org --- Related to bug 20681.