OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR tree-optimization/34448
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20031031-2.c
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
}