Add execution tests of ARM EXT intrinsics
[official-gcc.git] / gcc / testsuite / g++.dg / tree-ssa / pr28003.C
blobff260bcf4b47484aff3ea5152327c544b43527f3
1 // PR tree-optimization/28003
2 // Alias grouping needs to be computed after call clobbering, because it
3 // changes around the tags and variables in a way that makes our
4 // call clobbering computation incorrect.
5 // { dg-do run }
6 // { dg-options "-O2" }
7 extern "C" void abort(void);
8 struct A
10   int i, j[9];
11   A() : i(1) { j[0]=j[1]=j[2]=j[3]=j[4]=j[5]=j[6]=j[7]=j[8]=0; }
14 struct B
16   A a;
19 B b[] =
21   {}, {}, {}, {}, {}, {}, {}, {}, {}, {},
22   {}, {}, {}, {}, {}, {}, {}, {}, {}, {},
23   {}, {}, {}, {}, {}
26 int main()
28   if (1 - b[sizeof(b)/sizeof(B) - 1].a.i != 0)
29     abort();
30   return 0;