The fma_forest, fma_root_node and func_fma_steering classes lack a copy constructor.
authorAndrea Corallo <andrea.corallo@arm.com>
Mon, 8 Apr 2019 12:59:24 +0000 (12:59 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Mon, 8 Apr 2019 12:59:24 +0000 (12:59 +0000)
commit450dd8b3ab7c4c2a83ed891347f980913c5dde3f
tree32a2f613d61e9e7237f8d80343c5f9314c8b2138
parent0d0f212a51c1601659483e102183a75f76a2bc72
The fma_forest, fma_root_node and func_fma_steering classes lack a copy constructor.

The fma_forest, fma_root_node and func_fma_steering classes lack a
copy constructor.  However, they contain pointers to allocated memory
so this omission can be regarded as poor style.  We don't need to copy
such objects, so declare the copy constructor private to inhibit
accidental copying.

2019-04-08  Andrea Corallo  <andrea.corallo@arm.com>

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

From-SVN: r270207
gcc/ChangeLog
gcc/config/aarch64/cortex-a57-fma-steering.c