aboutsummaryrefslogtreecommitdiff
path: root/gcc/optabs-query.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/optabs-query.c')
-rw-r--r--gcc/optabs-query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/optabs-query.c b/gcc/optabs-query.c
index f823b98..d7038060 100644
--- a/gcc/optabs-query.c
+++ b/gcc/optabs-query.c
@@ -213,7 +213,7 @@ get_best_extraction_insn (extraction_insn *insn,
FOR_EACH_MODE_FROM (mode_iter, mode)
{
mode = mode_iter.require ();
- if (GET_MODE_SIZE (mode) > GET_MODE_SIZE (field_mode)
+ if (maybe_gt (GET_MODE_SIZE (mode), GET_MODE_SIZE (field_mode))
|| TRULY_NOOP_TRUNCATION_MODES_P (insn->field_mode,
field_mode))
break;