aboutsummaryrefslogtreecommitdiff
path: root/gcc/optabs.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r--gcc/optabs.c2
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;