OSDN Git Service

PR tree-optimizations/52891
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / pr52891-1.c
1 /* PR tree-optimizations/52891 */
2
3 struct S
4 {
5   int a;
6   struct T { unsigned c : 10; } b;
7 } s;
8
9 void
10 bar (short x, short y, int **p)
11 {
12   if ((x && y) + **p)
13     while (1);
14 }
15
16 void
17 foo (int **p)
18 {
19   bar (s.a, s.b.c, p);
20 }