diff options
author | Bernhard Reutner-Fischer <aldot@gcc.gnu.org> | 2015-04-22 10:20:32 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <aldot@gcc.gnu.org> | 2015-04-22 10:20:32 +0200 |
commit | 07cb4ee60459ebec039166609bd829933470b659 (patch) | |
tree | db91b04f58788628afd131f86c646365b4169829 /gcc/tree-tailcall.c | |
parent | 38b7a8dfc9e9e5452b74dd26d933f2305ac58f10 (diff) |
tree-tailcall.c (suitable_for_tail_opt_p, [...]): Remove unneeded forward declarations.
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
Diffstat (limited to 'gcc/tree-tailcall.c')
-rw-r--r-- | gcc/tree-tailcall.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/tree-tailcall.c b/gcc/tree-tailcall.c index 1d065fb17a8..013972dbfdd 100644 --- a/gcc/tree-tailcall.c +++ b/gcc/tree-tailcall.c @@ -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. */ |