summaryrefslogtreecommitdiff
path: root/gcc/internal-fn.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2016-06-28 08:29:11 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2016-06-28 08:29:11 +0000
commit2a0fbce1db687b394cfca4f7583393d88ae5f0c2 (patch)
tree954244dd9c093a5b71e3372a666c911391b09b63 /gcc/internal-fn.c
parent5a5ef6591c05aeaa6dfe4cc37711b5519380b37a (diff)
downloadgcc-2a0fbce1db687b394cfca4f7583393d88ae5f0c2.tar.gz
PR rtl-optimization/71673
* internal-fn.c (expand_arith_overflow_result_store): Use OPTAB_LIB_WIDEN instead of OPTAB_DIRECT as last argument to expand_simple_binop. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237815 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/internal-fn.c')
-rw-r--r--gcc/internal-fn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/internal-fn.c b/gcc/internal-fn.c
index 5dd813f707a..49f34958663 100644
--- a/gcc/internal-fn.c
+++ b/gcc/internal-fn.c
@@ -454,7 +454,7 @@ expand_arith_overflow_result_store (tree lhs, rtx target,
= immed_wide_int_const (wi::shifted_mask (0, prec, false, tgtprec),
tgtmode);
lres = expand_simple_binop (tgtmode, AND, res, mask, NULL_RTX,
- true, OPTAB_DIRECT);
+ true, OPTAB_LIB_WIDEN);
}
else
{