From 885e80cc8ae2a30d87c713db84003ab4a8dbf7eb Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Wed, 31 May 2000 04:27:56 +0000 Subject: [PATCH] optabs.c (prepare_float_lib_cmp): Protect *px and *py from queue. * optabs.c (prepare_float_lib_cmp): Protect *px and *py from queue. From-SVN: r34283 --- gcc/ChangeLog | 5 +++++ gcc/optabs.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6f13a4fd5da..1994c7f7669 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue May 30 22:25:57 2000 Alexandre Oliva + + * optabs.c (prepare_float_lib_cmp): Protect *px and *py from + queue. + 2000-05-30 Michael Meissner * dwarf2out.c (dwarf2out_frame_debug_expr): Ignore HIGH diff --git a/gcc/optabs.c b/gcc/optabs.c index 8007da35a71..6530d834ee0 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -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; -- 2.30.2