1 /* PR tree-optimization/71280 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
4
5 extern char v[];
6
7 int
foo()8 foo ()
9 {
10 int k = 0;
11 typedef char T[64];
12 for (int i = 0; i < 64; i++)
13 k += (*(T *) &v[0])[i];
14 return k;
15 }
16