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.dg/] [tree-ssa/] [vrp10.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do run } */
2
/* { dg-options "-O2" } */
3
 
4
extern void abort (void);
5
 
6
foo (int k, int j)
7
{
8
  if (k >= 10)
9
    {
10
      if (j > k)
11
        {
12
          /* We should fold this to if (0).  */
13
          if (j < 10)
14
            abort ();
15
        }
16
    }
17
 
18
  return j;
19
}
20
 
21
main()
22
{
23
  foo (10, 3);
24
  return 0;
25
}

powered by: WebSVN 2.1.0

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