Commit 3e037140 by Richard Kenner Committed by Richard Kenner

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
parent d13898a7
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> 2001-12-16 Richard Henderson <rth@redhat.com>
* toplev.c (parse_options_and_default_flags): Don't enable * toplev.c (parse_options_and_default_flags): Don't enable
......
...@@ -5804,7 +5804,8 @@ highest_pow2_factor (exp) ...@@ -5804,7 +5804,8 @@ highest_pow2_factor (exp)
else if (host_integerp (exp, 0)) else if (host_integerp (exp, 0))
{ {
c0 = tree_low_cst (exp, 0); c0 = tree_low_cst (exp, 0);
return c0 < 0 ? - c0 : c0; c0 = c0 < 0 ? - c0 : c0;
return c0 & -c0;
} }
break; break;
......
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