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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20001009-2.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 688 jeremybenn
int b=1;
2
int foo()
3
{
4
  int a;
5
  int c;
6
  a=0xff;
7
  for (;b;b--)
8
  {
9
    c=1;
10
    asm(""::"r"(c));
11
    c=(signed char)a;
12
  }
13
  if (c!=-1)
14
    abort();
15
  return c;
16
}
17
int main()
18
{
19
  foo();
20
  return 0;
21
}

powered by: WebSVN 2.1.0

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