PR opt/14749
* expr.c (do_jump): If TREE_CONSTANT_OVERFLOW is set, don't
trust integer_zerop. Just expand both branches.
From-SVN: r81630
+2004-05-07 Steven Bosscher <stevenb@suse.de>
+
+ PR opt/14749
+ * expr.c (do_jump): If TREE_CONSTANT_OVERFLOW is set, don't
+ trust integer_zerop. Just expand both branches.
+
2004-04-29 Matthias Klose <doko@debian.org>
Backport:
break;
case INTEGER_CST:
+ /* ??? This should never happen - but it does, GCC PR opt/14749. */
+ if (TREE_CONSTANT_OVERFLOW (exp))
+ goto normal;
temp = integer_zerop (exp) ? if_false_label : if_true_label;
if (temp)
emit_jump (temp);