From: Alexandre Oliva Date: Wed, 31 May 2000 04:27:56 +0000 (+0000) Subject: optabs.c (prepare_float_lib_cmp): Protect *px and *py from queue. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=885e80cc8ae2a30d87c713db84003ab4a8dbf7eb;p=gcc.git 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 --- 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;