From 60d7c2deaa67a3ee880d1aa11ac729b9a02de9e0 Mon Sep 17 00:00:00 2001 From: Sebastian Hack Date: Thu, 21 Jun 2007 16:47:23 +0000 Subject: [PATCH] Added GCC memset inline hint [r14704] --- include/libfirm/adt/bitset.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libfirm/adt/bitset.h b/include/libfirm/adt/bitset.h index 02859bf22..bdd70606c 100644 --- a/include/libfirm/adt/bitset.h +++ b/include/libfirm/adt/bitset.h @@ -79,8 +79,8 @@ typedef struct _bitset_t { */ static INLINE bitset_t *_bitset_prepare(void *area, bitset_pos_t size) { - bitset_t *ptr = area; - memset(area, 0, BS_TOTAL_SIZE(size)); + bitset_t *__attribute((aligned(4))) ptr = area; + memset(ptr, 0, BS_TOTAL_SIZE(size)); ptr->units = BS_UNITS(size); ptr->size = size; return ptr; -- 2.20.1