diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2019-03-01 13:50:41 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2019-03-01 13:50:41 +0000 |
commit | c5effe9673bd266887b5c4cb968cce61ce137ca1 (patch) | |
tree | 7111bea6acf455f2995fbc6bdfda9981f2840dd7 /gcc | |
parent | 987bbe48bb03e04810e6c97f292549f11b5b2126 (diff) | |
download | gcc-c5effe9673bd266887b5c4cb968cce61ce137ca1.zip gcc-c5effe9673bd266887b5c4cb968cce61ce137ca1.tar.gz gcc-c5effe9673bd266887b5c4cb968cce61ce137ca1.tar.bz2 |
Fix test memory_resource to work without sized deallocation
The checking memory_resource in the testsuite assumes sized deallocation
is supported, which might not be true for other compilers.
* testsuite/util/testsuite_allocator.h (__gnu_test::memory_resource)
[!__cpp_sized_deallocation]: Do not pass size to operator delete.
From-SVN: r269312
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions