if (index_type == error_mark_node)
return 0;
+ /* There may be NOP_EXPR around the value if we got it from an enum. */
+ STRIP_NOPS (arg);
+
/* Convert VALUE to the type in which the comparisons are nominally done. */
if (value != 0)
value = convert (nominal_type, value);
}
case_stack->data.case_stmt.seenlabel = 1;
+ /* There may be NOP_EXPR around the value if we got it from an enum. */
+ STRIP_NOPS (value1);
+ STRIP_NOPS (value2);
+
/* Convert VALUEs to type in which the comparisons are nominally done. */
if (value1 == 0) /* Negative infinity. */
value1 = TYPE_MIN_VALUE(index_type);
}
\f
/* Terminate a case (Pascal) or switch (C) statement
- in which CASE_INDEX is the expression to be tested.
+ in which ORIG_INDEX is the expression to be tested.
Generate the code to test it and jump to the right place. */
void