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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* PR tree-optimization/25485
2
   VRP did not fold TRUTH_AND_EXPR.  Make sure it does now.  */
3
 
4
/* { dg-options "-O2 -fdump-tree-vrp1" } */
5
 
6
int
7
foo (int a, int b)
8
{
9
  if (a > 50)
10
    return 19;
11
  if (a > 63 && b < 50)
12
    return 17;
13
  return 31;
14
}
15
 
16
/* { dg-final { scan-tree-dump-times "if" 1 "vrp1"} } */
17
/* { dg-final { cleanup-tree-dump "vrp1" } } */

powered by: WebSVN 2.1.0

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