[Bug target/14625] tail call optimization missed

steven at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 31 23:17:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list