]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix bfin local alignment check.
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 2 Nov 2013 10:15:38 +0000 (10:15 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 2 Nov 2013 10:15:38 +0000 (10:15 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@204314 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/bfin/bfin.c

index 71d9817fea1399fcef3f5392f462c64105b3a3f1..41e982be88e7e188a0f419e9144c09b47b20ebb9 100644 (file)
@@ -3286,7 +3286,7 @@ bfin_local_alignment (tree type, unsigned align)
      memcpy can use 32 bit loads/stores.  */
   if (TYPE_SIZE (type)
       && TREE_CODE (TYPE_SIZE (type)) == INTEGER_CST
-      && !wi::gtu_p (TYPE_SIZE (type), 8)
+      && wi::gtu_p (TYPE_SIZE (type), 8)
       && align < 32)
     return 32;
   return align;