gcc/libstdc++-v3/libsupc++
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
..
Makefile.am
Makefile.in
array_type_info.cc
atexit_arm.cc
bad_alloc.cc
bad_cast.cc
bad_typeid.cc
class_type_info.cc
cxxabi.h re PR libstdc++/49818 (libsupc++ does not export __cxa_get_globals or related functions) 2011-10-10 19:03:39 +00:00
cxxabi_forced.h
del_op.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
del_opnt.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
del_opv.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
del_opvnt.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
dyncast.cc
eh_alloc.cc re PR libstdc++/49818 (libsupc++ does not export __cxa_get_globals or related functions) 2011-10-10 19:03:39 +00:00
eh_arm.cc
eh_aux_runtime.cc
eh_call.cc
eh_catch.cc re PR libstdc++/49818 (libsupc++ does not export __cxa_get_globals or related functions) 2011-10-10 19:03:39 +00:00
eh_exception.cc
eh_globals.cc re PR libstdc++/49818 (libsupc++ does not export __cxa_get_globals or related functions) 2011-10-10 19:03:39 +00:00
eh_personality.cc
eh_ptr.cc
eh_term_handler.cc
eh_terminate.cc
eh_throw.cc
eh_type.cc re PR libstdc++/49818 (libsupc++ does not export __cxa_get_globals or related functions) 2011-10-10 19:03:39 +00:00
eh_unex_handler.cc
enum_type_info.cc
exception
exception_defines.h
exception_ptr.h
function_type_info.cc
fundamental_type_info.cc
guard.cc
guard_error.cc
hash_bytes.cc
hash_bytes.h
initializer_list
nested_exception.cc
nested_exception.h
new re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
new_handler.cc
new_op.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
new_opnt.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
new_opv.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
new_opvnt.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
pbase_type_info.cc
pmem_type_info.cc
pointer_type_info.cc
pure.cc re PR libstdc++/49818 (libsupc++ does not export __cxa_get_globals or related functions) 2011-10-10 19:03:39 +00:00
si_class_type_info.cc
tinfo.cc
tinfo.h
tinfo2.cc
typeinfo
unwind-cxx.h re PR libstdc++/49818 (libsupc++ does not export __cxa_get_globals or related functions) 2011-10-10 19:03:39 +00:00
vec.cc
vmi_class_type_info.cc
vterminate.cc