ref: 0860ef11851c91d24450bafb7d57b539f5dbc87d
parent: a13d12920d6d35f06ca262c50c71695af013c0d8
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu Sep 15 12:46:50 EDT 2016
[cc2] Forces the value of op in constnode() The value was set only in allocated nodes, but in nodes passed as parameters it was not set.
--- a/cc2/code.c
+++ b/cc2/code.c
@@ -85,6 +85,7 @@
{
if (!np)
np = newnode(OCONST);
+ np->op = OCONST;
np->left = NULL;
np->right = NULL;
np->type = *tp;