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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [20030922-2.c] - Blame information for rev 853

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

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O1 -fdump-tree-dom1" } */
3
 
4
struct rtx_def;
5
typedef struct rtx_def *rtx;
6
struct rtx_def
7
{
8
  int bb;
9
};
10
static int *block_to_bb;
11
static int target_bb;
12
 
13
int
14
rgn_rank (rtx insn1, rtx insn2)
15
{
16
  if (block_to_bb[insn1->bb] != block_to_bb[insn2->bb])
17
    if (block_to_bb[insn2->bb] == target_bb
18
        && block_to_bb[insn1->bb] != target_bb)
19
      return 1;
20
}
21
 
22
/* There should be two IF conditionals.  */
23
/* { dg-final { scan-tree-dump-times "if " 2 "dom1" } } */
24
/* { dg-final { cleanup-tree-dump "dom1" } } */

powered by: WebSVN 2.1.0

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