More fold_negate in match.pd
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr80622.c
blob96dcb8fcdc04b7dfb3e6e936ca8cf4ea2089f370
1 /* { dg-do run } */
2 /* { dg-options "-O" } */
4 struct S { int d; char e; int f; char g; } a;
5 char c;
7 int
8 main ()
10 struct S b[][1] = {3, 0, 3, 4, 3, 0, 3, 4, 3, 0, 3, 4, 3, 0, 3, 4, 3,
11 0, 3, 4, 3, 0, 3, 4, 3, 0, 3, 4, 3, 0, 3, 4, 3, 0,
12 3, 4, 3, 4, 7, 7, 3, 5, 0, 3, 4, 7, 7, 3, 5, 0, 3,
13 4, 3, 4, 7, 7, 3, 5, 0, 3, 4, 7, 7, 3, 5, 0, 3, 4};
14 a = b[4][0];
15 c = b[4][0].e;
16 if (a.g != 4)
17 __builtin_abort ();
18 return 0;