http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50698

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-12 
14:40:55 UTC ---
Patch:

Index: gcc/tree-data-ref.c
===================================================================
--- gcc/tree-data-ref.c (revision 179849)
+++ gcc/tree-data-ref.c (working copy)
@@ -589,9 +589,6 @@ split_constant_offset_1 (tree type, tree
        int punsignedp, pvolatilep;

        op0 = TREE_OPERAND (op0, 0);
-       if (!handled_component_p (op0))
-         return false;
-
        base = get_inner_reference (op0, &pbitsize, &pbitpos, &poffset,
                                    &pmode, &punsignedp, &pvolatilep, false);

Reply via email to