aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/expmed.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0e5fe05..6598e92 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-01-30 Zack Weinberg <zack@codesourcery.com>
+
+ * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
+
2002-01-28 Jason Merrill <jason@redhat.com>
* dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
diff --git a/gcc/expmed.c b/gcc/expmed.c
index 56952c7..53ff05b 100644
--- a/gcc/expmed.c
+++ b/gcc/expmed.c
@@ -4198,6 +4198,10 @@ emit_store_flag (target, code, op0, op1, mode, unsignedp, normalizep)
rtx last = get_last_insn ();
rtx pattern, comparison;
+ /* ??? Ok to do this and then fail? */
+ op0 = protect_from_queue (op0, 0);
+ op1 = protect_from_queue (op1, 0);
+
if (unsignedp)
code = unsigned_condition (code);