Commit 40de8128 by Marek Polacek Committed by Marek Polacek

re PR c/61271 (10 * possible coding error with logical not (!))

	PR c/61271
	* expr.c (is_aligning_offset): Remove logical not.

From-SVN: r214496
parent ccc089dc
2014-08-26 Marek Polacek <polacek@redhat.com>
PR c/61271
* expr.c (is_aligning_offset): Remove logical not.
2014-08-26 Marek Polacek <polacek@redhat.com>
PR c/61271
* tree-vectorizer.h (LOOP_REQUIRES_VERSIONING_FOR_ALIGNMENT,
LOOP_REQUIRES_VERSIONING_FOR_ALIAS): Wrap in parens.
......
......@@ -10723,7 +10723,7 @@ is_aligning_offset (const_tree offset, const_tree exp)
|| !tree_fits_uhwi_p (TREE_OPERAND (offset, 1))
|| compare_tree_int (TREE_OPERAND (offset, 1),
BIGGEST_ALIGNMENT / BITS_PER_UNIT) <= 0
|| !exact_log2 (tree_to_uhwi (TREE_OPERAND (offset, 1)) + 1) < 0)
|| exact_log2 (tree_to_uhwi (TREE_OPERAND (offset, 1)) + 1) < 0)
return 0;
/* Look at the first operand of BIT_AND_EXPR and strip any conversion.
......
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