OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20020121-1.c] - Blame information for rev 856

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* 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
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.