------- Comment #5 from pinskia at gcc dot gnu dot org 2006-04-22 20:24 ------- Use -fno-sibcalling if you cannot use this optimization because you are violating the ABI really and since GCC depends on the ABI being followed, there is almost nothing GCC can do.
If the kernel wants to do tricks like this, that is their own business and not really GCC business to know the kernel is not following the ABI that has been there since day one. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27234