hash-table.h (hash_table::m_gather_mem_stats): If GATHER_STATISTICS is constant 0...
authorJakub Jelinek <jakub@redhat.com>
Tue, 26 Mar 2019 13:40:43 +0000 (14:40 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 26 Mar 2019 13:40:43 +0000 (14:40 +0100)
commit465b8e7f4ecb9af118419dbf14a43cb95e1d12dd
treeecf04bca4e31cc4e9f203e1642b53ed25192b768
parenta6f361669312430748d51e6435da8f0d5c4b34c4
hash-table.h (hash_table::m_gather_mem_stats): If GATHER_STATISTICS is constant 0...

* hash-table.h (hash_table::m_gather_mem_stats): If GATHER_STATISTICS
is constant 0, turn into static const data member initialized to false.
(hash_table::hash_table): Only initialize m_gather_mem_stats #if
GATHER_STATISTICS.  Add ATTRIBUTE_UNUSED to gather_mem_stats param.

From-SVN: r269944
gcc/ChangeLog
gcc/hash-table.h