diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-19 13:16:34 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-19 13:16:34 +0000 |
commit | f577c4c6a932062d4e98f6950fc3c73f7762cd5e (patch) | |
tree | afbd1bd989515cea94a77a284aa0cd82e8a8dd61 /libstdc++-v3 | |
parent | e1631cfe2a7c25ad88790f114cf5b8b15835855e (diff) | |
download | gcc-f577c4c6a932062d4e98f6950fc3c73f7762cd5e.tar.gz |
* include/c_compatibility/stdatomic.h (__atomic_flag_for_address): Use
_GLIBCXX_NOTHROW.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146348 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/include/c_compatibility/stdatomic.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 656ac0329ac..b72a0a3f80e 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,10 @@ 2009-04-19 Jan Hubicka <jh@suse.cz> + * include/c_compatibility/stdatomic.h (__atomic_flag_for_address): Use + _GLIBCXX_NOTHROW. + +2009-04-19 Jan Hubicka <jh@suse.cz> + * include/c_compatibility/stdatomic.h (atomic_flag_test_and_set_explicit, atomic_flag_clear_explicit, __atomic_flag_wait_explicit): Use _GLIBCXX_NOTHROW. diff --git a/libstdc++-v3/include/c_compatibility/stdatomic.h b/libstdc++-v3/include/c_compatibility/stdatomic.h index 634e916f4e8..f4771166d2b 100644 --- a/libstdc++-v3/include/c_compatibility/stdatomic.h +++ b/libstdc++-v3/include/c_compatibility/stdatomic.h @@ -138,7 +138,7 @@ _GLIBCXX_BEGIN_EXTERN_C __atomic_flag_wait_explicit(volatile __atomic_flag_base*, memory_order) _GLIBCXX_NOTHROW; _GLIBCXX_CONST volatile __atomic_flag_base* - __atomic_flag_for_address(const volatile void* __z) throw (); + __atomic_flag_for_address(const volatile void* __z) _GLIBCXX_NOTHROW; // Implementation specific defines. #define _ATOMIC_LOAD_(__a, __x) \ |