[Bug c++/51264] O0 Bootstrap failure: control reaches end of non-void function

matz at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 22 13:56:00 GMT 2011


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.



More information about the Gcc-bugs mailing list