diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2011-10-12 18:40:58 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2011-10-12 18:40:58 +0000 |
commit | 578f023490bab56ea603aa4374ecbf31b38c24b5 (patch) | |
tree | 86535a35e8420259fa52ecd17bb9798257bc4968 /gcc/ada/gcc-interface/ada-tree.h | |
parent | 0a6fa37645370f2bbbee102afd270464259c4124 (diff) | |
download | gcc-578f023490bab56ea603aa4374ecbf31b38c24b5.zip gcc-578f023490bab56ea603aa4374ecbf31b38c24b5.tar.gz gcc-578f023490bab56ea603aa4374ecbf31b38c24b5.tar.bz2 |
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
Diffstat (limited to 'gcc/ada/gcc-interface/ada-tree.h')
0 files changed, 0 insertions, 0 deletions