2013-05-06 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr51491.c
blob50aa55f7a128b660af0347ae955708579766c101
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-rtl-expand" } */
5 int g(int*);
7 int f(void)
9 int tt = 0;
10 int t = 4;
12 int a[t];
13 tt = g(a);
14 tt += a[0];
17 int a[4];
18 tt += g(a);
19 tt += a[0];
21 return tt;
24 /* { dg-final { scan-rtl-dump-times "Partition" 1 "expand"} } */
25 /* { dg-final { cleanup-rtl-dump "expand" } } */