From: jakub Date: Tue, 28 Jun 2016 08:29:11 +0000 (+0000) Subject: PR rtl-optimization/71673 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2a0fbce1db687b394cfca4f7583393d88ae5f0c2;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ad247ce0f204..338c60331d03 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2016-06-28 Jakub Jelinek + 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. + PR middle-end/66867 * builtins.c (expand_ifn_atomic_compare_exchange_into_call, expand_ifn_atomic_compare_exchange): New functions. diff --git a/gcc/internal-fn.c b/gcc/internal-fn.c index 5dd813f707ae..49f349586635 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 {