diff gcc/calls.c~ @ 97:4d6300120c29 cbc-gcc-4.6.0

modify condition of tail call in expand_call method
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Fri, 20 Jan 2012 04:48:59 +0900
parents 506ac5e3963a
children
line wrap: on
line diff
--- a/gcc/calls.c~	Tue Jan 17 06:11:37 2012 +0900
+++ b/gcc/calls.c~	Fri Jan 20 04:48:59 2012 +0900
@@ -2353,14 +2353,8 @@
 	 function, we cannot change it into a sibling call.
 	 crtl->args.pretend_args_size is not part of the
 	 stack allocated by our caller.  */
-#ifndef noCbC
-      || (args_size.constant > (crtl->args.size
-				- crtl->args.pretend_args_size)
-          && (!fndecl || !CbC_IS_CODE_SEGMENT (TREE_TYPE (fndecl))))
-#else
       || args_size.constant > (crtl->args.size
                                - crtl->args.pretend_args_size)
-#endif
       /* If the callee pops its own arguments, then it must pop exactly
 	 the same number of arguments as the current function.  */
       || (targetm.calls.return_pops_args (fndecl, funtype, args_size.constant)