From: Matthias Clasen Date: Fri, 2 Dec 2005 16:57:24 +0000 (+0000) Subject: Add a missing volatile for the IA64 implementation. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=8f843302f8449820d86083fa44e9391d4f5f540f;p=dana%2Fcg-glib.git Add a missing volatile for the IA64 implementation. 2005-12-02 Matthias Clasen * glib/gatomic.c (g_atomic_int_add): Add a missing volatile for the IA64 implementation. --- diff --git a/ChangeLog b/ChangeLog index 5a3881b3..2acb7f70 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,11 +1,16 @@ +2005-12-02 Matthias Clasen + + * glib/gatomic.c (g_atomic_int_add): Add a missing volatile for + the IA64 implementation. + Fri Dec 2 16:18:09 2005 Tim Janik * glib/gslice.c: some naming and type size fixups. Fri Dec 2 13:08:58 2005 Tim Janik - * glib/gslice.h (g_slice_free): reworked GCC-specific type-safe macro - variant into something less verbose, but digestible for gcc-3.4. + * glib/gslice.h (g_slice_free): reworked GCC-specific type-safe macro + variant into something less verbose, but digestible for gcc-3.4. Fri Dec 2 10:55:07 2005 Tim Janik diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 5a3881b3..2acb7f70 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,11 +1,16 @@ +2005-12-02 Matthias Clasen + + * glib/gatomic.c (g_atomic_int_add): Add a missing volatile for + the IA64 implementation. + Fri Dec 2 16:18:09 2005 Tim Janik * glib/gslice.c: some naming and type size fixups. Fri Dec 2 13:08:58 2005 Tim Janik - * glib/gslice.h (g_slice_free): reworked GCC-specific type-safe macro - variant into something less verbose, but digestible for gcc-3.4. + * glib/gslice.h (g_slice_free): reworked GCC-specific type-safe macro + variant into something less verbose, but digestible for gcc-3.4. Fri Dec 2 10:55:07 2005 Tim Janik diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 5a3881b3..2acb7f70 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,11 +1,16 @@ +2005-12-02 Matthias Clasen + + * glib/gatomic.c (g_atomic_int_add): Add a missing volatile for + the IA64 implementation. + Fri Dec 2 16:18:09 2005 Tim Janik * glib/gslice.c: some naming and type size fixups. Fri Dec 2 13:08:58 2005 Tim Janik - * glib/gslice.h (g_slice_free): reworked GCC-specific type-safe macro - variant into something less verbose, but digestible for gcc-3.4. + * glib/gslice.h (g_slice_free): reworked GCC-specific type-safe macro + variant into something less verbose, but digestible for gcc-3.4. Fri Dec 2 10:55:07 2005 Tim Janik diff --git a/glib/gatomic.c b/glib/gatomic.c index afc53291..0d779058 100644 --- a/glib/gatomic.c +++ b/glib/gatomic.c @@ -418,7 +418,7 @@ g_atomic_int_exchange_and_add (volatile gint *atomic, } void -g_atomic_int_add (gint *atomic, +g_atomic_int_add (volatile gint *atomic, gint val) { __sync_fetch_and_add_si (atomic, val);