@@ -7953,8 +7953,9 @@ output_pending_init_elements (int all, struct obstack * braced_init_obstack)
TREE_TYPE (constructor_type),
constructor_unfilled_index, 0, false,
braced_init_obstack);
- else if (tree_int_cst_lt (constructor_unfilled_index,
- elt->purpose))
+ else if (!TREE_OVERFLOW_P (constructor_unfilled_index)
+ && tree_int_cst_lt (constructor_unfilled_index,
+ elt->purpose))
{
/* Advance to the next smaller node. */
if (elt->left)
@@ -7979,7 +7980,8 @@ output_pending_init_elements (int all, struct obstack * braced_init_obstack)
while (elt->parent && elt->parent->right == elt)
elt = elt->parent;
elt = elt->parent;
- if (elt && tree_int_cst_lt (constructor_unfilled_index,
+ if (elt && !TREE_OVERFLOW_P (constructor_unfilled_index)
+ && tree_int_cst_lt (constructor_unfilled_index,
elt->purpose))
{
next = elt->purpose;