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/] [20031022-1.c] - Blame information for rev 154

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
typedef struct edge_def
5
{
6
  int z;
7
} *edge;
8
typedef struct basic_block_def
9
{
10
  edge pred;
11
} *basic_block;
12
extern struct basic_block_def entry_exit_blocks[2];
13
void
14
blah (int arf)
15
{
16
  edge e;
17
  e = (&entry_exit_blocks[1])->pred;
18
  for ( ; ;)
19
    if (arf)
20
      break;
21
  commit_edge_insertions ();
22
  e = (&entry_exit_blocks[1])->pred;
23
  foo (e);
24
}
25
 
26
/* There should be one load from entry_exit_blocks[1].pred.  */
27
/* { dg-final { scan-tree-dump-times "entry_exit_blocks.1..pred" 1 "dom1"} } */
28
/* { 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.