OSDN Git Service

* c_compatibility/stdatomic.h (atomic_flag_test_and_set_explicit,
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 19 Apr 2009 09:36:10 +0000 (09:36 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 19 Apr 2009 09:36:10 +0000 (09:36 +0000)
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
libstdc++-v3/include/bits/c++config

index d0f6b81..361968b 100644 (file)
@@ -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().
index 62e64db..d5babc3 100644 (file)
@@ -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