aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/cuintp.c
diff options
context:
space:
mode:
authorVille Voutilainen <ville.voutilainen@gmail.com>2016-10-16 16:31:43 +0300
committerVille Voutilainen <ville@gcc.gnu.org>2016-10-16 16:31:43 +0300
commitb08c2bc7bd54ccd43ab86bfb94c0858dd68353e1 (patch)
treeb0a3b3cdc95968a2a11fa2c578ebe45b81008632 /gcc/ada/gcc-interface/cuintp.c
parent9937c1eb7288216e4b59303389d64ff1125516f0 (diff)
downloadgcc-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/cuintp.c')
0 files changed, 0 insertions, 0 deletions