diff options
author | Richard Biener <rguenther@suse.de> | 2014-07-29 11:10:49 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2014-07-29 11:10:49 +0000 |
commit | e05531efb7fb5ef03d1e62c95c73c87d71e91d49 (patch) | |
tree | d83b9ed8140ede78e0f15af86ae7ca7f52a2d8b4 /gcc/expr.c | |
parent | 3339f0bcb06a145e127e5274e223827a6aeb3cb0 (diff) | |
download | gcc-e05531efb7fb5ef03d1e62c95c73c87d71e91d49.zip gcc-e05531efb7fb5ef03d1e62c95c73c87d71e91d49.tar.gz gcc-e05531efb7fb5ef03d1e62c95c73c87d71e91d49.tar.bz2 |
re PR middle-end/52478 (-ftrapv calls the wrong functions in libgcc)
2014-07-29 Richard Biener <rguenther@suse.de>
PR middle-end/52478
* expr.c (expand_expr_real_2): Revert last change.
From-SVN: r213153
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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. */ |