Commit 9225b339 by Jan Hubicka Committed by Jan Hubicka

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
parent 9db4cdd3
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> 2009-04-18 Jan Hubicka <jh@suse.cz>
* eh_type.cc (__cxa_current_exception_type) Mark throw(). * eh_type.cc (__cxa_current_exception_type) Mark throw().
......
...@@ -330,7 +330,7 @@ _GLIBCXX_END_NAMESPACE ...@@ -330,7 +330,7 @@ _GLIBCXX_END_NAMESPACE
# ifdef __cplusplus # ifdef __cplusplus
# define _GLIBCXX_NOTHROW throw() # define _GLIBCXX_NOTHROW throw()
# else # else
# define _GLIBCXX_NOTHROW __attribute__((nothrow)) # define _GLIBCXX_NOTHROW __attribute__((__nothrow__))
# endif # endif
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment