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.dg/] [pr28121.c] - Blame information for rev 313

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

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
 
4
short
5
GetCmd ()
6
{
7
  int c, c1;
8
  for (c = 255; c == 255;)
9
    {
10
      c = GetMouseButton ();
11
      if (c >= 0)
12
        {
13
          c = ParsePos (c, -1, 0);
14
          c1 = ParsePos (c1, c, 1);
15
          if (c == c1 && (c >= 0 || c == -10))
16
            {
17
              return c;
18
            }
19
          if (c >= 0 && c1 == -12)
20
            {
21
              return ((((((10) + 1) + 1)) + 1) << 7) | c;
22
            }
23
          c = 255;
24
        }
25
    }
26
}
27
 

powered by: WebSVN 2.1.0

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