From: Mike Stump Date: Thu, 25 Jul 1996 23:14:00 +0000 (+0000) Subject: expr.c (do_jump, [...]): Ensure the end of an exception region comes after its start. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=26657dcad0efe3486a135faf998fe4ca2ac47fa1;p=gcc.git expr.c (do_jump, [...]): Ensure the end of an exception region comes after its start. * expr.c (do_jump, case TRUTH_ORIF_EXPR): Ensure the end of an exception region comes after its start. (do_jump, case TRUTH_ANDIF_EXPR): Likewise. From-SVN: r12565 --- diff --git a/gcc/expr.c b/gcc/expr.c index 5dc9bcd828e..7a12b9eb021 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -9938,9 +9938,9 @@ do_jump (exp, if_false_label, if_true_label) start_sequence (); do_jump (TREE_OPERAND (exp, 1), if_false_label, if_true_label); seq2 = get_insns (); + cleanups = defer_cleanups_to (old_cleanups); end_sequence (); - cleanups = defer_cleanups_to (old_cleanups); if (cleanups) { rtx flag = gen_reg_rtx (word_mode); @@ -10002,9 +10002,9 @@ do_jump (exp, if_false_label, if_true_label) start_sequence (); do_jump (TREE_OPERAND (exp, 1), if_false_label, if_true_label); seq2 = get_insns (); + cleanups = defer_cleanups_to (old_cleanups); end_sequence (); - cleanups = defer_cleanups_to (old_cleanups); if (cleanups) { rtx flag = gen_reg_rtx (word_mode);