OSDN Git Service

Fix nits
[pf3gnuchains/gcc-fork.git] / gcc / tree-tailcall.c
index d651c3b..a9f0191 100644 (file)
@@ -23,7 +23,9 @@ along with GCC; see the file COPYING3.  If not see
 #include "coretypes.h"
 #include "tm.h"
 #include "tree.h"
+#include "rtl.h"
 #include "tm_p.h"
+#include "hard-reg-set.h"
 #include "basic-block.h"
 #include "function.h"
 #include "tree-flow.h"
@@ -458,8 +460,7 @@ find_tail_calls (basic_block bb, struct tailcall **ret)
     {
       if (TREE_CODE (var) != PARM_DECL
          && auto_var_in_fn_p (var, cfun->decl)
-         && (ref_maybe_used_by_stmt_p (call, var)
-             || call_may_clobber_ref_p (call, var)))
+         && ref_maybe_used_by_stmt_p (call, var))
        return;
     }