https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115255

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|richard.guenther at gmail dot com  |rguenth at gcc dot 
gnu.org

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #5)
> The question comes is musttail going to always work at -O0 or should it just
> fail at -O0 with an error message. Or rather is musttail is just a hack in
> itself and should never be implemented.

I think it's going to be quite useless if it doesn't work at -O0.  I suppose
even demoting the error to must-tail to a warning when not optimizing
will be an improvement.  OTOH doing that generally (a warning, not error)
might be a possibility as well.  This isn't going to be a very portable
feature since the ability to tail-call depends on the ABI.

Reply via email to