diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bdca0af17fe..38c0854e351 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-07-01 Martin Jambor + + * tree-sra.c (tree_non_mode_aligned_mem_p): Also ignore MEM_REFs. + 2011-07-01 H.J. Lu PR middle-end/48016 diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c index d244766b0e2..ca9f316f712 100644 --- a/gcc/tree-sra.c +++ b/gcc/tree-sra.c @@ -1076,6 +1076,7 @@ tree_non_mode_aligned_mem_p (tree exp) unsigned int align; if (TREE_CODE (exp) == SSA_NAME + || TREE_CODE (exp) == MEM_REF || mode == BLKmode || !STRICT_ALIGNMENT) return false;