Home
last modified time | relevance | path

Searched refs:switch_stack (Results 1 – 4 of 4) sorted by relevance

/openbsd/gnu/usr.bin/gcc/gcc/
H A Dc-typeck.c7181 static struct c_switch *switch_stack; variable
7223 cs->next = switch_stack;
7224 switch_stack = cs;
7226 return add_stmt (switch_stack->switch_stmt);
7238 if (switch_stack)
7240 label = c_add_case_label (switch_stack->cases,
7241 SWITCH_COND (switch_stack->switch_stmt),
7259 struct c_switch *cs = switch_stack; in c_finish_case()
7264 switch_stack = switch_stack->next; in c_finish_case()
H A DChangeLog.48309 (switch_stack): New variable.
/openbsd/gnu/gcc/gcc/cp/
H A Ddecl.c2611 static struct cp_switch *switch_stack; variable
2621 p->next = switch_stack; in push_switch()
2624 switch_stack = p; in push_switch()
2630 struct cp_switch *cs = switch_stack; in pop_switch()
2644 switch_stack = switch_stack->next; in pop_switch()
2668 cond = SWITCH_STMT_COND (switch_stack->switch_stmt); in finish_case_label()
2672 if (!check_switch_goto (switch_stack->level)) in finish_case_label()
2675 r = c_add_case_label (switch_stack->cases, cond, TREE_TYPE (cond), in finish_case_label()
/openbsd/gnu/usr.bin/gcc/gcc/cp/
H A Ddecl.c5505 static struct cp_switch *switch_stack; variable
5517 p->next = switch_stack;
5520 switch_stack = p;
5528 cs = switch_stack; in pop_switch()
5530 switch_stack = switch_stack->next; in pop_switch()
5545 if (! switch_stack)
5568 cond = SWITCH_COND (switch_stack->switch_stmt);
5572 r = c_add_case_label (switch_stack->cases, cond, low_value, high_value);
5576 check_switch_goto (switch_stack->level);