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
This commit is contained in:
Jan Hubicka 2009-04-19 11:36:10 +02:00 committed by Jan Hubicka
parent 9db4cdd334
commit 9225b33903
2 changed files with 8 additions and 1 deletions

View 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().

View 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