1 /* PR tree-optimization/48377 */
2 /* { dg-require-effective-target non_strict_align } */
4 typedef unsigned int U __attribute__((__aligned__ (1), __may_alias__));
6 __attribute__((noinline, noclone)) unsigned int
7 foo (const char *s, int len)
9 const U *p = (const U *) s;
10 unsigned int f = len / sizeof (unsigned int), hash = len, i;
12 for (i = 0; i < f; ++i)
17 char buf[64] __attribute__((aligned (32)));
22 return foo (buf + 1, 26) != 26;
25 /* { dg-final { cleanup-tree-dump "vect" } } */