This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51264] O0 Bootstrap failure: control reaches end of non-void function
- From: "matz at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 22 Nov 2011 12:59:59 +0000
- Subject: [Bug c++/51264] O0 Bootstrap failure: control reaches end of non-void function
- Auto-submitted: auto-generated
- References: <bug-51264-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51264
Michael Matz <matz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |matz at gcc dot gnu.org
--- Comment #8 from Michael Matz <matz at gcc dot gnu.org> 2011-11-22 12:59:59 UTC ---
Andrew: no, the clobbers are needed also for the outer bind, in order to make
inlining such functions just work (i.e. enable stack sharing between different
inlined functions). Otherwise we'd have to add the clobbers in the inliner
which is more difficult because the try/finally are already lowered.
In this case it's clearly a problem in tree.c, just remove the superfluous
break.