Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr59374-1.c
blob6230ae9ca3d01d659c31dac1cdd2bf127685453f
1 /* { dg-do run } */
2 /* { dg-additional-options "-ftree-slp-vectorize" } */
4 extern void abort (void);
6 static struct X { void *a; void *b; } a, b;
8 void __attribute__((noinline))
9 foo (void)
11 void *tem = a.b;
12 a.b = (void *)0;
13 b.b = tem;
14 b.a = a.a;
17 int main()
19 a.b = &a;
20 foo ();
21 if (b.b != &a)
22 abort ();
23 return 0;