summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
OpenPOWER on IntegriCloud