diff options
author | Jeffrey A Law <law@cygnus.com> | 1999-01-03 22:03:47 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-01-03 15:03:47 -0700 |
commit | 3b0d546a2bd7685ef25bbbee124409ab6147c1ea (patch) | |
tree | 697f54000d3ad514b3d27d85a9a50cc4a531c127 /gcc/optabs.c | |
parent | 362cc3d434b402148d579551c6f3ff4d4798a296 (diff) | |
download | gcc-3b0d546a2bd7685ef25bbbee124409ab6147c1ea.zip gcc-3b0d546a2bd7685ef25bbbee124409ab6147c1ea.tar.gz gcc-3b0d546a2bd7685ef25bbbee124409ab6147c1ea.tar.bz2 |
optabs.c (emit_cmp_and_jump_insns): Use CONSTANT_P canonicalizing RTL for a compare/jump sequence.
* optabs.c (emit_cmp_and_jump_insns): Use CONSTANT_P canonicalizing
RTL for a compare/jump sequence.
From-SVN: r24472
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r-- | gcc/optabs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c index e57a8fc..0d30053 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -2950,7 +2950,7 @@ emit_cmp_and_jump_insns (x, y, comparison, size, mode, unsignedp, align, label) rtx op0; rtx op1; - if (GET_CODE (x) == CONST_INT) + if (CONSTANT_P (x)) { /* Swap operands and condition to ensure canonical RTL. */ op0 = y; |