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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20080114-1.c] - Blame information for rev 688

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
/* PR rtl-optimization/31944 */
2
/* Origin: Aurelien Jarno <aurelien@aurel32.net> */
3
 
4
int type;
5
 
6
void stuck(int res)
7
{
8
  if (type == 1) {
9
    if (res == 0) asm volatile("");
10
  }
11
  else if (type == 0) {
12
    if (res == 0) asm volatile("" : : "i" (0));
13
  }
14
}

powered by: WebSVN 2.1.0

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