This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/14625] tail call optimization missed


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]