Add a missing volatile for the IA64 implementation.

2005-12-02  Matthias Clasen  <mclasen@redhat.com>

	* glib/gatomic.c (g_atomic_int_add): Add a missing volatile for
	the IA64 implementation.
This commit is contained in:
Matthias Clasen 2005-12-02 16:57:24 +00:00 committed by Matthias Clasen
parent bbb77c8d21
commit 8f843302f8
4 changed files with 22 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2005-12-02 Matthias Clasen <mclasen@redhat.com>
* glib/gatomic.c (g_atomic_int_add): Add a missing volatile for
the IA64 implementation.
Fri Dec 2 16:18:09 2005 Tim Janik <timj@imendio.com> Fri Dec 2 16:18:09 2005 Tim Janik <timj@imendio.com>
* glib/gslice.c: some naming and type size fixups. * glib/gslice.c: some naming and type size fixups.

View File

@ -1,3 +1,8 @@
2005-12-02 Matthias Clasen <mclasen@redhat.com>
* glib/gatomic.c (g_atomic_int_add): Add a missing volatile for
the IA64 implementation.
Fri Dec 2 16:18:09 2005 Tim Janik <timj@imendio.com> Fri Dec 2 16:18:09 2005 Tim Janik <timj@imendio.com>
* glib/gslice.c: some naming and type size fixups. * glib/gslice.c: some naming and type size fixups.

View File

@ -1,3 +1,8 @@
2005-12-02 Matthias Clasen <mclasen@redhat.com>
* glib/gatomic.c (g_atomic_int_add): Add a missing volatile for
the IA64 implementation.
Fri Dec 2 16:18:09 2005 Tim Janik <timj@imendio.com> Fri Dec 2 16:18:09 2005 Tim Janik <timj@imendio.com>
* glib/gslice.c: some naming and type size fixups. * glib/gslice.c: some naming and type size fixups.

View File

@ -418,7 +418,7 @@ g_atomic_int_exchange_and_add (volatile gint *atomic,
} }
void void
g_atomic_int_add (gint *atomic, g_atomic_int_add (volatile gint *atomic,
gint val) gint val)
{ {
__sync_fetch_and_add_si (atomic, val); __sync_fetch_and_add_si (atomic, val);