2014-07-29 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Jul 2014 11:10:49 +0000 (11:10 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Jul 2014 11:10:49 +0000 (11:10 +0000)
PR middle-end/52478
* expr.c (expand_expr_real_2): Revert last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213153 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/expr.c

index 484a5e1..2166cd7 100644 (file)
@@ -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.
index de0da34..d8328ee 100644 (file)
@@ -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.  */