Wed Apr 12 00:42:19 2000 Jeffrey A Law (law@cygnus.com)
+ 2000-02-19 Richard Henderson <rth@cygnus.com>
+ * c-typeck.c (add_pending_init): Don't abort for multiple
+ fields at the same offset.
+ (pending_init_member): Test the correct member.
+
Wed Apr 12 00:44:31 2000 Jeffrey A Law (law@cygnus.com)
* config/i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Changed to 2.
p = *q;
if (tree_int_cst_lt (purpose, p->purpose))
q = &p->left;
- else if (tree_int_cst_lt (p->purpose, purpose))
+ else if (p->purpose != purpose)
q = &p->right;
else
abort ();
if (tree_int_cst_lt (DECL_FIELD_BITPOS (purpose),
DECL_FIELD_BITPOS (p->purpose)))
q = &p->left;
- else if (tree_int_cst_lt (DECL_FIELD_BITPOS (p->purpose),
- DECL_FIELD_BITPOS (purpose)))
+ else if (p->purpose != purpose)
q = &p->right;
else
abort ();
{
while (p)
{
- if (tree_int_cst_equal (field, p->purpose))
+ if (field == p->purpose)
return 1;
else if (tree_int_cst_lt (field, p->purpose))
p = p->left;