r260230 - in /trunk/libstdc++-v3: ChangeLog inc...

redi@gcc.gnu.org redi@gcc.gnu.org
Mon May 14 15:35:00 GMT 2018


Author: redi
Date: Mon May 14 15:35:12 2018
New Revision: 260230

URL: https://gcc.gnu.org/viewcvs?rev=260230&root=gcc&view=rev
Log:
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.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/valarray_array.h



More information about the Gcc-cvs mailing list