diff options
author | Alexandre Oliva <aoliva@cygnus.com> | 2000-05-31 04:27:56 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2000-05-30 22:27:56 -0600 |
commit | 885e80cc8ae2a30d87c713db84003ab4a8dbf7eb (patch) | |
tree | 5fdc3218358eeace7933c073974c13d19e8bc50e /gcc | |
parent | ab577d8a3ddaf9dcc97a78fb0c782b7829e6fdb6 (diff) | |
download | gcc-885e80cc8ae2a30d87c713db84003ab4a8dbf7eb.zip gcc-885e80cc8ae2a30d87c713db84003ab4a8dbf7eb.tar.gz gcc-885e80cc8ae2a30d87c713db84003ab4a8dbf7eb.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/optabs.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6f13a4f..1994c7f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/optabs.c b/gcc/optabs.c index 8007da3..6530d83 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; |