summaryrefslogtreecommitdiff
path: root/gcc/convert.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/convert.c')
-rw-r--r--gcc/convert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/convert.c b/gcc/convert.c
index 36bae1c7793..d9c0c129d7c 100644
--- a/gcc/convert.c
+++ b/gcc/convert.c
@@ -401,7 +401,7 @@ convert_to_integer (tree type, tree expr)
we must also change the types of the operands to maintain type
correctness. */
- if (TREE_CODE_CLASS (ex_form) == '<')
+ if (TREE_CODE_CLASS (ex_form) == tcc_comparison)
{
expr = copy_node (expr);
TREE_TYPE (expr) = type;