blob: 719f528c2c04d034d8b7a00d28adfbed57dad2e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
/* { dg-do compile } */
extern int baz ();
extern void bar (void);
extern void noret (void) __attribute__ ((__noreturn__));
void
fix_register (const char *name, int fixed, int call_used, int nregs)
{
int i;
int reg;
if ((reg = baz ()) >= 0)
{
for (i = reg; i < nregs; i++)
{
if ((i == 15 || i == 11) && (fixed == 0 || call_used == 0))
{
switch (fixed)
{
case 0:
switch (call_used)
{
case 1:
bar ();
break;
default:
(noret ());
}
case 1:
switch (call_used)
{
case 1:
break;
case 0:
default:
(noret ());
}
break;
default:
(noret ());
}
}
}
}
}
|