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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr42963.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-cfg" } */
3
extern void foo (void);
4
extern int i;
5
void
6
bar (void)
7
{
8
  switch (i)
9
    {
10
    case 0:
11
      foo ();
12
      break;
13
    case 1:
14
      break;
15
    }
16
 
17
 
18
  switch (i)
19
    {
20
    case 0:
21
      foo ();
22
      break;
23
    case 1:
24
      break;
25
    }
26
}
27
/* { dg-final { scan-tree-dump-times "case 1:" 0 "cfg" } } */
28
/* { dg-final { cleanup-tree-dump "cfg" } } */

powered by: WebSVN 2.1.0

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