2008-04-08 Richard Guenther <rguenther@suse.de>
PR middle-end/35834
* tree-ssa-address.c (create_mem_ref): Use POINTER_PLUS_EXPR
for adding index to base.
From-SVN: r134090
+2008-04-08 Richard Guenther <rguenther@suse.de>
+
+ PR middle-end/35834
+ * tree-ssa-address.c (create_mem_ref): Use POINTER_PLUS_EXPR
+ for adding index to base.
+
2008-04-08 Kai Tietz <kai.tietz@onevision.com>
* config/i386/mingw32.h (ENABLE_EXECUTE_STACK): New.
{
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