diff mbox

[2/2] tree-tailcall: Commentary typo fix, remove fwd declaration

Message ID 1428517952-29574-3-git-send-email-rep.dot.nop@gmail.com
State New
Headers show

Commit Message

Bernhard Reutner-Fischer April 8, 2015, 6:32 p.m. UTC
gcc/ChangeLog:

2015-04-01  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.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
---
 gcc/tree-tailcall.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Comments

Bernhard Reutner-Fischer April 22, 2015, 8:21 a.m. UTC | #1
On 8 April 2015 at 20:32, Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com> wrote:
> gcc/ChangeLog:

OKed by Jeff and committed to trunk as r222312.

thanks,
>
> 2015-04-01  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.
>
> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
> ---
>  gcc/tree-tailcall.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/gcc/tree-tailcall.c b/gcc/tree-tailcall.c
> index 1d065fb..013972d 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.  */
>
> --
> 2.1.4
>
diff mbox

Patch

diff --git a/gcc/tree-tailcall.c b/gcc/tree-tailcall.c
index 1d065fb..013972d 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.  */