OSDN Git Service

Backported from mainline
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / 20071027-1.c
1 /* PR tree-optimization/33856 */
2 /* Testcase by Martin Michlmayr <tbm@cyrius.com> */
3
4 typedef struct z_key
5 {
6   int key;
7   int mask;
8 } z_key;
9 typedef struct picture_size
10 {
11   z_key key;
12 } picture_size;
13
14 void picture_size_new (picture_size *ps)
15 {
16   z_key key;
17   ps->key = key;
18 }
19
20 void picture_sizes_load_default (picture_size *ps)
21 {
22   int i;
23   for (i = 0; i < 5; ++i)
24     picture_size_new (ps);
25 }