ref: 3421169ce3c39355690ad27754764dff1e76af2a
parent: 876c748841b7c52b69953dcd5b49016414a3aae4
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Mon May 11 06:14:28 EDT 2015
Remove npromote variable This variable doesn't make sense anymore, because the optimizer in cc2 already try to remove the promotions when they are not needed.
--- a/cc1/expr.c
+++ b/cc1/expr.c
@@ -18,10 +18,7 @@
{
Type *tp;
uint8_t r;
- extern uint8_t npromote;
- if (npromote)
- return np;
tp = np->type;
r = tp->n.rank;
if (r > RANK_UINT || tp == inttype || tp == uinttype)
--- a/cc1/main.c
+++ b/cc1/main.c
@@ -11,7 +11,7 @@
extern void ikeywords(void), lexfile(char *file);
-uint8_t npromote, warnings;
+uint8_t warnings;
jmp_buf recover;
static char *output;