aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-06-14 16:37:00 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-06-14 16:37:00 -0400
commitdb2f8a07b4bb8870f2141eb14107ec4c72fa982d (patch)
treef239868d3637abb17b4f8f294e08c29e5c38feff /gcc
parent9fe9dd86e65d79ffa7b4a7d763803e4f71bdaee6 (diff)
downloadgcc-db2f8a07b4bb8870f2141eb14107ec4c72fa982d.zip
gcc-db2f8a07b4bb8870f2141eb14107ec4c72fa982d.tar.gz
gcc-db2f8a07b4bb8870f2141eb14107ec4c72fa982d.tar.bz2
(emit_store_flag): Always set LAST.
From-SVN: r9947
Diffstat (limited to 'gcc')
-rw-r--r--gcc/expmed.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c
index 4da81a7..fc0f483 100644
--- a/gcc/expmed.c
+++ b/gcc/expmed.c
@@ -3851,7 +3851,7 @@ emit_store_flag (target, code, op0, op1, mode, unsignedp, normalizep)
enum machine_mode compare_mode;
enum machine_mode target_mode = GET_MODE (target);
rtx tem;
- rtx last = 0;
+ rtx last = get_last_insn ();
rtx pattern, comparison;
/* If one operand is constant, make it the second one. Only do this
@@ -4049,8 +4049,7 @@ emit_store_flag (target, code, op0, op1, mode, unsignedp, normalizep)
}
}
- if (last)
- delete_insns_since (last);
+ delete_insns_since (last);
/* If expensive optimizations, use different pseudo registers for each
insn, instead of reusing the same pseudo. This leads to better CSE,