OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20020715-1.c] - Diff between revs 297 and 338

Only display areas with differences | Details | Blame | View Log

Rev 297 Rev 338
/* PR optimization/7153 */
/* PR optimization/7153 */
/* Verify that GCC doesn't promote a register when its
/* Verify that GCC doesn't promote a register when its
   lifetime is not limited to one basic block. */
   lifetime is not limited to one basic block. */
 
 
void f(char);
void f(char);
void g(void);
void g(void);
 
 
void scale(void)
void scale(void)
{
{
  int width;
  int width;
  char bytes;
  char bytes;
  char *src;
  char *src;
 
 
  if (width)
  if (width)
  {
  {
    bytes = *src;
    bytes = *src;
    g();
    g();
    width *= bytes;
    width *= bytes;
  }
  }
 
 
  f(bytes);
  f(bytes);
}
}
 
 

powered by: WebSVN 2.1.0

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