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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [vrp16.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-vrp1-details" } */
3
 
4
 
5
extern void abort (void) __attribute__ ((__noreturn__));
6
struct rtx_def;
7
typedef struct rtx_def *rtx;
8
struct rtx_def
9
{
10
  int code;
11
};
12
int
13
nonlocal_mentioned_p (rtx x)
14
{
15
  if (x->code == 6 || x->code == 7)
16
    if (x->code == 7)
17
      if (x->code != 7)
18
        abort ();
19
}
20
 
21
/* { dg-final { scan-tree-dump-times "Folding predicate .*to 0" 1 "vrp1" } } */
22
/* { dg-final { cleanup-tree-dump "vrp1" } } */
23
 

powered by: WebSVN 2.1.0

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