GGC Sibling Calls Optimization
Posted: Mon Oct 29, 2018 5:12 am
Hi,
I am currently trying to make a small OS kernel, but there is something I don't understand: what does GCC actually do when the -foptimize-sibling-calls option is on?
Because when I turn this option on then the kernel runs into General Protection fault.
I looked at the generated assembler code and saw some differences but does someone know what are actually theses differences doing?
Regards
I am currently trying to make a small OS kernel, but there is something I don't understand: what does GCC actually do when the -foptimize-sibling-calls option is on?
Because when I turn this option on then the kernel runs into General Protection fault.
I looked at the generated assembler code and saw some differences but does someone know what are actually theses differences doing?
Regards