From 06e88d73463080ebe7f4e52c39408de43363fbbd Mon Sep 17 00:00:00 2001 From: Martin Jambor Date: Fri, 1 Jul 2011 17:46:17 +0200 Subject: [PATCH] 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 --- gcc/ChangeLog | 4 ++++ gcc/tree-sra.c | 1 + 2 files changed, 5 insertions(+) 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; -- 2.30.2