2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr43107.c
blob879652931167ef5068e718ee46633abe3e5ab16f
1 /* PR target/43107 */
2 /* { dg-do compile } */
3 /* { dg-options "-O3 -mavx" } */
5 extern void bar (float b[4][4]);
7 void
8 foo ()
10 float a[4][4], b[4][4];
11 int i, j;
12 for (i = 0; i < 4; i++)
14 for (j = 0; j < 4; j++)
15 a[i][j] = 0;
16 for (j = 0; j < 4; j++)
17 b[i][j] = a[i][j];
19 bar (b);