From: Martin Jambor Date: Fri, 1 Jul 2011 15:46:17 +0000 (+0200) Subject: tree-sra.c (tree_non_mode_aligned_mem_p): Also ignore MEM_REFs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=06e88d73463080ebe7f4e52c39408de43363fbbd;p=gcc.git tree-sra.c (tree_non_mode_aligned_mem_p): Also ignore MEM_REFs. 2011-07-01 Martin Jambor * tree-sra.c (tree_non_mode_aligned_mem_p): Also ignore MEM_REFs. From-SVN: r175760 --- 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;