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.0rc2/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [vrp30.c] - Blame information for rev 384

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do link } */
2
/* { dg-options "-O2" } */
3
 
4
extern int link_error (int);
5
 
6
int tst2 (int x, int y)
7
{
8
  /* VRP should be able to extract range information for
9
     x and y out of this TRUTH_AND_EXPR.  */
10
  if ((x > 5555) && (y < 6666))
11
    {
12
      if (x > 5555)
13
        if (y < 6666)
14
          return 1111;
15
        else
16
          return link_error (2222);
17
      else
18
        if (y < 6666)
19
          return link_error (3333);
20
        else
21
          return link_error (4444);
22
    }
23
  else
24
    return 0;
25
}
26
 
27
int main()
28
{
29
  return 0;
30
}

powered by: WebSVN 2.1.0

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