Commit f89dcfd8 by Richard Guenther Committed by Richard Biener

tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Allow adjusting alignment…

tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Allow adjusting alignment of user-aligned decls again.

2012-06-20  Richard Guenther  <rguenther@suse.de>

	* tree-vect-data-refs.c (vect_can_force_dr_alignment_p):
	Allow adjusting alignment of user-aligned decls again.

From-SVN: r188822
parent 5a772946
2012-06-20 Richard Guenther <rguenther@suse.de>
* tree-vect-data-refs.c (vect_can_force_dr_alignment_p):
Allow adjusting alignment of user-aligned decls again.
2012-06-20 Steven Bosscher <steven@gcc.gnu.org>
* config/rl78/rl78-c.c: Remove unnecessary includes.
......
......@@ -4731,10 +4731,9 @@ vect_can_force_dr_alignment_p (const_tree decl, unsigned int alignment)
if (TREE_ASM_WRITTEN (decl))
return false;
/* Do not override explicit alignment set by the user or the alignment
as specified by the ABI when the used attribute is set. */
if (DECL_USER_ALIGN (decl)
|| DECL_PRESERVE_P (decl))
/* Do not override the alignment as specified by the ABI when the used
attribute is set. */
if (DECL_PRESERVE_P (decl))
return false;
if (TREE_STATIC (decl))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment