Commit 77173bbe by Kazu Hirata Committed by Kazu Hirata

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
parent 31de261d
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> 2003-06-07 Richard Henderson <rth@redhat.com>
* c-cppbuiltin.c (c_cpp_builtins): Define __EXCEPTIONS for C also. * c-cppbuiltin.c (c_cpp_builtins): Define __EXCEPTIONS for C also.
......
...@@ -2901,6 +2901,9 @@ expand_abs (mode, op0, target, result_unsignedp, safe) ...@@ -2901,6 +2901,9 @@ expand_abs (mode, op0, target, result_unsignedp, safe)
{ {
rtx temp, op1; rtx temp, op1;
if (! flag_trapv)
result_unsignedp = 1;
temp = expand_abs_nojump (mode, op0, target, result_unsignedp); temp = expand_abs_nojump (mode, op0, target, result_unsignedp);
if (temp != 0) if (temp != 0)
return temp; return temp;
......
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