[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#445536: GCC generate wrong code for infinitely recursive functions



tags 445536 + upstream
forwarded 445536 http://gcc.gnu.org/PR33826
thanks

* Samuel Tardieu <sam@rfc1149.net> [2007-10-06 18:07]:
> As far as I know, there are two acceptable behaviours for function foo():
>   - loop indefinitely (if tail recursion is used)
>   - overflow the stack (if tail recursion is not used)

This is PR33826 now.
-- 
Martin Michlmayr
http://www.cyrius.com/




Reply to: