* expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
authorZack Weinberg <zack@codesourcery.com>
Wed, 30 Jan 2002 17:29:13 +0000 (17:29 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Wed, 30 Jan 2002 17:29:13 +0000 (17:29 +0000)
From-SVN: r49340

gcc/ChangeLog
gcc/expmed.c

index 0e5fe05c656a180c21e7ca2764be6eb47b151785..6598e921bbc19f34f32f1d5fd47576c8e24a80dc 100644 (file)
@@ -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.
index 56952c78418a8e717ee344b318bc4a37235dfacd..53ff05b4a5fd8f0b5b51a8202c98811133d51573 100644 (file)
@@ -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);