summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-19 09:36:10 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-19 09:36:10 +0000
commit83cb85fb65900dc1bdff9a08e6422b5c0a104591 (patch)
treeada8d8dd0ddb7a94d6eab26e929193cd7ed2b4fc /libstdc++-v3
parentd3e86ba42dae70c6f27dc803efce519c9cc76747 (diff)
downloadgcc-83cb85fb65900dc1bdff9a08e6422b5c0a104591.tar.gz
* 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
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog7
-rw-r--r--libstdc++-v3/include/bits/c++config2
2 files changed, 8 insertions, 1 deletions
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 <jh@suse.cz>
+
+ * 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 <jh@suse.cz>
* 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