r240187 - in /trunk/libstdc++-v3: ChangeLog lib...

redi@gcc.gnu.org redi@gcc.gnu.org
Fri Sep 16 12:11:00 GMT 2016


Author: redi
Date: Fri Sep 16 12:11:19 2016
New Revision: 240187

URL: https://gcc.gnu.org/viewcvs?rev=240187&root=gcc&view=rev
Log:
Adjust arguments to aligned_alloc or posix_memalign

	* libsupc++/new_opa.cc [_GLIBCXX_HAVE_POSIX_MEMALIGN] (aligned_alloc):
	Increase alignment if less than sizeof(void*).
	[_GLIBCXX_HAVE_ALIGNED_ALLOC] (operator new(size_t, align_val_t)):
	Increase size if not a multiple of alignment.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/libsupc++/new_opa.cc



More information about the Libstdc++-cvs mailing list