------- Comment #1 from tbm at cyrius dot com 2007-05-16 16:58 ------- struct btree_priv *area; typedef struct bt_node_t { int next; int used; } bt_leaf_t; typedef union bt_page_t { bt_leaf_t leaf; } bt_page_t; static inline bt_page_t * vbt_deref (struct btree_priv *bt) { } static inline bt_page_t * bt_deref (const struct btree_priv *bt) { return vbt_deref ((struct btree_priv *) bt); } btree_fetch (struct btree_priv *area) { int pos; const bt_leaf_t *leaf; if (__builtin_expect ((pos + 1 >= leaf->used), 0)) { leaf = &bt_deref (area)->leaf; } }
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31959