Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

GCC does eliminate one of the recursive calls but retains the other: https://godbolt.org/z/dof4T4vYv

But it also does some magic that I don't quite understand (what do the two `sub` instructions do before the `call`? Do they prepare the stack?) because x86 assembly is so confusing to me sometimes.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: