aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/expr.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 484a5e1..2166cd7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2014-07-29 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/52478
+ * expr.c (expand_expr_real_2): Revert last change.
+
2014-07-28 Jan Hubicka <hubicka@ucw.cz>
* cgraph.c (cgraph_node::create_indirect_edge): Copy speculative data.
diff --git a/gcc/expr.c b/gcc/expr.c
index de0da34..d8328ee 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -9212,9 +9212,7 @@ expand_expr_real_2 (sepops ops, rtx target, enum machine_mode tmode,
if (modifier == EXPAND_STACK_PARM)
target = 0;
temp = expand_binop (mode, this_optab, op0, op1, target,
- unsignedp,
- trapv_binoptab_p (this_optab)
- ? OPTAB_LIB : OPTAB_LIB_WIDEN);
+ unsignedp, OPTAB_LIB_WIDEN);
gcc_assert (temp);
/* Bitwise operations do not need bitfield reduction as we expect their
operands being properly truncated. */