summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr40640.c
blob: 7dae7ca8190e226d0afdb3466ed42b825ffe0580 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
void decode_opic_address(int *);
void sim_io_printf_filtered2 (int, unsigned);
void
hw_opic_io_read_buffer(int index)
{
  unsigned reg = 0;
  decode_opic_address(&index);
  switch (index)
    {
      case 0:
	  reg = 1;
    }
  sim_io_printf_filtered2 (index, reg);
}