ref: 4e16556fa4948d8dd822f7ed31d4e367514f7182
parent: 0c094f48799666e4e0c82aed4fd817f69a3f3f6e
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Thu Jan 7 14:31:44 EST 2016
Convert parithmetic() to use new type fields
--- a/cc1/expr.c
+++ b/cc1/expr.c
@@ -303,7 +303,7 @@
lp = node(OSUB, inttype, lp, rp);
return node(ODIV, inttype, lp, size);
}
- if (BTYPE(rp) != INT)
+ if (!rp->type->integer)
goto incorrect;
rp = convert(promote(rp), sizettype, 0);