alloc-pool.h (base_pool_allocator): Use placement new.
authorRichard Biener <rguenther@suse.de>
Mon, 26 Oct 2015 09:48:32 +0000 (09:48 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 26 Oct 2015 09:48:32 +0000 (09:48 +0000)
commit5929c659186adc165b6cc32aab2890a1629d667a
treeda1ddcce6fe1aa85899bd7530b15d97fae837e40
parent543a9bcd216d9a9fb377b7f84766cdcc858c21c0
alloc-pool.h (base_pool_allocator): Use placement new.

2015-10-26  Richard Biener  <rguenther@suse.de>

* alloc-pool.h (base_pool_allocator): Use placement new.
(base_pool_allocator::remove): Likewise.  Compute size outside of
flag_checking.

From-SVN: r229312
gcc/ChangeLog
gcc/alloc-pool.h