gcc/libstdc++-v3/testsuite
Ville Voutilainen b08c2bc7bd 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
2016-10-16 16:31:43 +03:00
..
17_intro Fix libstdc++ versioned namespace build 2016-10-03 15:35:28 +01:00
18_support testsuite_hooks.h: Rewrite VERIFY in terms of __builtin_printf and __builtin_abort. 2016-10-12 16:13:06 +00:00
19_diagnostics testsuite_hooks.h: Rewrite VERIFY in terms of __builtin_printf and __builtin_abort. 2016-10-12 16:13:06 +00:00
20_util Make std::bind use std::invoke 2016-10-14 20:04:56 +01:00
21_strings testsuite_hooks.h: Rewrite VERIFY in terms of __builtin_printf and __builtin_abort. 2016-10-12 16:13:06 +00:00
22_locale testsuite_hooks.h: Rewrite VERIFY in terms of __builtin_printf and __builtin_abort. 2016-10-12 16:13:06 +00:00
23_containers PR 70101 fix allocator-extended ctors for std::priority_queue 2016-10-05 13:01:57 +01:00
24_iterators container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
25_algorithms container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
26_numerics 1.cc: Remove 'test' variables. 2016-10-14 13:50:24 +00:00
27_io testsuite_hooks.h: Rewrite VERIFY in terms of __builtin_printf and __builtin_abort. 2016-10-12 16:13:06 +00:00
28_regex container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
29_atomics container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
30_threads Avoid #include <functional> in other headers 2016-10-13 17:59:19 +01:00
abi Skip C tests if test flags include C++ options 2016-08-02 14:32:26 +01:00
backward container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
config Update copyright years. 2016-01-04 15:30:50 +01:00
data make_graph_test_infos.xml: Edit. 2011-08-15 00:51:06 +00:00
decimal container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
experimental Resolve ambiguities in std::experimental::sample test 2016-10-14 20:40:18 +01:00
ext Make sure the return value of malloc_allocator::allocate is zero-initialized so... 2016-10-16 16:31:43 +03:00
lib testsuite_hooks.h: Rewrite VERIFY in terms of __builtin_printf and __builtin_abort. 2016-10-12 16:13:06 +00:00
libstdc++-abi Update copyright years. 2016-01-04 15:30:50 +01:00
libstdc++-dg Implement TR29124 C++ special Math Functions. 2016-01-14 18:12:43 +00:00
libstdc++-prettyprinters Implement C++17 node extraction and insertion (P0083R5) 2016-09-22 14:58:49 +01:00
libstdc++-xmethods Enable printers and xmethods for std::__cxx11::list 2016-10-11 11:33:29 +01:00
performance Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
special_functions container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
tr1 Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
tr2 container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
util container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
Makefile.am Update copyright years. 2016-01-04 15:30:50 +01:00
Makefile.in Disable .gnu.attributes tags in compatibility-ldbl.o 2016-09-29 07:33:17 +09:30