ref: 12ccbe2af48585937a4bc80c6e559b9617c6aac6
parent: 2f307820bc3dab666974d065749aef367982f420
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Wed Jun 15 14:04:11 EDT 2022
cc1: Don't pop context in typedef types When a function typedef type is used there isn't a new context that must be removed, so the call to popctx() must be omited.
--- a/src/cmd/cc/cc1/decl.c
+++ b/src/cmd/cc/cc1/decl.c
@@ -60,8 +60,8 @@
/* avoid non used warnings in prototypes */
while (*pars)
(*pars++)->flags |= SUSED;
+ popctx();
}
- popctx();
}
static void