aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>2013-06-17 09:34:21 +0000
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>2013-06-17 09:34:21 +0000
commit3fa82826b3928ecfb304d0a96faec7c4c07b62a3 (patch)
treeaf031511ccee09f1a8d96a9f1108b21fd0937cc5 /gcc
parentfa86f4f91765f138deaa410038fd9b58ec605560 (diff)
downloadgcc-3fa82826b3928ecfb304d0a96faec7c4c07b62a3.zip
gcc-3fa82826b3928ecfb304d0a96faec7c4c07b62a3.tar.gz
gcc-3fa82826b3928ecfb304d0a96faec7c4c07b62a3.tar.bz2
unaligned-memcpy-2.c (dest): Initialize to ensure alignment.
gcc/testsuite/ 2013-06-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * gcc.target/arm/unaligned-memcpy-2.c (dest): Initialize to ensure alignment. From-SVN: r200148
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.target/arm/unaligned-memcpy-2.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index de77b77..e6dadfd 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2013-06-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ * gcc.target/arm/unaligned-memcpy-2.c (dest): Initialize to
+ ensure alignment.
+
2013-06-16 Balaji V. Iyer <balaji.v.iyer@intel.com>
* c-c++-common/cilk-plus/AN/if_test.c (main2): Fixed a bug of accidentally
diff --git a/gcc/testsuite/gcc.target/arm/unaligned-memcpy-2.c b/gcc/testsuite/gcc.target/arm/unaligned-memcpy-2.c
index f7bc2f4..1ad730d 100644
--- a/gcc/testsuite/gcc.target/arm/unaligned-memcpy-2.c
+++ b/gcc/testsuite/gcc.target/arm/unaligned-memcpy-2.c
@@ -4,7 +4,7 @@
#include <string.h>
-char dest[16];
+char dest[16] = { 0 };
void aligned_dest (char *src)
{