gcc/libstdc++-v3/testsuite/ext
Paolo Carlini 578f023490 re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string)
2011-10-12  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/50594
	* decl.c (cxx_init_decl_processing): Add
	__attribute__((externally_visible)) to operator new and
	operator delete library fn.

2011-10-12  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/50594
	* libsupc++/new (operator new, operator delete): Decorate with
	__attribute__((__externally_visible__)).
	* include/bits/c++config: Add _GLIBCXX_THROW.
	* libsupc++/del_op.cc: Adjust.
	* libsupc++/del_opv.cc: Likewise.
	* libsupc++/del_opnt.cc: Likewise.
	* libsupc++/del_opvnt.cc: Likewise.
	* libsupc++/new_op.cc: Likewise.
	* libsupc++/new_opv.cc: Likewise.
	* libsupc++/new_opnt.cc: Likewise.
	* libsupc++/new_opvnt.cc: Likewise.
	* testsuite/18_support/50594.cc: New.
	* testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
	line number.

From-SVN: r179863
2011-10-12 18:40:58 +00:00
..
array_allocator testsuite_allocator.h (check_new, [...]): Move to ... 2009-05-28 00:17:00 +00:00
bitmap_allocator testsuite_allocator.h (check_new, [...]): Move to ... 2009-05-28 00:17:00 +00:00
codecvt assign_neg.cc: Tidy dg- directives, for C++0x testing too. 2011-10-06 14:43:26 +00:00
concurrence_lock_error Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
concurrence_unlock_error Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
debug_allocator testsuite_allocator.h (check_new, [...]): Move to ... 2009-05-28 00:17:00 +00:00
enc_filebuf 14220.cc: XFAIL on Solaris 9/x86, 32-bit Solaris 10/x86 and 64-bit Solaris 10/SPARC. 2010-07-26 20:54:57 +00:00
ext_pointer re PR c++/48969 (ICE with -std=c++0x) 2011-06-07 17:54:07 -04:00
forced_error PR libstdc++/21772 part 1 2009-12-16 05:16:46 +00:00
iota In C++0x mode, import iota and is_sorted from namespace std into namespace __gnu_cxx to avoid ambiguous call errors. 2011-04-07 04:11:12 +00:00
is_heap re PR libstdc++/47709 (is_heap(standard iterator) becomes ambiguous in C++0x mode) 2011-02-12 21:26:21 +00:00
is_sorted In C++0x mode, import iota and is_sorted from namespace std into namespace __gnu_cxx to avoid ambiguous call errors. 2011-04-07 04:11:12 +00:00
malloc_allocator testsuite_allocator.h (check_new, [...]): Move to ... 2009-05-28 00:17:00 +00:00
mt_allocator c++config (std::size_t, [...]): Provide typedefs. 2010-06-03 19:15:56 +00:00
new_allocator deallocate_global.cc: Require __cxa_atexit. 2010-02-24 15:31:22 +00:00
numeric_traits Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
pb_ds assign_neg.cc: Tidy dg- directives, for C++0x testing too. 2011-10-06 14:43:26 +00:00
pool_allocator testsuite_allocator.h (check_new, [...]): Move to ... 2009-05-28 00:17:00 +00:00
profile re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
rope re PR libstdc++/44963 ([DR 1334] Ambiguous function overload using __gnu_cxx::crope with std::back_inserter in c++0x mode) 2010-08-08 14:54:51 +00:00
slist testsuite_iterators.h: Guard move.h includes. 2010-12-16 22:02:38 +00:00
stdio_filebuf c++config (std::size_t, [...]): Provide typedefs. 2010-06-03 19:15:56 +00:00
stdio_sync_filebuf [multiple changes] 2010-09-15 10:46:39 +00:00
throw_allocator deallocate_global.cc: Require __cxa_atexit. 2010-02-24 15:31:22 +00:00
throw_value PR libstdc++/21772 part 1 2009-12-16 05:16:46 +00:00
type_traits re PR c++/48969 (ICE with -std=c++0x) 2011-06-07 17:54:07 -04:00
vstring hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)): Use std::move on the allocator, use noexcept. 2011-06-01 14:16:19 +00:00
concept_checks.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
headers.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
median.cc median.cc: Adjust. 2010-02-15 17:35:11 +00:00
pod_char_traits.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00