ref: 2cede128ae54993e1c32c10ac45f91b71428cd4b
parent: 7be77a80b5c66e2627f4ceab4b0b62e6755e302b
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Thu Oct 9 13:13:28 EDT 2014
Fix definition of register variables The logic of the variable isfun was inverted.
--- a/cc1/decl.c
+++ b/cc1/decl.c
@@ -443,7 +443,7 @@
do {
sym = declarator(tp, ID_EXPECTED);
sym->s.isdefined = 1;
- isfun = sym->type->op != FTN;
+ isfun = sym->type->op == FTN;
switch (sclass) {
case TYPEDEF:
--
⑨