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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [switch-1.c] - Blame information for rev 706

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile { target fpic } } */
2
/* { dg-options "-fpic -O2" } */
3
 
4
void f (char *s)
5
{
6
  for (;;)
7
    {
8
      int t = 6;
9
      switch (t)
10
        {
11
        case 2:
12
          *s = '2';
13
        case 6: case 4: case 3: case 1:
14
          break;
15
        }
16
    }
17
}

powered by: WebSVN 2.1.0

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