+Mon Mar 25 18:13:06 2002 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gtypes.h (GUINT*_SWAP_LE_BE_X86): Remove __const__
+ qualifier from __asm__ statements... GCC since at least
+ 2.96 has assumed no side effects automaticaly, and gcc-3.1
+ will warn about this usage. (#73308, Cody Russell)
+
Fri Mar 22 17:59:27 2002 Owen Taylor <otaylor@redhat.com>
* glib/gmem.c (g_mem_chunk_reset): Fix problem where
+Mon Mar 25 18:13:06 2002 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gtypes.h (GUINT*_SWAP_LE_BE_X86): Remove __const__
+ qualifier from __asm__ statements... GCC since at least
+ 2.96 has assumed no side effects automaticaly, and gcc-3.1
+ will warn about this usage. (#73308, Cody Russell)
+
Fri Mar 22 17:59:27 2002 Owen Taylor <otaylor@redhat.com>
* glib/gmem.c (g_mem_chunk_reset): Fix problem where
+Mon Mar 25 18:13:06 2002 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gtypes.h (GUINT*_SWAP_LE_BE_X86): Remove __const__
+ qualifier from __asm__ statements... GCC since at least
+ 2.96 has assumed no side effects automaticaly, and gcc-3.1
+ will warn about this usage. (#73308, Cody Russell)
+
Fri Mar 22 17:59:27 2002 Owen Taylor <otaylor@redhat.com>
* glib/gmem.c (g_mem_chunk_reset): Fix problem where
+Mon Mar 25 18:13:06 2002 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gtypes.h (GUINT*_SWAP_LE_BE_X86): Remove __const__
+ qualifier from __asm__ statements... GCC since at least
+ 2.96 has assumed no side effects automaticaly, and gcc-3.1
+ will warn about this usage. (#73308, Cody Russell)
+
Fri Mar 22 17:59:27 2002 Owen Taylor <otaylor@redhat.com>
* glib/gmem.c (g_mem_chunk_reset): Fix problem where
+Mon Mar 25 18:13:06 2002 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gtypes.h (GUINT*_SWAP_LE_BE_X86): Remove __const__
+ qualifier from __asm__ statements... GCC since at least
+ 2.96 has assumed no side effects automaticaly, and gcc-3.1
+ will warn about this usage. (#73308, Cody Russell)
+
Fri Mar 22 17:59:27 2002 Owen Taylor <otaylor@redhat.com>
* glib/gmem.c (g_mem_chunk_reset): Fix problem where
+Mon Mar 25 18:13:06 2002 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gtypes.h (GUINT*_SWAP_LE_BE_X86): Remove __const__
+ qualifier from __asm__ statements... GCC since at least
+ 2.96 has assumed no side effects automaticaly, and gcc-3.1
+ will warn about this usage. (#73308, Cody Russell)
+
Fri Mar 22 17:59:27 2002 Owen Taylor <otaylor@redhat.com>
* glib/gmem.c (g_mem_chunk_reset): Fix problem where
+Mon Mar 25 18:13:06 2002 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gtypes.h (GUINT*_SWAP_LE_BE_X86): Remove __const__
+ qualifier from __asm__ statements... GCC since at least
+ 2.96 has assumed no side effects automaticaly, and gcc-3.1
+ will warn about this usage. (#73308, Cody Russell)
+
Fri Mar 22 17:59:27 2002 Owen Taylor <otaylor@redhat.com>
* glib/gmem.c (g_mem_chunk_reset): Fix problem where
if (__builtin_constant_p (val)) \
__v = GUINT16_SWAP_LE_BE_CONSTANT (val); \
else \
- __asm__ __const__ ("rorw $8, %w0" \
- : "=r" (__v) \
- : "0" ((guint16) (val))); \
+ __asm__ ("rorw $8, %w0" \
+ : "=r" (__v) \
+ : "0" ((guint16) (val))); \
__v; }))
# define GUINT16_SWAP_LE_BE(val) (GUINT16_SWAP_LE_BE_X86 (val))
# if !defined(__i486__) && !defined(__i586__) \
if (__builtin_constant_p (val)) \
__v = GUINT32_SWAP_LE_BE_CONSTANT (val); \
else \
- __asm__ __const__ ("rorw $8, %w0\n\t" \
- "rorl $16, %0\n\t" \
- "rorw $8, %w0" \
- : "=r" (__v) \
- : "0" ((guint32) (val))); \
+ __asm__ ("rorw $8, %w0\n\t" \
+ "rorl $16, %0\n\t" \
+ "rorw $8, %w0" \
+ : "=r" (__v) \
+ : "0" ((guint32) (val))); \
__v; }))
# else /* 486 and higher has bswap */
# define GUINT32_SWAP_LE_BE_X86(val) \
if (__builtin_constant_p (val)) \
__v = GUINT32_SWAP_LE_BE_CONSTANT (val); \
else \
- __asm__ __const__ ("bswap %0" \
- : "=r" (__v) \
- : "0" ((guint32) (val))); \
+ __asm__ ("bswap %0" \
+ : "=r" (__v) \
+ : "0" ((guint32) (val))); \
__v; }))
# endif /* processor specific 32-bit stuff */
# define GUINT32_SWAP_LE_BE(val) (GUINT32_SWAP_LE_BE_X86 (val))