Commit dd79d394 by Zdenek Dvorak Committed by Zdenek Dvorak

re PR middle-end/26643 (Linux matroxfb_probe miscompiled)

	PR tree-optimization/26643
	* tree-ssa-loop-ivopts.c (find_interesting_uses_address): Do not handle
	bit_field_refs.

From-SVN: r112483
parent 93dec1d1
2006-03-28 Zdenek Dvorak <dvorakz@suse.cz>
PR tree-optimization/26643
* tree-ssa-loop-ivopts.c (find_interesting_uses_address): Do not handle
bit_field_refs.
2006-03-28 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/sh.md (udivsi3_i4_int): Clobber MACH_REG and MACL_REG.
......
......@@ -1482,8 +1482,9 @@ find_interesting_uses_address (struct ivopts_data *data, tree stmt, tree *op_p)
/* Ignore bitfields for now. Not really something terribly complicated
to handle. TODO. */
if (TREE_CODE (base) == COMPONENT_REF
&& DECL_NONADDRESSABLE_P (TREE_OPERAND (base, 1)))
if (TREE_CODE (base) == BIT_FIELD_REF
|| (TREE_CODE (base) == COMPONENT_REF
&& DECL_NONADDRESSABLE_P (TREE_OPERAND (base, 1))))
goto fail;
if (STRICT_ALIGNMENT
......
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