This patch implements the library side of P0035R4. The implementation is thanks to @rsmith.
In addition to the C++17 implementation, the library implementation can be explicitly turned on using -faligned-allocation in all dialects.
Paths
| Differential D25591
Implement P0035R4 -- Add C++17 aligned allocation functions ClosedPublic Authored by EricWF on Oct 13 2016, 9:52 PM.
Details Summary This patch implements the library side of P0035R4. The implementation is thanks to @rsmith. In addition to the C++17 implementation, the library implementation can be explicitly turned on using -faligned-allocation in all dialects.
Diff Detail Event TimelineEricWF updated this object. This revision is now accepted and ready to land.Oct 13 2016, 11:49 PM
Revision Contents
Diff 74619 include/new
lib/abi/CHANGELOG.TXT
lib/abi/x86_64-linux-gnu.abilist
src/new.cpp
test/libcxx/language.support/support.dynamic/new_faligned_allocation.sh.cpp
test/libcxx/test/config.py
test/std/language.support/support.dynamic/align_val_t.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.array/delete_align_val_t_replace.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow_replace.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_replace.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.single/delete_align_val_t_replace.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow_replace.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_replace.pass.cpp
|