On 08/04/2019 09:59, Andrea Corallo wrote:
> 
> Richard Earnshaw (lists) writes:
> 
>> Ah, you've just changed the ChangeLog entries.  By comments, I meant in
>> the source code, so that it's clear these don't exist.  ChangeLog update
>> is good too.
>>
>> R.
> 
> Hi Richard,
> sorry my misunderstanding.
> 

NP.  I've put this in.  For future reference, I've made a few very minor
tweaks before applying...

> Bests
>   Andrea
> 
> 
> 2019-03-29  Andrea Corallo  andrea.cora...@arm.com

email address should be enclosed in angle brackets <name@addr>.

> 
> PR target/83033
> * config/aarch64/cortex-a57-fma-steering.c
> (fma_forest): Prohibit copy construction.
> (fma_root_node): Prohibit copy construction.

Generally speaking we use 'Likewise' when the same change is made to
multiple functions.

> (func_fma_steering): Prohibit copy construction.
> 
> 
> PR83033.patch
> 
> From 372ffe36fd0d59aa3c0ba1f8794c7aff9cee84a6 Mon Sep 17 00:00:00 2001
> From: Andrea Corallo <andrea.cora...@arm.com>
> Date: Thu, 28 Mar 2019 23:17:17 +0100
> Subject: [PATCH] imporove cortex-a57-fma-steering.c
> 
> ---
>  gcc/config/aarch64/cortex-a57-fma-steering.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/gcc/config/aarch64/cortex-a57-fma-steering.c 
> b/gcc/config/aarch64/cortex-a57-fma-steering.c
> index f2da03a..4792d1f 100644
> --- a/gcc/config/aarch64/cortex-a57-fma-steering.c
> +++ b/gcc/config/aarch64/cortex-a57-fma-steering.c
> @@ -114,6 +114,9 @@ public:
>    void dispatch ();
>  
>  private:
> +  /* Prohibit copy construction.  */
> +  fma_forest (const fma_forest &);
> +
>    /* The list of roots that form this forest.  */
>    std::list<fma_root_node *> *m_roots;
>  
> @@ -147,6 +150,9 @@ public:
>    void set_head (du_head *);
>    void rename (fma_forest *);
>    void dump_info (fma_forest *);
> +private:

Blank line before 'private:'.

> +  /* Prohibit copy construction.  */
> +  fma_node (const fma_node &);
>  
>  protected:
>    /* Root node that lead to this node.  */
> @@ -203,6 +209,9 @@ public:
>    void execute_fma_steering ();
>  
>  private:
> +  /* Prohibit copy construction.  */
> +  func_fma_steering (const func_fma_steering &);
> +
>    void dfs (void (*) (fma_forest *), void (*) (fma_forest *, fma_root_node 
> *),
>           void (*) (fma_forest *, fma_node *), bool);
>    void analyze ();
> 

Reply via email to