config.host: Append t-floattodi to tmake_file depending on host_address.
[gcc.git] / libitm / containers.h
index 394b6f2508ecb6b100dc50a7b487b6cbbb66a71f..eec9fafe0549b2d0f0d2127e332b22b62c772ef8 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011, 2012 Free Software Foundation, Inc.
+/* Copyright (C) 2011-2014 Free Software Foundation, Inc.
    Contributed by Torvald Riegel <triegel@redhat.com>.
 
    This file is part of the GNU Transactional Memory Library (libitm).
@@ -92,6 +92,7 @@ class vector
   size_t size() const { return m_size; }
   size_t capacity() const { return this->capacity; }
 
+  void set_size (size_t size) { m_size = size; }
   void clear() { m_size = 0; }
 
   iterator push() {