mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-19 15:11:08 +08:00
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:
parent
9db4cdd334
commit
9225b33903
@ -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().
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user