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.c-torture/] [compile/] [20020927-1.c] - Blame information for rev 301

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

Line No. Rev Author Line
1 297 jeremybenn
/* PR optimization/7520 */
2
/* ICE at -O3 on x86 due to register life problems caused by
3
   the return-without-value in bar.  */
4
 
5
int
6
foo ()
7
{
8
  int i;
9
  long long int j;
10
 
11
  while (1)
12
    {
13
      if (j & 1)
14
        ++i;
15
      j >>= 1;
16
      if (j)
17
        return i;
18
    }
19
}
20
 
21
int
22
bar ()
23
{
24
  if (foo ())
25
    return;
26
}

powered by: WebSVN 2.1.0

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