Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / ext / vector2.C
blob27dabbd16ed3a5451be581814b9eb4162c6098a5
1 // PR c++/23337; caused an ICE in component_ref_field_offset
2 // { dg-options "" }
3 // { dg-options "-mmmx" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
4 typedef int vec __attribute__ ((vector_size (8)));
5 extern int bar (vec);
6 int
7 foo (int i)
9   vec a[] = { (vec) { 0, i }, (vec) { 4, 5 } };
10   return bar (a[0]) + bar (a[1]);