summaryrefslogtreecommitdiff
path: root/utils/5c
diff options
context:
space:
mode:
authorforsyth <forsyth@vitanuova.com>2010-04-27 12:51:13 +0100
committerforsyth <forsyth@vitanuova.com>2010-04-27 12:51:13 +0100
commitd67b7dad77bb8aa973dad1f7c3ab0c309b114278 (patch)
tree6794120fb327d6de19cf05eed53f80d877781a3e /utils/5c
parent09da2e137d5eb0c940df35d989e4c31ec0654fc4 (diff)
20100427-1251
Diffstat (limited to 'utils/5c')
-rw-r--r--utils/5c/gc.h2
-rw-r--r--utils/5c/peep.c2
-rw-r--r--utils/5c/sgen.c6
-rw-r--r--utils/5c/swt.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/utils/5c/gc.h b/utils/5c/gc.h
index 1231ac31..cbaf7a87 100644
--- a/utils/5c/gc.h
+++ b/utils/5c/gc.h
@@ -266,7 +266,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/5c/peep.c b/utils/5c/peep.c
index ba22e40d..25e5a118 100644
--- a/utils/5c/peep.c
+++ b/utils/5c/peep.c
@@ -1091,7 +1091,7 @@ copyu(Prog *p, Adr *v, Adr *s)
return 3;
return 0;
}
- return 0;
+ /* not reached */
}
int
diff --git a/utils/5c/sgen.c b/utils/5c/sgen.c
index b20865d9..e5d48eeb 100644
--- a/utils/5c/sgen.c
+++ b/utils/5c/sgen.c
@@ -174,7 +174,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;
@@ -185,7 +185,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;
@@ -209,7 +209,7 @@ loop:
cn = cases;
cases = C;
- cas();
+ casf();
sbc = breakpc;
breakpc = pc;
diff --git a/utils/5c/swt.c b/utils/5c/swt.c
index 5ee0e39f..87b34458 100644
--- a/utils/5c/swt.c
+++ b/utils/5c/swt.c
@@ -123,7 +123,7 @@ direct:
}
void
-cas(void)
+casf(void)
{
Case *c;