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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [lto/] [20100423-2_1.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 689 jeremybenn
typedef unsigned char uch;
2
uch inbuf[8];
3
extern unsigned insize;
4
unsigned inptr;
5
int to_stdout = 0;
6
int force = 0;
7
extern int fill_inbuf (int);
8
int get_method(int in)
9
{
10
  char magic[2];
11
  if (force && to_stdout)
12
    magic[0] = (char)(inptr < insize ? inbuf[inptr++] : fill_inbuf(1));
13
  else
14
    magic[1] = (char)(inptr < insize ? inbuf[inptr++] : fill_inbuf(0));
15
}
16
int main()
17
{
18
  return 0;
19
}
20
 

powered by: WebSVN 2.1.0

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