This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14625] tail call optimization missed
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Jan 2005 23:17:29 -0000
- Subject: [Bug target/14625] tail call optimization missed
- References: <20040318004529.14625.drepper@redhat.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From steven at gcc dot gnu dot org 2005-01-31 23:17 -------
FWIW we don't emit the tail call because of this:
/* If this function requires more stack slots than the current
function, we cannot change it into a sibling call. */
|| args_size.constant > current_function_args_size
args_size.constant == 8 (2 ints) and current_function_args_size == 0
because nothing gets passed on the stack.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14625