More fold_negate in match.pd
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr80898.c
blobed88f2cbd1a708a67ab635b90f7de4537fa530ff
1 /* { dg-do run } */
2 /* { dg-options "-O2" } */
4 struct S0 {
5 int f0 : 24;
6 int f1;
7 int f74;
8 } a, *c = &a;
9 struct S0 fn1() {
10 struct S0 b = {4, 3};
11 return b;
14 int main() {
15 *c = fn1();
17 if (a.f1 != 3)
18 __builtin_abort ();
19 return 0;