Fix DATA_ALIGNMENT vs DATA_ABI_ALIGNMENT fallout for aarch32.
authorramana <ramana@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Jun 2013 14:48:51 +0000 (14:48 +0000)
committerramana <ramana@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Jun 2013 14:48:51 +0000 (14:48 +0000)
2013-06-12  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

* gcc.target/arm/unaligned-memcpy-4.c (src, dst): Initialize
to ensure alignment.
* gcc.target/arm/unaligned-memcpy-3.c (src): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200019 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/unaligned-memcpy-3.c
gcc/testsuite/gcc.target/arm/unaligned-memcpy-4.c

index a341455..187f2ef 100644 (file)
@@ -1,3 +1,9 @@
+2013-06-12  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+
+       * gcc.target/arm/unaligned-memcpy-4.c (src, dst): Initialize
+       to ensure alignment.
+       * gcc.target/arm/unaligned-memcpy-3.c (src): Likewise.
+
 2013-06-12  Tobias Burnus  <burnus@net-b.de>
 
        * gfortran.dg/finalize_10.f90: Update scan-tree-dump.
index 9e2d164..d0b09bd 100644 (file)
@@ -4,7 +4,7 @@
 
 #include <string.h>
 
-char src[16];
+char src[16] = {0};
 
 void aligned_src (char *dest)
 {
index 4708c51..830e22e 100644 (file)
@@ -4,8 +4,8 @@
 
 #include <string.h>
 
-char src[16];
-char dest[16];
+char src[16] = { 0 };
+char dest[16] = { 0 };
 
 void aligned_both (void)
 {