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

Subversion Repositories openrisc

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

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

Rev 297 Rev 338
/* PR tree-optimization/38807 */
/* PR tree-optimization/38807 */
 
 
int
int
baz (short x)
baz (short x)
{
{
  return x;
  return x;
}
}
 
 
int a, b;
int a, b;
 
 
int
int
bar (int x)
bar (int x)
{
{
  if (baz (a ^ x ^ a))
  if (baz (a ^ x ^ a))
    return b;
    return b;
  return 0;
  return 0;
}
}
 
 
int
int
foo (void)
foo (void)
{
{
  return bar (a == 0 || 1 == 1 - a) ? 1 : bar (1 && a);
  return bar (a == 0 || 1 == 1 - a) ? 1 : bar (1 && a);
}
}
 
 

powered by: WebSVN 2.1.0

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