tree-sra.c (tree_non_mode_aligned_mem_p): Also ignore MEM_REFs.

2011-07-01  Martin Jambor  <mjambor@suse.cz>

	* tree-sra.c (tree_non_mode_aligned_mem_p): Also ignore MEM_REFs.

From-SVN: r175760
This commit is contained in:
Martin Jambor 2011-07-01 17:46:17 +02:00 committed by Martin Jambor
parent a174e38c09
commit 06e88d7346
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2011-07-01 Martin Jambor <mjambor@suse.cz>
* tree-sra.c (tree_non_mode_aligned_mem_p): Also ignore MEM_REFs.
2011-07-01 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/48016

View File

@ -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;