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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr38807.c] - Blame information for rev 859

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

Line No. Rev Author Line
1 297 jeremybenn
/* PR tree-optimization/38807 */
2
 
3
int
4
baz (short x)
5
{
6
  return x;
7
}
8
 
9
int a, b;
10
 
11
int
12
bar (int x)
13
{
14
  if (baz (a ^ x ^ a))
15
    return b;
16
  return 0;
17
}
18
 
19
int
20
foo (void)
21
{
22
  return bar (a == 0 || 1 == 1 - a) ? 1 : bar (1 && a);
23
}

powered by: WebSVN 2.1.0

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