expr.c (compare_from_rtx): Generate comparison between op0 and op1 rather than cc0 and 0 in a case when...

* expr.c (compare_from_rtx): Generate comparison between op0 and op1
        rather than cc0 and 0 in a case when HAVE_cc0 is not defined.

From-SVN: r54122
This commit is contained in:
Igor Shevlyakov 2002-05-31 22:08:12 +00:00 committed by Richard Henderson
parent 8b968bd155
commit b2e426a0cc
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-05-31 Igor Shevlyakov <igor@microunity.com>
* expr.c (compare_from_rtx): Generate comparison between op0 and op1
rather than cc0 and 0 in a case when HAVE_cc0 is not defined.
2002-05-31 Matthew Woodcraft <mattheww@chiark.greenend.org.uk>
* gcc.c (cpp_unique_options): Remove "-d" options.

View File

@ -10091,7 +10091,11 @@ compare_from_rtx (op0, op1, code, unsignedp, mode, size)
emit_cmp_insn (op0, op1, code, size, mode, unsignedp);
#if HAVE_cc0
return gen_rtx_fmt_ee (code, VOIDmode, cc0_rtx, const0_rtx);
#else
return gen_rtx_fmt_ee (code, VOIDmode, op0, op1);
#endif
}
/* Like do_compare_and_jump but expects the values to compare as two rtx's.