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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [pr43562.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 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.