diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2018-05-14 16:35:12 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2018-05-14 16:35:12 +0100 |
commit | cd2f262b2fa4292a39b97ab590b46e79d349817c (patch) | |
tree | 37ca4de6c9508ea29a32bf5952d32305d240cb6c /gcc | |
parent | 6bfbebb063100f6ab845a8456fc7fec99361da80 (diff) | |
download | gcc-cd2f262b2fa4292a39b97ab590b46e79d349817c.zip gcc-cd2f262b2fa4292a39b97ab590b46e79d349817c.tar.gz gcc-cd2f262b2fa4292a39b97ab590b46e79d349817c.tar.bz2 |
Add __attribute__((malloc) to allocator and remove unused code
* include/bits/valarray_array.h (__valarray_get_memory): Remove.
(__valarray_get_storage): Call operator new directly. Remove ignored
top-level restrict qualifier and add malloc attribute instead.
(_Array<_Tp>::_Array(size_t)): Remove unused constructor.
From-SVN: r260230
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions