repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
RISC-V: Add support for riscv-*-*.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20031031-2.c
blob
d69dc75cad80d67f15b5d4f282009959aa618563
1
/* PR/10239 */
2
3
enum
node_type
4
{
5
INITIAL
=
0
,
FREE
,
6
PRECOLORED
,
7
SIMPLIFY
,
SIMPLIFY_SPILL
,
SIMPLIFY_FAT
,
FREEZE
,
SPILL
,
8
SELECT
,
9
SPILLED
,
COALESCED
,
COLORED
,
10
LAST_NODE_TYPE
11
};
12
13
inline
void
14
put_web
(
enum
node_type type
)
15
{
16
switch
(
type
)
17
{
18
case
INITIAL
:
19
case
FREE
:
20
case
FREEZE
:
21
case
SPILL
:
22
foo
();
23
break
;
24
case
PRECOLORED
:
25
bar
();
26
break
;
27
default
:
28
baz
();
29
}
30
}
31
32
void
33
reset_lists
()
34
{
35
put_web
(
INITIAL
);
36
}