optabs.c (expand_abs): Set result_unsignedp to 1 if flag_trav is zero.

* optabs.c (expand_abs): Set result_unsignedp to 1 if
	flag_trav is zero.

From-SVN: r67611
This commit is contained in:
Kazu Hirata 2003-06-08 04:27:11 +00:00 committed by Kazu Hirata
parent 31de261d68
commit 77173bbe9b
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-06-08 Kazu Hirata <kazu@cs.umass.edu>
* optabs.c (expand_abs): Set result_unsignedp to 1 if
flag_trav is zero.
2003-06-07 Richard Henderson <rth@redhat.com>
* c-cppbuiltin.c (c_cpp_builtins): Define __EXCEPTIONS for C also.

View File

@ -2901,6 +2901,9 @@ expand_abs (mode, op0, target, result_unsignedp, safe)
{
rtx temp, op1;
if (! flag_trapv)
result_unsignedp = 1;
temp = expand_abs_nojump (mode, op0, target, result_unsignedp);
if (temp != 0)
return temp;