]> gcc.gnu.org Git - gcc.git/commitdiff
tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Allow adjusting alignment...
authorRichard Guenther <rguenther@suse.de>
Wed, 20 Jun 2012 09:54:35 +0000 (09:54 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 20 Jun 2012 09:54:35 +0000 (09:54 +0000)
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

gcc/ChangeLog
gcc/tree-vect-data-refs.c

index 7d74dda20c33aa087a34fabec4eb4436170ccf6e..6f03dc4172822134a373dc3fc8c97dd7423bc143 100644 (file)
@@ -1,3 +1,8 @@
+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.
index e12fddceb665e9f0517909e5a4be8896daf72d0f..42f5518d6e581a11611564224e0f4bd822095808 100644 (file)
@@ -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))
This page took 0.075715 seconds and 5 git commands to generate.