ref: 3ebba91c4cc5aff7a1757f0c6b54928ca87fecb8
parent: 193ddab783899d6a84e9dc0afd3f2ee7af2fcdb2
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Tue May 19 06:49:13 EDT 2015
Fix decay() typo Type *tp = tp->type was a correct expression, but a non logical one.
--- a/cc1/expr.c
+++ b/cc1/expr.c
@@ -108,7 +108,7 @@
static Node *
decay(Node *np)
{
- Type *tp = tp->type;
+ Type *tp = np->type;
if (tp->op == ARY)
tp = tp->type;