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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20020710-1.c] - Rev 688

Compare with Previous | Blame | View Log

/* Red Hat bugzilla #68395
   PR middle-end/7245
   This testcase ICEd on IA-32 because shift & compare patterns
   predicates allowed any immediate, but constraints allowed only
   numbers from 1 to 31.  */
 
void foo (int *x, unsigned int y)
{
  int a = y >> -13;
  if (a)
    *x = a;
}
 

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.