From: Richard Sandiford Date: Wed, 11 Jul 2001 09:32:18 +0000 (+0000) Subject: mips.c (gen_int_relational): Tell the caller not to reverse a branch if a NE comparis... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5265b32766f94e5170516885439901cbc53f73f;p=gcc.git mips.c (gen_int_relational): Tell the caller not to reverse a branch if a NE comparison is implemented with GTU. * config/mips/mips.c (gen_int_relational): Tell the caller not to reverse a branch if a NE comparison is implemented with GTU. From-SVN: r43931 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 80d975c0788..c5238646b0b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-07-11 Richard Sandiford + + * config/mips/mips.c (gen_int_relational): Tell the caller not to + reverse a branch if a NE comparison is implemented with GTU. + 2001-07-11 Richard Sandiford H.J. Lu diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index c09a2461dce..4436f7d15c6 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -2979,6 +2979,8 @@ gen_int_relational (test_code, result, cmp0, cmp1, p_invert) if (! TARGET_MIPS16) { convert_move (result, gen_rtx (GTU, mode, reg, const0_rtx), 0); + if (p_invert != NULL) + *p_invert = 0; invert = 0; } else