gcc/libstdc++-v3/include
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
..
backward user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
bits re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
c PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
c_compatibility PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
c_global re PR libstdc++/48698 (gnu-versioned-namespace problems) 2011-09-27 00:02:54 +00:00
c_std cmath (fmod(_Tp, _Up)): Add. 2011-08-12 15:40:01 +00:00
debug vector (vector<>::erase(iterator, iterator): Check iterators equality using normal iterators. 2011-10-01 19:21:57 +00:00
decimal PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
ext pod_char_traits.h: Avoid warnings in C++0x mode when int_type is unsigned. 2011-10-06 01:41:49 +00:00
parallel user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
precompiled stdc++.h: Add scoped_allocator. 2011-07-20 15:45:55 +00:00
profile hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)): Remove noexcept, the move constructor allocates memory... 2011-09-01 15:45:20 +00:00
std limits.cc: Replace everywhere __int128_t -> __int128, and __uint128_t -> unsigned __int128. 2011-09-21 11:23:11 +00:00
tr1 cmath: Extend/update comment. 2011-08-18 16:56:55 +00:00
Makefile.am safe_unordered_sequence.h, [...]: Rename respectively in... 2011-07-21 19:56:36 +00:00
Makefile.in fragment.am (CONFIG_CXXFLAGS): Add -frandom-seed. 2011-07-22 13:52:51 +00:00