re PR rtl-optimization/71673 (FAIL: c-c++-common/torture/builtin-arith-overflow-p-19.c -O2 (internal compiler error))
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. From-SVN: r237815
This commit is contained in:
parent
849a76a5a2
commit
95ef39f441
2 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,10 @@
|
|||
2016-06-28 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
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.
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue