diff options
author | Ville Voutilainen <ville.voutilainen@gmail.com> | 2016-10-16 16:31:43 +0300 |
---|---|---|
committer | Ville Voutilainen <ville@gcc.gnu.org> | 2016-10-16 16:31:43 +0300 |
commit | b08c2bc7bd54ccd43ab86bfb94c0858dd68353e1 (patch) | |
tree | b0a3b3cdc95968a2a11fa2c578ebe45b81008632 /gcc/ada/gcc-interface/config-lang.in | |
parent | 9937c1eb7288216e4b59303389d64ff1125516f0 (diff) | |
download | gcc-b08c2bc7bd54ccd43ab86bfb94c0858dd68353e1.zip gcc-b08c2bc7bd54ccd43ab86bfb94c0858dd68353e1.tar.gz gcc-b08c2bc7bd54ccd43ab86bfb94c0858dd68353e1.tar.bz2 |
Make sure the return value of malloc_allocator::allocate is zero-initialized so...
Make sure the return value of malloc_allocator::allocate
is zero-initialized so that checking it for non-zero works
later.
* include/ext/malloc_allocator.h (malloc_allocator::allocate):
Initialize the return value.
* testsuite/ext/malloc_allocator/sanity.cc: New.
From-SVN: r241212
Diffstat (limited to 'gcc/ada/gcc-interface/config-lang.in')
0 files changed, 0 insertions, 0 deletions