| 1 |
/* This testcase resulted in a 'unrecognizeable insn' on powerpc-linux-gnu |
| 2 |
because of a missing trunc_int_for_mode in simplify_and_const_int. */ |
| 3 |
|
| 4 |
struct display { |
| 5 |
struct disphist *hstent; |
| 6 |
int pid; |
| 7 |
int status; |
| 8 |
}; |
| 9 |
|
| 10 |
struct disphist { |
| 11 |
struct disphist *next; |
| 12 |
char *name; |
| 13 |
int startTries; |
| 14 |
unsigned rLogin:2, |
| 15 |
sd_how:2, |
| 16 |
sd_when:2, |
| 17 |
lock:1, |
| 18 |
goodExit:1; |
| 19 |
char *nuser, *npass, **nargs; |
| 20 |
}; |
| 21 |
|
| 22 |
void |
| 23 |
StartDisplay (struct display *d) |
| 24 |
{ |
| 25 |
d->pid = 0; |
| 26 |
d->status = 0; |
| 27 |
d->hstent->lock = d->hstent->rLogin = d->hstent->goodExit = |
| 28 |
d->hstent->sd_how = d->hstent->sd_when = 0; |
| 29 |
} |
| 30 |
|