2018-06-05 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr71280.c
blob496e3d269ed705a16ea2aa26db0a57562c8f458d
1 /* PR tree-optimization/71280 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 extern char v[];
7 int
8 foo ()
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;