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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr28121.c] - Rev 801

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

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

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

powered by: WebSVN 2.1.0

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