2014-08-01 Richard Biener <rguenther@suse.de>
PR middle-end/61762
* gcc.dg/pr61762.c: Align the string to make the testcase work
on strict-align targets.
From-SVN: r213454
+2014-08-01 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/61762
+ * gcc.dg/pr61762.c: Align the string to make the testcase work
+ on strict-align targets.
+
2014-08-01 Jakub Jelinek <jakub@redhat.com>
* c-c++-common/ubsan/align-1.c: New test.
unsigned int f()
{
- static const char string[] = "Private";
+ static const char string[] __attribute__((aligned(sizeof(int)))) = "Private";
unsigned int priv;
__builtin_memcpy(&priv, &string[0], sizeof(priv));