From: Jan Hubicka Date: Sun, 19 Apr 2009 09:36:10 +0000 (+0200) Subject: stdatomic.h (atomic_flag_test_and_set_explicit, [...]): Use _GLIBCXX_NOTHROW. X-Git-Tag: releases/gcc-4.5.0~6415 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9225b33903dc8e1ccff3ef02ad223038b7cdd505;p=thirdparty%2Fgcc.git stdatomic.h (atomic_flag_test_and_set_explicit, [...]): Use _GLIBCXX_NOTHROW. * 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 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d0f6b81bc9d1..361968b094d5 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 62e64db9d474..d5babc319595 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