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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-options "-O0" } */
2
/* { dg-do compile } */
3
 
4
extern unsigned foo (void);
5
extern void bar (void);
6
 
7
__attribute__ ((optimize ("O2")))
8
void bak ()
9
{
10
  unsigned a;
11
  while (1)
12
    {
13
      a = foo ();
14
      while (a)
15
        {
16
          a &= 1;
17
          bar ();
18
        }
19
    }
20
}

powered by: WebSVN 2.1.0

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