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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.dg/] [pr28121.c] - Diff between revs 298 and 338

Only display areas with differences | Details | Blame | View Log

Rev 298 Rev 338
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-options "-O2" } */
 
 
short
short
GetCmd ()
GetCmd ()
{
{
  int c, c1;
  int c, c1;
  for (c = 255; c == 255;)
  for (c = 255; c == 255;)
    {
    {
      c = GetMouseButton ();
      c = GetMouseButton ();
      if (c >= 0)
      if (c >= 0)
        {
        {
          c = ParsePos (c, -1, 0);
          c = ParsePos (c, -1, 0);
          c1 = ParsePos (c1, c, 1);
          c1 = ParsePos (c1, c, 1);
          if (c == c1 && (c >= 0 || c == -10))
          if (c == c1 && (c >= 0 || c == -10))
            {
            {
              return c;
              return c;
            }
            }
          if (c >= 0 && c1 == -12)
          if (c >= 0 && c1 == -12)
            {
            {
              return ((((((10) + 1) + 1)) + 1) << 7) | c;
              return ((((((10) + 1) + 1)) + 1) << 7) | c;
            }
            }
          c = 255;
          c = 255;
        }
        }
    }
    }
}
}
 
 
 
 

powered by: WebSVN 2.1.0

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