diff options
Diffstat (limited to 'gcc/convert.c')
-rw-r--r-- | gcc/convert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/convert.c b/gcc/convert.c index 34a2174..4b92cc5 100644 --- a/gcc/convert.c +++ b/gcc/convert.c @@ -737,7 +737,7 @@ convert_to_integer_1 (tree type, tree expr, bool dofold) type corresponding to its mode, then do a nop conversion to TYPE. */ else if (TREE_CODE (type) == ENUMERAL_TYPE - || outprec != GET_MODE_PRECISION (TYPE_MODE (type))) + || maybe_ne (outprec, GET_MODE_PRECISION (TYPE_MODE (type)))) { expr = convert (lang_hooks.types.type_for_mode (TYPE_MODE (type), TYPE_UNSIGNED (type)), expr); |