tree-tailcall.c (suitable_for_tail_opt_p, [...]): Remove unneeded forward declarations.
authorBernhard Reutner-Fischer <aldot@gcc.gnu.org>
Wed, 22 Apr 2015 08:20:32 +0000 (10:20 +0200)
committerBernhard Reutner-Fischer <aldot@gcc.gnu.org>
Wed, 22 Apr 2015 08:20:32 +0000 (10:20 +0200)
2015-04-22  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>

* tree-tailcall.c (suitable_for_tail_opt_p, find_tail_calls):
Remove unneeded forward declarations.
(suitable_for_tail_call_opt_p): Commentary typo fix.

From-SVN: r222312

gcc/ChangeLog
gcc/tree-tailcall.c

index 6dcf7d087f28740298edea7835d5a754bda08bb6..3eb1260d75f8cd8490298e3aa53f214705ff97f2 100644 (file)
@@ -1,3 +1,9 @@
+2015-04-22  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
+
+       * tree-tailcall.c (suitable_for_tail_opt_p, find_tail_calls):
+       Remove unneeded forward declarations.
+       (suitable_for_tail_call_opt_p): Commentary typo fix.
+
 2015-04-22  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
 
        * varasm.c (emit_bss): Remove redundant guard.
index 1d065fb17a8c5270eefac6e127f2579950d196a0..013972dbfdd64ec109793e2c33cc3d9f560fef4e 100644 (file)
@@ -165,10 +165,8 @@ struct tailcall
    accumulator.  */
 static tree m_acc, a_acc;
 
-static bool suitable_for_tail_opt_p (void);
 static bool optimize_tail_call (struct tailcall *, bool);
 static void eliminate_tail_call (struct tailcall *);
-static void find_tail_calls (basic_block, struct tailcall **);
 
 /* Returns false when the function is not suitable for tail call optimization
    from some reason (e.g. if it takes variable number of arguments).  */
@@ -182,7 +180,7 @@ suitable_for_tail_opt_p (void)
   return true;
 }
 /* Returns false when the function is not suitable for tail call optimization
-   from some reason (e.g. if it takes variable number of arguments).
+   for some reason (e.g. if it takes variable number of arguments).
    This test must pass in addition to suitable_for_tail_opt_p in order to make
    tail call discovery happen.  */