Commit 10e927ef by Chandrakala Chavva Committed by Chandra Chavva

optabs.c (expand_complex_ab): Use overflow-trapping optabs for signed types if flag_trapv.

* optabs.c (expand_complex_ab):: Use overflow-trapping optabs for
signed types if flag_trapv.

From-SVN: r37458
parent 5b20f7a0
2000-11-14 Chandrakala Chavva <cchavva@redhat.com>
* optabs.c (expand_complex_ab):: Use overflow-trapping optabs for
signed types if flag_trapv.
2000-11-14 Zack Weinberg <zack@wolery.stanford.edu>
* tradcpp.c, tradcif.y: Update FSF mailing address, delete
......
......@@ -2505,7 +2505,8 @@ expand_complex_abs (mode, op0, target, unsignedp)
/* Open-code the complex absolute-value operation
if we can open-code sqrt. Otherwise it's not worth while. */
if (sqrt_optab->handlers[(int) submode].insn_code != CODE_FOR_nothing)
if (sqrt_optab->handlers[(int) submode].insn_code != CODE_FOR_nothing
&& ! flag_trapv)
{
rtx real, imag, total;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment