re PR other/81667 (trunk/gcc/alloc-pool.h:239: possible missing initialiser ?)
PR other/81667 * alloc-pool.h (base_pool_allocator): Initialize m_elt_size. From-SVN: r250829
This commit is contained in:
parent
8699462191
commit
5e9fab92d1
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2017-08-02 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR other/81667
|
||||
* alloc-pool.h (base_pool_allocator): Initialize m_elt_size.
|
||||
|
||||
2017-08-02 Tom de Vries <tom@codesourcery.com>
|
||||
Cesar Philippidis <cesar@codesourcery.com>
|
||||
|
||||
|
|
|
@ -240,8 +240,9 @@ base_pool_allocator <TBlockAllocator>::base_pool_allocator (
|
|||
const char *name, size_t size MEM_STAT_DECL):
|
||||
m_name (name), m_id (0), m_elts_per_block (0), m_returned_free_list (NULL),
|
||||
m_virgin_free_list (NULL), m_virgin_elts_remaining (0), m_elts_allocated (0),
|
||||
m_elts_free (0), m_blocks_allocated (0), m_block_list (NULL), m_size (size),
|
||||
m_initialized (false), m_location (ALLOC_POOL_ORIGIN, false PASS_MEM_STAT) {}
|
||||
m_elts_free (0), m_blocks_allocated (0), m_block_list (NULL), m_elt_size (0),
|
||||
m_size (size), m_initialized (false),
|
||||
m_location (ALLOC_POOL_ORIGIN, false PASS_MEM_STAT) {}
|
||||
|
||||
/* Initialize a pool allocator. */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue