Fix libstdc++ build with -fno-exceptions
commit217e808b16828033d5bcf92994209401319ac057
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Jan 2016 11:24:20 +0000 (18 11:24 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Jan 2016 11:24:20 +0000 (18 11:24 +0000)
tree43c441e2bc317c76d06b2a6b1e409a474711ba7b
parentea780bd9a3efa19223e03d48d37b490204f2da92
Fix libstdc++ build with -fno-exceptions

PR libstdc++/69340
* src/c++11/cow-stdexcept.cc (_txnal_cow_string_C1_for_exceptions):
Use macros for exception handling and fix unused parameter warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232502 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/src/c++11/cow-stdexcept.cc