[Bug c++/36254] wrong "control reaches end of non-void function" warning
manu at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Oct 27 12:43:00 GMT 2008
------- Comment #9 from manu at gcc dot gnu dot org 2008-10-27 12:42 -------
What is an IF_STMT?
Is block_may_fallthru a middle-end function, then why it is seeing front-end
tree codes? Is it not, then why each front-end does not have its own version
(perhaps sharing some common part)?
Dumping this code with -fdump-tree-original is also broken.
I wish there was a way to make compilation of GCC fail every time a front-end
tree code is added and it is not handled in all relevant places.
Jakub, are you going to work on a fix?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36254
More information about the Gcc-bugs
mailing list