optabs.c (prepare_float_lib_cmp): Protect *px and *py from queue.
authorAlexandre Oliva <aoliva@cygnus.com>
Wed, 31 May 2000 04:27:56 +0000 (04:27 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 31 May 2000 04:27:56 +0000 (22:27 -0600)
* optabs.c (prepare_float_lib_cmp): Protect *px and *py from
queue.

From-SVN: r34283

gcc/ChangeLog
gcc/optabs.c

index 6f13a4f..1994c7f 100644 (file)
@@ -1,3 +1,8 @@
+Tue May 30 22:25:57 2000  Alexandre Oliva  <aoliva@cygnus.com>
+
+       * optabs.c (prepare_float_lib_cmp): Protect *px and *py from
+       queue.
+
 2000-05-30  Michael Meissner  <meissner@redhat.com>
 
        * dwarf2out.c (dwarf2out_frame_debug_expr): Ignore HIGH
index 8007da3..6530d83 100644 (file)
@@ -3276,7 +3276,8 @@ prepare_float_lib_cmp (px, py, pcomparison, pmode, punsignedp)
      int *punsignedp;
 {
   enum rtx_code comparison = *pcomparison;
-  rtx x = *px, y = *py;
+  rtx x = *px = protect_from_queue (*px, 0);
+  rtx y = *py = protect_from_queue (*py, 0);
   enum machine_mode mode = GET_MODE (x);
   rtx libfunc = 0;
   rtx result;