]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
stdatomic.h (atomic_flag_test_and_set_explicit, [...]): Use _GLIBCXX_NOTHROW.
authorJan Hubicka <jh@suse.cz>
Sun, 19 Apr 2009 09:36:10 +0000 (11:36 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 19 Apr 2009 09:36:10 +0000 (09:36 +0000)
* 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.

From-SVN: r146341

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/c++config

index d0f6b81bc9d13ab6dabebcc0b50fc03d939d948a..361968b094d52d2fb4185fbd7227b2926358ff10 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 62e64db9d474b1a969212b86a274b8799c4bf406..d5babc31959581aa516e9c89f3dc72e7731ebed9 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