ref: 0913d2792e7acc50bd4a861322e28133a9807124
parent: 9be3c2347c94f2d6a1bd5597a52c03aa02f1c535
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Tue Feb 21 15:38:10 EST 2017
[cc1] Remove old bits from anciant times Once upon a time when it was a requirement to be able to run this compiler in a z80 system, and some types were used to allow an eficient program for that architecture.
--- a/cc1/cc1.h
+++ b/cc1/cc1.h
@@ -438,7 +438,7 @@
/* expr.c */
extern Node *decay(Node *), *negate(Node *np), *assign(void);
-extern Node *convert(Node *np, Type *tp1, char iscast);
+extern Node *convert(Node *np, Type *tp1, int iscast);
extern Node *constexpr(void), *condexpr(int neg), *expr(void);
extern int isnodecmp(int op);
extern int negop(int op);
--- a/cc1/expr.c
+++ b/cc1/expr.c
@@ -237,7 +237,7 @@
}
Node *
-convert(Node *np, Type *newtp, char iscast)
+convert(Node *np, Type *newtp, int iscast)
{
Type *oldtp = np->type;