diff options
| author | forsyth <forsyth@vitanuova.com> | 2010-04-27 12:51:13 +0100 |
|---|---|---|
| committer | forsyth <forsyth@vitanuova.com> | 2010-04-27 12:51:13 +0100 |
| commit | d67b7dad77bb8aa973dad1f7c3ab0c309b114278 (patch) | |
| tree | 6794120fb327d6de19cf05eed53f80d877781a3e /utils/0c | |
| parent | 09da2e137d5eb0c940df35d989e4c31ec0654fc4 (diff) | |
20100427-1251
Diffstat (limited to 'utils/0c')
| -rw-r--r-- | utils/0c/gc.h | 2 | ||||
| -rw-r--r-- | utils/0c/peep.c | 2 | ||||
| -rw-r--r-- | utils/0c/sgen.c | 6 | ||||
| -rw-r--r-- | utils/0c/swt.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/utils/0c/gc.h b/utils/0c/gc.h index 88196aec..23f0bdd9 100644 --- a/utils/0c/gc.h +++ b/utils/0c/gc.h @@ -258,7 +258,7 @@ void gpseudo(int, Sym*, Node*); int swcmp(const void*, const void*); void doswit(Node*); void swit1(C1*, int, long, Node*, 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/0c/peep.c b/utils/0c/peep.c index a7a60403..0ab12696 100644 --- a/utils/0c/peep.c +++ b/utils/0c/peep.c @@ -570,7 +570,7 @@ copyu(Prog *p, Adr *v, Adr *s) return 3; return 0; } - return 0; + /* not reached */ } int diff --git a/utils/0c/sgen.c b/utils/0c/sgen.c index eb562e8f..608846cc 100644 --- a/utils/0c/sgen.c +++ b/utils/0c/sgen.c @@ -154,7 +154,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; @@ -165,7 +165,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; @@ -189,7 +189,7 @@ loop: cn = cases; cases = C; - cas(); + casf(); sbc = breakpc; breakpc = pc; diff --git a/utils/0c/swt.c b/utils/0c/swt.c index 38cd3d43..2e24fedd 100644 --- a/utils/0c/swt.c +++ b/utils/0c/swt.c @@ -93,7 +93,7 @@ swit1(C1 *q, int nc, long def, Node *n, Node *tn) } void -cas(void) +casf(void) { Case *c; |
