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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20020927-1.c] - Blame information for rev 774

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

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