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/] [execute/] [20020916-1.c] - Blame information for rev 298

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

Line No. Rev Author Line
1 297 jeremybenn
/* Distilled from try_pre_increment in flow.c.  If-conversion inserted
2
   new instructions at the wrong place on ppc.  */
3
 
4
int foo(int a)
5
{
6
  int x;
7
  x = 0;
8
  if (a > 0) x = 1;
9
  if (a < 0) x = 1;
10
  return x;
11
}
12
 
13
int main()
14
{
15
  if (foo(1) != 1)
16
    abort();
17
  return 0;
18
}
19
 

powered by: WebSVN 2.1.0

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