From: Kazu Hirata Date: Sun, 8 Jun 2003 04:27:11 +0000 (+0000) Subject: optabs.c (expand_abs): Set result_unsignedp to 1 if flag_trav is zero. X-Git-Tag: releases/gcc-3.4.0~6062 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=77173bbe9bd78d96317a90e32b618be5b3236749;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2446011e1587..cce9f14fd94a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-06-08 Kazu Hirata + + * optabs.c (expand_abs): Set result_unsignedp to 1 if + flag_trav is zero. + 2003-06-07 Richard Henderson * c-cppbuiltin.c (c_cpp_builtins): Define __EXCEPTIONS for C also. diff --git a/gcc/optabs.c b/gcc/optabs.c index 8b7f3ea0481a..d7e74e4a46f3 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -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;