Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.c-torture / execute / builtins / 20010124-1.c
blob816287344e4dedb0660048c61a117ac78e5d1a4a
1 /* Verify that structure return doesn't invoke memcpy on
2 overlapping objects. */
4 extern void abort (void);
6 struct S {
7 char stuff[1024];
8 };
10 union U {
11 struct {
12 int space;
13 struct S s;
14 } a;
15 struct {
16 struct S s;
17 int space;
18 } b;
21 struct S f(struct S *);
22 void g(union U *);
24 void main_test(void)
26 union U u;
27 u.b.s = f(&u.a.s);
28 u.a.s = f(&u.b.s);
29 g(&u);