diff options
Diffstat (limited to 'utils/tc')
| -rw-r--r-- | utils/tc/gc.h | 2 | ||||
| -rw-r--r-- | utils/tc/peep.c | 2 | ||||
| -rw-r--r-- | utils/tc/sgen.c | 6 | ||||
| -rw-r--r-- | utils/tc/swt.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/utils/tc/gc.h b/utils/tc/gc.h index e61a1967..a4135374 100644 --- a/utils/tc/gc.h +++ b/utils/tc/gc.h @@ -267,7 +267,7 @@ void gpseudo(int, Sym*, Node*); int swcmp(const void*, const void*); void doswit(Node*); void swit1(C1*, int, long, Node*); -void cas(void); +void casf(void); void bitload(Node*, Node*, Node*, Node*, Node*); void bitstore(Node*, Node*, Node*, Node*, Node*); long outstring(char*, long); diff --git a/utils/tc/peep.c b/utils/tc/peep.c index e53b0cdd..c94a3e41 100644 --- a/utils/tc/peep.c +++ b/utils/tc/peep.c @@ -635,7 +635,7 @@ copyu(Prog *p, Adr *v, Adr *s) return 3; return 0; } - return 0; + /* not reached */ } int diff --git a/utils/tc/sgen.c b/utils/tc/sgen.c index d76de7de..ea5fba44 100644 --- a/utils/tc/sgen.c +++ b/utils/tc/sgen.c @@ -175,7 +175,7 @@ loop: if(cases == C) diag(n, "case/default outside a switch"); if(l == Z) { - cas(); + casf(); cases->val = 0; cases->def = 1; cases->label = pc; @@ -186,7 +186,7 @@ loop: goto rloop; if(l->op == OCONST) if(typechl[l->type->etype]) { - cas(); + casf(); cases->val = l->vconst; cases->def = 0; cases->label = pc; @@ -210,7 +210,7 @@ loop: cn = cases; cases = C; - cas(); + casf(); sbc = breakpc; breakpc = pc; diff --git a/utils/tc/swt.c b/utils/tc/swt.c index 1ded1e5c..04d879c2 100644 --- a/utils/tc/swt.c +++ b/utils/tc/swt.c @@ -89,7 +89,7 @@ swit1(C1 *q, int nc, long def, Node *n) } void -cas(void) +casf(void) { Case *c; |
