From 95ef39f4415224f4d98c85c10a9efa9f2f952fe0 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 28 Jun 2016 10:29:11 +0200 Subject: 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 --- gcc/internal-fn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/internal-fn.c') diff --git a/gcc/internal-fn.c b/gcc/internal-fn.c index 5dd813f..49f3495 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 { -- cgit v1.1