[Bug target/14625] tail call optimization missed

drepper at redhat dot com gcc-bugzilla@gcc.gnu.org
Mon Jan 31 23:34:00 GMT 2005


------- Additional Comments From drepper at redhat dot com  2005-01-31 23:34 -------
>      /* 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. 

Correct.  But this does not take the stdcall attribute into account.  It should. 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14625



More information about the Gcc-bugs mailing list