[Bug tree-optimization/33826] [4.1/4.2/4.3 Regression] GCC generates wrong code for infinitely recursive functions

sam at rfc1149 dot net gcc-bugzilla@gcc.gnu.org
Tue Nov 6 18:50:00 GMT 2007



------- Comment #5 from sam at rfc1149 dot net  2007-11-06 18:50 -------
Eric: do you mean that tail recursive calls are not allowed with -fstack-check?

With the current trunk, the code is ok with -O3 (tail-recursive call) and still
buggy with -O ("rep ret" on x86). This is even stranger :)


-- 

sam at rfc1149 dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sam at rfc1149 dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33826



More information about the Gcc-bugs mailing list