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/] [20020715-1.c] - Blame information for rev 315

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

Line No. Rev Author Line
1 297 jeremybenn
/* PR optimization/7153 */
2
/* Verify that GCC doesn't promote a register when its
3
   lifetime is not limited to one basic block. */
4
 
5
void f(char);
6
void g(void);
7
 
8
void scale(void)
9
{
10
  int width;
11
  char bytes;
12
  char *src;
13
 
14
  if (width)
15
  {
16
    bytes = *src;
17
    g();
18
    width *= bytes;
19
  }
20
 
21
  f(bytes);
22
}

powered by: WebSVN 2.1.0

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