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/] [compile/] [20030125-1.c] - Blame information for rev 301

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

Line No. Rev Author Line
1 297 jeremybenn
 int count;
2
 
3
 int func(int *valp) {
4
   int val, locked = 0;
5
 
6
   while ((val = *valp) != 0) {
7
     if (count) {
8
       if (count)
9
         locked = 1;
10
       else
11
         locked = 1;
12
 
13
     if (!locked)
14
       continue;
15
     }
16
 
17
     if (!count)
18
       count--;
19
 
20
     break;
21
   }
22
 
23
   return val;
24
 }

powered by: WebSVN 2.1.0

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