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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20020710-1.c] - Diff between revs 149 and 154

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

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

powered by: WebSVN 2.1.0

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