Commit a2acd8bf by Eric Botcazou Committed by Eric Botcazou

expr.c (highest_pow2_factor): New case.

	* expr.c (highest_pow2_factor) <BIT_AND_EXPR>: New case.

From-SVN: r135820
parent 4c8125f4
2008-05-23 Eric Botcazou <ebotcazou@adacore.com>
* expr.c (highest_pow2_factor) <BIT_AND_EXPR>: New case.
2008-05-23 Steven Munroe <sjmunroe@us.ibm.com>
* config/rs6000/darwin-ldouble.c (fmsub): Eliminate the full
......
......@@ -6599,6 +6599,13 @@ highest_pow2_factor (const_tree exp)
}
break;
case BIT_AND_EXPR:
/* The highest power of two of a bit-and expression is the maximum of
that of its operands. We typically get here for a complex LHS and
a constant negative power of two on the RHS to force an explicit
alignment, so don't bother looking at the LHS. */
return highest_pow2_factor (TREE_OPERAND (exp, 1));
CASE_CONVERT:
case SAVE_EXPR:
return highest_pow2_factor (TREE_OPERAND (exp, 0));
......
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