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
This commit is contained in:
parent
5b20f7a054
commit
10e927efe9
@ -1,3 +1,8 @@
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user