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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20001009-2.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 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.