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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20040109-1.c] - Blame information for rev 859

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

Line No. Rev Author Line
1 297 jeremybenn
/* PR target/13380.
2
   On m32r, the condition code register, (reg:SI 17), was replaced with
3
   a pseudo reg, which would cause an unrecognized insn.  */
4
 
5
void
6
foo (unsigned int a, unsigned int b)
7
{
8
  if (a > b)
9
    {
10
      while (a)
11
        {
12
          switch (b)
13
            {
14
            default:
15
              a = 0;
16
            case 2:
17
              a = 0;
18
            case 1:
19
              a = 0;
20
            case 0:
21
              ;
22
            }
23
        }
24
    }
25
}

powered by: WebSVN 2.1.0

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