expr.c (highest_pow2_factor, [...]): Fix error in last change.

* expr.c (highest_pow2_factor, case INTEGER_CST): Fix error in
	last change.

From-SVN: r48077
This commit is contained in:
Richard Kenner 2001-12-16 18:19:34 +00:00 committed by Richard Kenner
parent d13898a7a1
commit 3e037140fa
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Sun Dec 16 13:13:01 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* expr.c (highest_pow2_factor, case INTEGER_CST): Fix error in
last change.
2001-12-16 Richard Henderson <rth@redhat.com>
* toplev.c (parse_options_and_default_flags): Don't enable

View File

@ -5804,7 +5804,8 @@ highest_pow2_factor (exp)
else if (host_integerp (exp, 0))
{
c0 = tree_low_cst (exp, 0);
return c0 < 0 ? - c0 : c0;
c0 = c0 < 0 ? - c0 : c0;
return c0 & -c0;
}
break;