ref: 413a22a6e064b749973eff9083503e14e2cffd0f
parent: 60f81e0f0e9e2d5e1ef3a7c2bbfbe6f288f989f6
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Aug 12 09:47:22 EDT 2016
[cc2-qbe] Fix type of returned node in OOR The type of the node is int32type but it has not set and it was generating an abort().
--- a/cc2/arch/qbe/cgen.c
+++ b/cc2/arch/qbe/cgen.c
@@ -260,6 +260,7 @@
true = newlabel();
false = newlabel();
phi = label2node(newlabel());
+ ret->type = int32type;
tmpnode(ret);
bool(np, true, false);