tags 445536 + upstream
forwarded 445536 http://gcc.gnu.org/PR33826
thanks
* Samuel Tardieu [EMAIL PROTECTED] [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
Package: gcc-4.2
Version: 4.2.1-5
Severity: normal
% cat t.c EOF
void foo()
{ foo(); }
EOF
% gcc -O -S -o - -fomit-frame-pointer -Wall t.c
.file t.c
.text
.globl foo
.type foo, @function
foo:
rep ; ret
.size foo, .-foo
.ident GCC: (GNU)
2 matches
Mail list logo