------- Comment #2 from rguenth at gcc dot gnu dot org 2008-04-05 15:56 ------- This will eventually fix it (and not break sth else):
Index: tree-ssa-address.c =================================================================== --- tree-ssa-address.c (revision 133937) +++ tree-ssa-address.c (working copy) @@ -639,9 +639,9 @@ create_mem_ref (block_stmt_iterator *bsi { atype = TREE_TYPE (parts.base); parts.base = force_gimple_operand_bsi (bsi, - fold_build2 (PLUS_EXPR, atype, + fold_build2 (POINTER_PLUS_EXPR, atype, parts.base, - fold_convert (atype, parts.index)), + parts.index), true, NULL_TREE, true, BSI_SAME_STMT); } else -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35834