From 83cb85fb65900dc1bdff9a08e6422b5c0a104591 Mon Sep 17 00:00:00 2001 From: hubicka Date: Sun, 19 Apr 2009 09:36:10 +0000 Subject: * c_compatibility/stdatomic.h (atomic_flag_test_and_set_explicit, atomic_flag_clear_explicit, __atomic_flag_wait_explicit): Use _GLIBCXX_NOTHROW. * bits/c++config (_GLIBCXX_NOTHROW): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146341 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/ChangeLog | 7 +++++++ libstdc++-v3/include/bits/c++config | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'libstdc++-v3') diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d0f6b81bc9d..361968b094d 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2009-04-19 Jan Hubicka + + * c_compatibility/stdatomic.h (atomic_flag_test_and_set_explicit, + atomic_flag_clear_explicit, __atomic_flag_wait_explicit): Use + _GLIBCXX_NOTHROW. + * bits/c++config (_GLIBCXX_NOTHROW): New. + 2009-04-18 Jan Hubicka * eh_type.cc (__cxa_current_exception_type) Mark throw(). diff --git a/libstdc++-v3/include/bits/c++config b/libstdc++-v3/include/bits/c++config index 62e64db9d47..d5babc31959 100644 --- a/libstdc++-v3/include/bits/c++config +++ b/libstdc++-v3/include/bits/c++config @@ -330,7 +330,7 @@ _GLIBCXX_END_NAMESPACE # ifdef __cplusplus # define _GLIBCXX_NOTHROW throw() # else -# define _GLIBCXX_NOTHROW __attribute__((nothrow)) +# define _GLIBCXX_NOTHROW __attribute__((__nothrow__)) # endif #endif -- cgit v1.2.1