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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20020611-1.c] - Rev 774

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

/* PR target/6997.  Missing (set_attr "cc" "none") in sleu pattern in
   cris.md.  Testcase from hp@axis.com.  */
 
int p;
int k;
unsigned int n;
 
void x ()
{
  unsigned int h;
 
  h = n <= 30;
  if (h)
    p = 1;
  else
    p = 0;
 
  if (h)
    k = 1;
  else
    k = 0;
}
 
unsigned int n = 30;
 
main ()
{
  x ();
  if (p != 1 || k != 1)
    abort ();
  exit (0);
}
 

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.