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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr33648.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* PR rtl-optimization/33648 */
2
/* { dg-do compile } */
3
/* { dg-require-effective-target freorder } */
4
/* { dg-options "-O2 -fmodulo-sched -freorder-blocks-and-partition" } */
5
 
6
unsigned res;
7
 
8
void
9
foo (unsigned code, int len)
10
{
11
  int i;
12
  for (i = 0; i < len; i++)
13
    res |= code & 1;
14
}

powered by: WebSVN 2.1.0

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