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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [loop-9.c] - Blame information for rev 297

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

Line No. Rev Author Line
1 297 jeremybenn
/* Source: Neil Booth, from PR # 115.  */
2
 
3
int false()
4
{
5
  return 0;
6
}
7
 
8
extern void abort (void);
9
 
10
int main (int argc,char *argv[])
11
{
12
  int count = 0;
13
 
14
  while (false() || count < -123)
15
    ++count;
16
 
17
  if (count)
18
    abort ();
19
 
20
  return 0;
21
}

powered by: WebSVN 2.1.0

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