aboutsummaryrefslogtreecommitdiff
path: root/gcc/alloc-pool.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2015-11-06 13:47:17 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2015-11-06 13:47:17 +0000
commitf1aa4bb328a5e69e93f33d1a9f3cb8969ab4bbd8 (patch)
treeeae97facc2a07ec7afef4ba35a7db7ec32ef179d /gcc/alloc-pool.h
parentff56974436c9c8f994c9c80040ca026bde0965ee (diff)
downloadgcc-f1aa4bb328a5e69e93f33d1a9f3cb8969ab4bbd8.zip
gcc-f1aa4bb328a5e69e93f33d1a9f3cb8969ab4bbd8.tar.gz
gcc-f1aa4bb328a5e69e93f33d1a9f3cb8969ab4bbd8.tar.bz2
alloc-pool.h (object_allocator::allocate): Default-initialize object.
2015-11-06 Richard Biener <rguenther@suse.de> * alloc-pool.h (object_allocator::allocate): Default-initialize object. From-SVN: r229851
Diffstat (limited to 'gcc/alloc-pool.h')
-rw-r--r--gcc/alloc-pool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/alloc-pool.h b/gcc/alloc-pool.h
index 0dc05cd..bf9b0eb 100644
--- a/gcc/alloc-pool.h
+++ b/gcc/alloc-pool.h
@@ -480,7 +480,7 @@ public:
inline T *
allocate () ATTRIBUTE_MALLOC
{
- return ::new (m_allocator.allocate ()) T ();
+ return ::new (m_allocator.allocate ()) T;
}
inline void